Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 95772 invoked from network); 15 Nov 2006 19:23:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Nov 2006 19:23:30 -0000 Received: (qmail 84213 invoked by uid 500); 15 Nov 2006 19:23:38 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 84161 invoked by uid 500); 15 Nov 2006 19:23:38 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 84146 invoked by uid 99); 15 Nov 2006 19:23:38 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Nov 2006 11:23:38 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of samir.abdou@unine.ch designates 130.125.1.52 as permitted sender) Received: from [130.125.1.52] (HELO columba.unine.ch) (130.125.1.52) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Nov 2006 11:23:21 -0800 Received: from mail01.unine.ch [130.125.5.51] by columba.unine.ch with XWall v3.38b ; Wed, 15 Nov 2006 20:22:59 +0100 Received: from webmail.UNINE.CH ([130.125.1.20]) by mail01.UNINE.CH with Microsoft SMTPSVC(6.0.3790.1830); Wed, 15 Nov 2006 20:22:58 +0100 Received: from philosophe ([83.68.201.51]) by webmail.UNINE.CH over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Wed, 15 Nov 2006 20:22:58 +0100 Reply-To: From: "Samir Abdou" To: Subject: RE: file format incosisentcy Date: Wed, 15 Nov 2006 20:23:01 +0100 Organization: =?iso-8859-1?Q?Universit=E9_de_Neuch=E2tel?= Message-ID: <000901c708eb$77721350$0200a8c0@philosophe> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Thread-Index: AccI5O57F9bEaBC0QfmR1S14pTalIAABWwgA In-Reply-To: X-OriginalArrivalTime: 15 Nov 2006 19:22:58.0402 (UTC) FILETIME=[7570EC20:01C708EB] X-Virus-Checked: Checked by ClamAV on apache.org 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 =20 -----Message d'origine----- De=A0: Chris Hostetter [mailto:hossman_lucene@fucit.org]=20 Envoy=E9=A0: mercredi, 15. novembre 2006 19:36 =C0=A0: java-dev@lucene.apache.org; samir.abdou@unine.ch Objet=A0: Re: file format incosisentcy=20 : 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: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org