[
https://issues.apache.org/jira/browse/LUCENE-2806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12968643#action_12968643
]
Shai Erera commented on LUCENE-2806:
------------------------------------
Can you please post a patch with a short test case that reproduces the bug? If
not, can you please describe the environment: index size, num docs, query used
etc.
>From TermScorer's code, the AIOOBE can be thrown if the 'freq' is larger than
>the scoreCache array size, however there is an if validating that freq is
>smaller than the array size, so I don't get it ...
> ArrayIndexOutOfBoundsException thrown from TermScorer.score while doing a
> regular index search.
> -----------------------------------------------------------------------------------------------
>
> Key: LUCENE-2806
> URL: https://issues.apache.org/jira/browse/LUCENE-2806
> Project: Lucene - Java
> Issue Type: Bug
> Components: Search
> Affects Versions: 3.0.3
> Environment: Ubuntu linux
> Reporter: Soujanya
>
> java.lang.ArrayIndexOutOfBoundsException: 51064
> org.apache.lucene.search.TermScorer.score(TermScorer.java:130)
>
> org.apache.lucene.search.TopScoreDocCollector$InOrderTopScoreDocCollector.collect(TopScoreDocCollector.java:47)
> org.apache.lucene.search.TermScorer.score(TermScorer.java:78)
> org.apache.lucene.search.TermScorer.score(TermScorer.java:70)
> org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:212)
> org.apache.lucene.search.Searcher.search(Searcher.java:67)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]