Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 80359 invoked from network); 7 May 2006 21:40:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 May 2006 21:40:01 -0000 Received: (qmail 16433 invoked by uid 500); 7 May 2006 21:39:59 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 16387 invoked by uid 500); 7 May 2006 21:39:58 -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 16376 invoked by uid 99); 7 May 2006 21:39:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 May 2006 14:39:57 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [12.154.210.214] (HELO rectangular.com) (12.154.210.214) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 May 2006 14:39:57 -0700 Received: from marvin by rectangular.com with local (Exim 4.44) id 1Fcr39-0006nq-0g for java-dev@lucene.apache.org; Sun, 07 May 2006 14:44:23 -0700 Date: Sun, 7 May 2006 14:44:23 -0700 From: Marvin Humphrey To: java-dev@lucene.apache.org Subject: Re: bytecount as prefix Message-ID: <20060507214423.GA26025@rectangular.com> References: <4728322A-AD68-4388-955C-F6BED7861B6F@rectangular.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Got it. This was the problem, in TermInfosWriter.writeTerm(): - lastTerm = term; + lastBytes = bytes; } Without lastTerm being updated, the auxiliary term dictionary got screwed up. This problem only manifested on large tests because small tests never moved past the first entry, which is always a field number of -1 and an empty string. I'll post a full working patch to JIRA as soon as I'm at a location where I can connect my laptop to the net. Marvin Humphrey Rectangular Research http://www.rectangular.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org