Return-Path: X-Original-To: apmail-lucene-general-archive@www.apache.org Delivered-To: apmail-lucene-general-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 119B2776E for ; Tue, 4 Oct 2011 17:28:45 +0000 (UTC) Received: (qmail 84363 invoked by uid 500); 4 Oct 2011 17:28:44 -0000 Delivered-To: apmail-lucene-general-archive@lucene.apache.org Received: (qmail 84330 invoked by uid 500); 4 Oct 2011 17:28:44 -0000 Mailing-List: contact general-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@lucene.apache.org Delivered-To: mailing list general@lucene.apache.org Received: (qmail 84322 invoked by uid 99); 4 Oct 2011 17:28:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2011 17:28:44 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of uwe@thetaphi.de designates 188.138.97.18 as permitted sender) Received: from [188.138.97.18] (HELO mail.sd-datasolutions.de) (188.138.97.18) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2011 17:28:36 +0000 Received: from VEGA (port-92-196-115-146.dynamic.qsc.de [92.196.115.146]) by mail.sd-datasolutions.de (Postfix) with ESMTPSA id A700D14AA011 for ; Tue, 4 Oct 2011 17:28:16 +0000 (UTC) From: "Uwe Schindler" To: References: <4E8B40E9.9000309@gmail.com> In-Reply-To: <4E8B40E9.9000309@gmail.com> Subject: RE: Question about file format Date: Tue, 4 Oct 2011 19:28:52 +0200 Message-ID: <000b01cc82bb$16337cb0$429a7610$@thetaphi.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQGYy67XVfdf2j2Zd7jSTlEoksLKopXT3qeQ Content-Language: de X-Virus-Checked: Checked by ClamAV on apache.org Bytes since recent Lucene versions (on or after 2.4). ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: uwe@thetaphi.de > -----Original Message----- > From: Lorenzo Luengo [mailto:loluengo@gmail.com] > Sent: Tuesday, October 04, 2011 7:23 PM > To: general@lucene.apache.org > Subject: Question about file format >=20 > Hi all, >=20 > I'm trying to make my own reader for lucene files, in pure python (i haven't > found a suitable library for windows x64). And while reading docs, a question > arises. >=20 > In http://lucene.apache.org/java/3_4_0/fileformats.html#String it says that the > string is composed of an VInt and a sequence of modified UTF-8 encoded chars. > My question is: That VInt is the length of the string before encoding = or is the > number of encoded bytes? >=20 > Regards. >=20 > -- > Lorenzo Luengo C. > Ingeniero Civil Electr=F3nico > Cel: 98270385