RE: TermPositionVector

2008-02-12 Thread spring
This would be really nice! > -Original Message- > From: Andrzej Bialecki [mailto:[EMAIL PROTECTED] > Sent: Dienstag, 12. Februar 2008 16:41 > To: java-user@lucene.apache.org > Subject: Re: TermPositionVector > > [EMAIL PROTECTED] wrote: > > Hi, > >

Re: TermPositionVector

2008-02-12 Thread Andrzej Bialecki
[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? Not yet :) Funny thing, I've been thinking about adding this to Luke, but ran out of time before the last release. Perhaps I'l

RE: TermPositionVector

2008-02-12 Thread spring
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 &

Re: TermPositionVector

2008-02-12 Thread Grant Ingersoll
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

TermPositionVector

2008-02-12 Thread spring
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