lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <rcm...@gmail.com>
Subject Re: feature of FST version of SynonymFilter affects Highlighter
Date Mon, 26 Dec 2011 14:58:15 GMT
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 <koji@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

Mime
View raw message