Position is just relative to other tokens
(Token.getPositionIncrement()), offsets are character offsets
(Token.startOffset(), Token.endOffset())
-Grant
On Feb 12, 2008, at 8:31 AM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote:
Hi,
could somebody please explain what the difference between positions
and
offsets is?
And: Is there a trick to show theses infos in luke?
Thank you.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------
Grant Ingersoll
http://lucene.grantingersoll.com
http://www.lucenebootcamp.com
Lucene Helpful Hints:
http://wiki.apache.org/lucene-java/BasicsOfPerformance
http://wiki.apache.org/lucene-java/LuceneFAQ
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]