lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Chan" <dayz...@gmail.com>
Subject SpanScorer Out Of Bounds
Date Sun, 21 May 2006 11:37:35 GMT
Hi,

Somehow, after running many searches using instances of SpanQuery
(mostly SpanNearQuery), I get the ArrayIndexOutOfBounds exception:

"bash-2.03$ java.lang.ArrayIndexOutOfBoundsException: 2147483647
        at org.apache.lucene.search.spans.SpanScorer.score(SpanScorer.java:72)
        at org.apache.lucene.search.ConjunctionScorer.score(ConjunctionScorer.java:82)
        at org.apache.lucene.search.BooleanScorer2$2.score(BooleanScorer2.java:186)
        at org.apache.lucene.search.BooleanScorer2.score(BooleanScorer2.java:327)
        at org.apache.lucene.search.BooleanScorer2.score(BooleanScorer2.java:291)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:132)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:99)
        at org.apache.lucene.search.Hits.getMoreDocs(Hits.java:65)
        at org.apache.lucene.search.Hits.<init>(Hits.java:44)
        at org.apache.lucene.search.Searcher.search(Searcher.java:44)
        at org.apache.lucene.search.Searcher.search(Searcher.java:36)
...
<traces to my program>"

Is there a counter or something in play? Is it a cache or some sort?

Any help will be much appreciated.

Thanks.

Michael

---------------------------------------------------------------------
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