I have the following fieldtype in my schema:

   <fieldType name="text_edgngrm" class="solr.TextField"
positionIncrementGap="100">
<analyzer type="index">
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.LowerCaseFilterFactory"/>
<filter class="solr.EdgeNGramFilterFactory" minGramSize="3"
maxGramSize="25"/>
</analyzer>
<analyzer type="query">
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.LowerCaseFilterFactory"/>
</analyzer>
  </fieldType>

and the following field:
<field name="SellerName" type="text_edgngrm" indexed="true" stored="true"
required="true" multiValued="false" />

With the following data:
 SellerName:CARDINAL HEALTH

When I do the following search

q:SellerName:cardinal

I get back the results with SellerName: CARDINAL HEALTH (correct)

or I do the search

q:SellerName:cardinal he

I get back the results with SellerName: CARDINAL HEALTH (correct)

But when I do the search

q:SellerName:cardinal hea

I am getting the results back with SellerName:INTEGRA RADIONICS

Why is that?

I need it to continue to return the correct results with CARDINAL HEALTH.
How do I make that happen?

Thanks in advance,

Reply via email to