lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Elschot <paul.elsc...@xs4all.nl>
Subject Re: RESOLVED: help: java.lang.ArrayIndexOutOfBoundsException ScorerDocQueue.downHeap
Date Thu, 18 Dec 2008 16:54:17 GMT
Op Wednesday 17 December 2008 22:49:08 schreef 1world1love:
> Just an FYI in case anyone runs into something similar.
>
> Essentially I had indexes that I have been searching from a java
> stored procedure in Oracle without issue for awhile. All of a sudden,
> I started getting the error I alluded to above when there were more
> than a certain number of terms (4,5, or more depending on the terms
> or index). The error did not happen when I ran a query from a local
> server with the same filesystem mounted.

In that case the root cause of the error could be in the JVM running the 
stored procedure.

>
> In any case, all of my indexes checked out OK. I read through all the
> other issues related to my issue but none of the fixes did anything.
>
> However, setting BooleanQuery.setAllowDocsOutOfOrder(true); did in
> fact make the error go away. Although I understand the idea behind
> the setting, I am not sure why it made a difference in my case.

That option chooses another algorithm to search these queries, it
will only affect queries without required terms.
(The change in search algorithm is from BooleanScorer2 to 
BooleanScorer.)

Regards,
Paul Elschot

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message