Searcher Manger with support for Multi-Reader
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 68/100
Research direction
Start in lucene/core/src/java/org/apache/lucene/search/SearcherManager.java at the referenced line, where support is limited to DirectoryReader. Read the surrounding SearcherManager logic and the context in LUCENE-6087, then make the smallest change needed for MultiReader support. Done means SearcherManager accepts MultiReader as well as DirectoryReader.
Written by the indexing model from the issue text.
Description
Description
I'd like to use MultiReader inside my searcher manager, but currently there is only support for DirectoryReader. Not sure about the context for. why this was the case initially, seems specific to some desired use-case https://issues.apache.org/jira/browse/LUCENE-6087.
Anyway should be a 1-line change here: https://github.com/apache/lucene/blob/9e90fb5bf1807f1d9ccf2cabf74b3235f2431ed4/lucene/core/src/java/org/apache/lucene/search/SearcherManager.java#L125
I found a relevant stack overflow question here:
https://stackoverflow.com/questions/49817453/searchermanager-and-multireader-in-lucene
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 79
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/lucene
-
type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
type:task
Difficulty 1/5 Under an hour Newbie friendliness 76/100
-
type:enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
type:enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100