lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: SpanScorer Out Of Bounds
Date Mon, 22 May 2006 14:35:17 GMT
Hi Michael,
I don't see any responses to your problem.  It's early, so you may get some, but this sounds
like a case for JIRA.
Also, please try to write and attach (to your JIRA case) a unit test that demonstrates a problem,
something we can run and debug this.  Without that we may not be able to fix this.

Otis


----- Original Message ----
From: Michael Chan <dayzman@gmail.com>
To: java-user@lucene.apache.org
Sent: Sunday, May 21, 2006 7:37:35 AM
Subject: SpanScorer Out Of Bounds

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





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