My database contains fist_name as 'Sumit' and when i search it gives me result for following first_name:Sumit~0.7 / first_name:Sumits~0.7
But it does not return anything if I tried for case insensitve search like -first_name:SUMIT~0.7 / first_name:SUMit~0.7
My schema.xml contents are:
<fieldType name="custum_fuzzy_text" class="solr.TextField" omitNorms="false">
<analyzer type="index">
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.StandardFilterFactory"/>
<filter class="solr.LowerCaseFilterFactory"/>
</analyzer>
<analyzer type="query">
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.StandardFilterFactory"/>
<filter class="solr.LowerCaseFilterFactory"/>
</analyzer>
</fieldType>
Can anyone help? Am I doing something wrong? Or Do I have do something else
On wildcard and fuzzy searches, no text analysis is performed on the search word.
As no analysis is done at query time for fuzzy searches and hence the lower case filter would be applied during query time.
You would need to handle it at Client side.