lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marvin Humphrey <mar...@rectangular.com>
Subject Re: bytecount as prefix
Date Sun, 07 May 2006 21:44:23 GMT
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


Mime
View raw message