lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Greene" <>
Subject RE: Term offsets for highlighting
Date Tue, 27 Apr 2010 16:29:21 GMT
Thank you Koji.

Everything is now working as desired. You have been an invaluable
resource for helping to resolve this issue and I really appreciate the
time you spent reviewing this issue.

Best regards,


-----Original Message-----
From: Koji Sekiguchi [] 
Sent: Monday, April 26, 2010 10:55 AM
Subject: Re: Term offsets for highlighting

Stephen Greene wrote:
> Hi Koji,
> Thank you. I implemented a solution based on the
> and if I do a search like "iron ore" it matches iron or ore. The same
> true if I specify iron AND ore.
> The termSetMap[0].value[0] = ore and termSetMap[0].value[1] = iron.
> What am I missing in having a prhase match correctly?
> Thanks,
> Steve
Hi Steve,

Ah, I was wrong. I should say FieldPhraseList, not FieldTermStack.
Please refer to Step 3 in Algorithm section of the following Javadoc:



To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message