[opencms-dev] searchsettings in xsd

Patric Dosch patric.dosch at virtual-identity.com
Tue Jan 3 18:23:38 CET 2017


Hey list,

we updated from OpenCms 9.0.1 to 10.5 and currently I have a different behaviour when working with searchsettings in the xsd.
Normally we try to store all information we need for sorting and displaying in the solr index.

See example for a date (to sort) or a string (to display)
<searchsetting element="SortDate" searchcontent="true">
  <solrfield targetfield="sortDate" sourcefield="*_tdt" />
</searchsetting>


<searchsetting element="Media/Image" searchcontent="true">
  <solrfield targetfield="mediaImage" sourcefield="*_s"/>
</searchsetting>



In OpenCms 9.0.1 I got so many fileds in the solr document as locale-nodes are in the resource:

<str name="mediaImage_en_s">/.images/image-en.jpg</str>
<str name="mediaImage_de_DE_s">/.images/image-de.jpg</str>
…

but with OpenCms 10.5 in the solr index only mediaImage_en_s appears.

Is someone using these settings? And have the same problem?
This is currently a big problem, because all of our searches are broken.

Regards, Patric



Patric Dosch
Senior Developer

Virtual Identity AG
Grünwälderstraße 10-14
79098 Freiburg

t +49 761 20758-442
f +49 761 20758-01


patric.dosch at virtual-identity.com
http://www.virtual-identity.com

Freiburg | München | Wien




________________________________

Virtual Identity AG
Grünwälderstraße 10-14
79098 Freiburg
Amtsgericht Freiburg, HRB 6218
Vorstand: Ralf Heller
Vorsitzende des Aufsichtsrates: Kirsten Heller
Umsatzsteuer-ID: DE208002218
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20170103/7828f38c/attachment.htm>


More information about the opencms-dev mailing list