On Mon, Dec 26, 2011 at 10:54 AM, Koji Sekiguchi <k...@r.email.ne.jp> 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 snippet
> "I like <em>national</em> hockey league".
>
> But if I set luceneMatchVersion to LUCENE_33 and re-indexed,
> I got an expected result "I like <em>national hockey league</em>".
>

Thanks Koji, I'll see if I can create a test case for this later
today. SynonymFilter could have a bug with the offsets.

-- 
lucidimagination.com

Reply via email to