Re: (Edge)NGramFilterFactory and highlight

2014-12-21 Thread Bjørn Hjelle
Mingchun, yes, that is better, and it works fine. Thank you! Bjørn On Sat, Dec 20, 2014 at 1:26 PM, Mingchun Zhao wrote: > Hi Bjørn, > > From solr4.4, the behavior of end offsets in EdgeNGramFilterFactory > was changed due to the following issue, > https://issues.apache.org/jira/browse/LUCENE-

Re: (Edge)NGramFilterFactory and highlight

2014-12-20 Thread Mingchun Zhao
Hi Bjørn, >From solr4.4, the behavior of end offsets in EdgeNGramFilterFactory was changed due to the following issue, https://issues.apache.org/jira/browse/LUCENE-3907 The related source code in this patch as below, == + if (version.onOrAfter(Version.LUCENE_44)) { +// Never u