you need to change the fieldType for your field that can generate tokens using solr.EdgeNGramFilterFactory With which you can create currents, for example. abhijit will generate abh, abhi, abhij, abhiji, abhijit and therefore will match all of these combinations for your request.
with the second EdgeNGramFilterFactory, it will generate jit, ijit, hijit, bhijit, abhijit, iji, hiji, bhiji tokens, etc. and so on...
try entering the field type below
<fieldType name="text_reference" class="solr.TextField" sortMissingLast="true" omitNorms="true" positionIncrementGap="100"> <analyzer type="index"> <tokenizer class="solr.KeywordTokenizerFactory"/> <filter class="solr.LowerCaseFilterFactory"/> <filter class="solr.EdgeNGramFilterFactory" minGramSize="3" maxGramSize="50" side="front"/> <filter class="solr.EdgeNGramFilterFactory" minGramSize="3" maxGramSize="50" side="back"/> </analyzer> <analyzer type="query"> <tokenizer class="solr.KeywordTokenizerFactory"/> <filter class="solr.LowerCaseFilterFactory"/> </analyzer> </fieldType>
source share