TermA TermB TermA has position 0 and offset 0 TermB has position 1 and offset 6
Right? > -----Original Message----- > From: Grant Ingersoll [mailto:[EMAIL PROTECTED] > Sent: Dienstag, 12. Februar 2008 15:16 > To: java-user@lucene.apache.org > Subject: Re: TermPositionVector > > 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] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]