lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marvin Humphrey <>
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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message