Hi,
You can add the ASCIIFolding filter
(
https://lucene.apache.org/solr/guide/6_6/filter-descriptions.html#FilterDescriptions-ASCIIFoldingFilter)
to the text_general fieldType and reindex your data:
<fieldType name="text_general" class="solr.TextField"
positionIncrementGap="100">
<analyzer type="index"> <tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.LowerCaseFilterFactory"/>
<filter class="solr.ASCIIFoldingFilterFactory"/>
</analyzer>
<analyzer type="query">
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.LowerCaseFilterFactory"/>
<filter class="solr.ASCIIFoldingFilterFactory"/>
</analyzer>
</fieldType>
You can also consider using a language specific fieldType (such as
text_en if you use english) to have better query matches.
Regards,
Aurélien
> --
> You received this message because you are subscribed to the Google Groups
> "Datafari" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
datafari+u...@googlegroups.com.