On Nov 9, 2007 11:40 AM, Mike Streeton <[EMAIL PROTECTED]> wrote:
> I have just tried this again using the index I built with lucene 2.1 but 
> running the test using lucene 2.2 and it works okay, so it seems to be 
> something related to an index built using lucene 2.2.

I bet you are triggering an issue in multi-level skip lists by
attempting to skipTo a target past maxDoc (which per the javadoc,
seems like it should be legal).

So a short term workaround for you might be to first test if the
target you are trying to skip to is less than maxDoc().

-Yonik

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to