On Mon, Dec 26, 2011 at 10:54 AM, Koji Sekiguchi wrote:
> I don't have JUnit test case. What I tried was:
>
> I have indexing time synonym definition:
>
> nhl, national hockey league
>
> and I indexed "I like national hockey league".
>
> Then I searched nhl with hl=on, I got an unwanted highlight
(11/12/26 23:58), Robert Muir wrote:
The old one didn't really handle this correctly either.
Sorry, I jumped the gun! I should say offsets, not positions!
So please ignore what I quoted in javadoc in my previous mail, sorry!
Koji, what is the highlighting problem? Can we have a test case?
I
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 :
> I found that SynonymFilter javadoc says:
>
> "Matches single or multi word synonyms in a token stream.
> This token stream cannot properly handle
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/c3ed1