Search code examples
solr

How to index Swedish field names in Solr


I'm indexing Swedish content into Solr, the field names are also in Swedish. But things like ä are being normalized to _ , for instance, the source field name Märkspänning_V_sv_s is getting normalized to M_rksp_nning_V_sv_s

Is there a way to get around this normalization?


Solution

  • I suggest not to use the special characters name for the field as per your requirement. Avoid it if you can, it would better.

    Its better to define the required fields manually by editing your schema.xml file. Define the appropriate field with required setting like indexed=true , stored=true, fieldType for your field etc.