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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to