Re: term offsets info seems to be wrong...

2009-01-16 Thread Koji Sekiguchi
Mark, This is exactly what I want and It worked perfectly. Thanks! I'll post my highlighter to JIRA in a few days (hopegully). It uses term offsets with positions (WITH_POSITIONS_OFFSETS) to support PhraseQuery. Thanks again, Koji Mark Miller wrote: Okay, Koji, hopefully I'll be more luckily

Re: term offsets info seems to be wrong...

2009-01-16 Thread Mark Miller
Okay, Koji, hopefully I'll be more luckily suggesting this this time. Have you tried http://issues.apache.org/jira/browse/LUCENE-1448 yet? I am not sure if its in an applyable state, but I hope that covers your issue. On Fri, Jan 16, 2009 at 7:15 PM, Koji Sekiguchi wrote: > Hello, > > I'm writi

term offsets info seems to be wrong...

2009-01-16 Thread Koji Sekiguchi
Hello, I'm writing a highlighter by using term offsets info (yes, I borrowed the idea of LUCENE-644). In my highlighter, I'm seeing unexpected term offsets info when getting multi-valued field. For example, if I indexed [" "," bbb "] (multi-valued), I got term info bbb(7,10). This is expected