
spring at gmx
Feb 12, 2008, 6:24 AM
Post #3 of 5
(226 views)
Permalink
|
TermA TermB TermA has position 0 and offset 0 TermB has position 1 and offset 6 Right? > -----Original Message----- > From: Grant Ingersoll [mailto:gsingers [at] apache] > Sent: Dienstag, 12. Februar 2008 15:16 > To: java-user [at] lucene > 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, <spring [at] gmx> <spring [at] gmx> 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: java-user-unsubscribe [at] lucene > > For additional commands, e-mail: java-user-help [at] lucene > > > > -------------------------- > 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: java-user-unsubscribe [at] lucene > For additional commands, e-mail: java-user-help [at] lucene > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe [at] lucene For additional commands, e-mail: java-user-help [at] lucene
|