[opencms-dev] SOLR - diacritics works?

Filip Kratochvil filip.kratochvil at nelasoft.cz
Tue Apr 1 00:27:17 CEST 2014


Hi all,



SOLR question: Can i use diacritics in custom _txt fields?



I specified SOLR field in XSD:

<searchsetting element="AffiliateArea/Area" searchcontent="true">

<solrfield targetfield="AffiliateArea" sourcefield="*_txt" />

</searchsetting>



Values are now indexed, but i can´t find records which includes diacritics
(Czech alphabet) e.g.:



OK

&fq=AffiliateArea_cs_txt:Jindrichuv Hradec

&fq=AffiliateArea_cs_txt:Jindrichuv



Not found

&fq=AffiliateArea_cs_txt:Jindřichův Hradec

&fq=AffiliateArea_cs_txt:Jindřichův



So index looks OK, but if i use diacritics in query, records aren´t found.
I do something wrong or it´s bug?



Thank you very much for the info ASAP.



--
S pozdravem
Filip Kratochvil
------------------------------------------------
NELASOFT Technologies, s.r.o.
Mob: +420 777 366 998
E-mail: filip.kratochvil at nelasoft.cz
Web: www.nelasoft.cz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20140401/30ad3c92/attachment.htm>


More information about the opencms-dev mailing list