ArrayIndexOutOfBoundsException thrown from TermScorer.score while doing a regular index search. [LUCENE-2806]
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
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)
---
Migrated from [LUCENE-2806](https://issues.apache.org/jira/browse/LUCENE-2806) by Soujanya
Environment:
```
Ubuntu linux
```
Contributor guide
Research direction
Start in org.apache.lucene.search.TermScorer, especially TermScorer.java:130, using the stack trace as the entry point. Reproduce the regular index search on Ubuntu if possible and determine the conditions around the ArrayIndexOutOfBoundsException; done means the search completes without this exception and the behavior is covered by an appropriate regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100