-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Multireader Support in Searcher Manager #13976
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Multireader Support in Searcher Manager #13976
Conversation
Thanks @Shibi-bala -- I agree it's odd it was scoped to just I think Also, please revert the wildcard import ( |
Does |
To add to @vigyasharma, I have been wondering if we should remove Maybe |
This PR has not had activity in the past 2 weeks, labeling it as stale. If the PR is waiting for review, notify the [email protected] list. Thank you for your contribution! |
We could start encouraging people to use the existing re: MultiReaders, I think Lucene could provide a convenient way to refresh on the multiple sub-readers. Like a reference managed |
I hacked together a prototype impl. for a reference managed |
Description
Copied from #13975
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:
lucene/lucene/core/src/java/org/apache/lucene/search/SearcherManager.java
Line 125 in 9e90fb5
I found a relevant stack overflow question here:
https://stackoverflow.com/questions/49817453/searchermanager-and-multireader-in-lucene