stefanvodita opened a new pull request, #11780: URL: https://github.com/apache/lucene/pull/11780
This PR is only meant as a starting point for a conversation and not to be merged as is. It is a proposal to let users retrieve new `SortedSedDocValuesReaderState` objects after doing a refresh in a single method call to the `ReferenceManager`. The new reader states will have updated ordinal maps. Problems this solves: 1. Getting reader states that correspond to the current `IndexReader`. We ensure this by using the `refreshLock`. 2. Avoid a circular dependency from the core module on the facets module by using the `StateCalculator` functional interface. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org