When the field stores offsets and positions of its terms within term vectors
(in the .tvf file), these are not specified in the file format
documentation.

But looking to the TermVectorsWriter within the writeField() method, you'll
see that if offsets and positions are required, then these are written to
(.tvf file)

Hope this w'll help you,

Samir
 

-----Message d'origine-----
De : Chris Hostetter [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi, 15. novembre 2006 19:36
À : java-dev@lucene.apache.org; [EMAIL PROTECTED]
Objet : Re: file format incosisentcy 

: There is an inconsistency between the files format page (from Lucene
: website) and the source code. It concerns the positions and offsets of
term
: vectors. It seems that documentation (website) is not up to date.
According
: to the file format page, offsets and positions are not stored! Is that
: correct?

can you cite exactly what about the fileformats doc leads you to believe
this? ... a quick search for "offsets" and "positions" finds these lines
for me...

 If the third lowest-order bit is set (0x04), term positions are stored with
the term vectors.
 If the fourth lowest-order bit is set (0x08), term offsets are stored with
the term vectors.

...and that's just to start with.

-Hoss


---------------------------------------------------------------------
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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to