Yes, there are known bugs with EdgeNGram filters. I think they are fixed in 4.4
See https://issues.apache.org/jira/browse/LUCENE-3907 On Fri, Mar 28, 2014 at 10:17 AM, Software Dev <static.void....@gmail.com> wrote: > Certainly I am not the only user experiencing this? > > On Wed, Mar 26, 2014 at 1:11 PM, Software Dev <static.void....@gmail.com> > wrote: >> Is this a known bug? >> >> On Tue, Mar 25, 2014 at 1:12 PM, Software Dev <static.void....@gmail.com> >> wrote: >>> 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 -- Regards, Shalin Shekhar Mangar.