Thank you Christian,
You may be right. But in my case it goes wrong before it comes to XML.
I am logging the SolrDocument before sending to Solr:
SolrInputDocument(fields: [
item.id=ecc9c18e-4e91-4e7a-8e61-eb88472f8f0a, item.public=true, item.handle=nls/3, item.lastmodified=2017-10-16 23:18:01.117, item.submitter=e...@nomail.xx, item.deleted=false, item.collections=col_nls_2, item.communities=com_nls_1, metadata.dc.coverage.spatial=София, България, metadata.dc.creator=Карастоянов, Д.,
I am logging the SolrDocument after Solr returns it:
SolrDocument{
item.id=ecc9c18e-4e91-4e7a-8e61-eb88472f8f0a, item.public=true, item.handle=nls/3, item.lastmodified=Mon Oct 16 23:18:01 EEST 2017, item.submitter=e...@nomail.xx, item.deleted=false, item.collections=[col_nls_2], item.communities=[com_nls_1], metadata.dc.coverage.spatial=[?????, ????????], metadata.dc.creator=[???????????, ?.],
I tried querying Solr from my own standalone application - same way as DSpace does - same version of the Solr client - the result is as above.
Finally I am querying Solr from the browser and I am getting a correct response:
<arr name="metadata.dc.coverage.spatial"><str>София, България</str></arr><arr name="metadata.dc.creator"><str>Карастоянов, Д.</str></arr>
Which makes me think that there is a problem with the Solr client - either configuration missing or something wrong in this exactly version.