Hi, I'm trying to highlight based on a (multivalued) field (prefix2) that has (among other things) a EdgeNGramFilterFactory defined. highlighting doesn't increment the start-position of the highlighted portion, so in other words the highlighted portion is always the beginning of the field.
for example: for prefix2: "Orlando Verenigde Staten" the query: http://localhost:8983/solr/autocompleteCore/select?fl=prefix2,id&q=prefix2:%22ver%22&wt=xml&hl=true&&hl.fl=prefix2 returns: <em>Orl</em>ando Verenigde Staten while it should be: Orlando <em>Ver</em>enigde Staten the field def: <fieldType name="prefix_token" class="solr.TextField" positionIncrementGap="1"> <analyzer type="index"> <tokenizer class="solr.WhitespaceTokenizerFactory"/> <filter class="solr.LowerCaseFilterFactory" /> <filter class="solr.EdgeNGramFilterFactory" minGramSize="1" maxGramSize="20"/> </analyzer> <analyzer type="query"> <tokenizer class="solr.WhitespaceTokenizerFactory"/> <filter class="solr.LowerCaseFilterFactory" /> </analyzer> </fieldType> I checked that removing the EdgeNGramFilterFactory results in correct positioning of highlighting. (But then I can't search for ngrams...) What am I missing? Thanks in advance, Britske -- View this message in context: http://www.nabble.com/highlighting-on-edgeGramTokenized-field---%3E-hightlighting-incorrect-bc.-position-not-incremented..-tp23996196p23996196.html Sent from the Solr - User mailing list archive at Nabble.com.