Same problem here: http://lucene.472066.n3.nabble.com/Solr-4-x-EdgeNGramFilterFactory-and-highlighting-td4114748.html
On Tue, Mar 25, 2014 at 9:39 AM, Software Dev <static.void....@gmail.com> wrote: > Bump > > On Mon, Mar 24, 2014 at 3:00 PM, Software Dev <static.void....@gmail.com> > wrote: >> 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