The old one didn't really handle this correctly either. Koji, what is the highlighting problem? Can we have a test case?
2011/12/26 Koji Sekiguchi <k...@r.email.ne.jp>: > I found that SynonymFilter javadoc says: > > "Matches single or multi word synonyms in a token stream. > This token stream cannot properly handle position increments != 1" > > I think due to the feature, Highlighter doesn't work properly in some cases: > > http://www.lucidimagination.com/search/document/c3ed1e0a2b12ddfa#c3ed1e0a2b12ddfa > > https://issues.apache.org/jira/browse/SOLR-2845 > > Can we remove the restriction in some future? > > If not, I'd propose we have an option to choose SlowSynonymFilterFactory > explicitly > in schema.xml (we can choose it by setting luceneMatchVersion to 33, > but it is global). > > koji > -- > http://www.rondhuit.com/en/ -- lucidimagination.com