Hi,

we use solr 6.6 and use a quicksearch on our website. For this case we copy some data fields to an field called "schnellsuche", this worked fine a few years.

Now we want import french data with Accent-Keys, for example "thé". The user should find the same results, if he search for "thé" or "the". This a problem i can't resolve.

I use charfilter, but this doesn't help

<charFilter class="solr.MappingCharFilterFactory" mapping="mapping-ISOLatin1Accent.txt"/>


 <field name="schnellsuche" type="text_schnellsuche" indexed="true" stored="false" multiValued="true"/>

   <copyField source="articlegroup_id" dest="schnellsuche"/>
   <copyField source="tree_id" dest="schnellsuche"/>
   <copyField source="tree_bezeichnung" dest="schnellsuche"/>
   <copyField source="tree_keywords" dest="schnellsuche"/>

   <copyField source="*_txt" dest="schnellsuche"/>
   <copyField source="*_int" dest="schnellsuche"/>
   <copyField source="*_dec" dest="schnellsuche"/>

   <fieldType name="text_schnellsuche" class="solr.TextField" positionIncrementGap="100">
     <analyzer>
       <tokenizer class="solr.ClassicTokenizerFactory"/>
       <filter class="solr.ManagedSynonymFilterFactory" managed="german"  />
       <filter class="solr.LowerCaseFilterFactory"/>
       <charFilter class="solr.MappingCharFilterFactory" mapping="mapping-ISOLatin1Accent.txt"/>
     </analyzer>
   </fieldType>

Perhaps somebody can help?

Thanks
Carsten

Reply via email to