In 3.5.0 we have the following.
<fieldType name="autocomplete" class="solr.TextField"
positionIncrementGap="100">
<analyzer type="index">
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.LowerCaseFilterFactory"/>
<filter class="solr.EdgeNGramFilterFactory" minGramSize="1"
maxGramSize="30"/>
</analyzer>
<analyzer type="query">
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.LowerCaseFilterFactory"/>
</analyzer>
</fieldType>
If we searched for "c" with highlighting enabled we would get back
results such as:
<em>c</em>dat
<em>c</em>rocdile
<em>c<e/m>ool beans
But in the latest Solr (4.7) we get the full words highlighted back.
Did something change from these versions with regards to highlighting?
Thanks