Thanks Erik. For our purposes it seems more generally useful to use the
original start/end offsets.
Antony
Erik Hatcher wrote:
They aren't used implicitly by anything in Lucene, but can be very handy
for efficient highlighting. Where you set the offsets really all
depends on how you plan on using the offset values. In the synonym
example you mention, if the original word is "dog" and the user searched
for "canine", to properly highlight the word "dog" in the original text
the offsets for "canine" need to be where "dog" is.
Erik
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]