jainankitk commented on issue #14399: URL: https://github.com/apache/lucene/issues/14399#issuecomment-2800571535
This is an interesting issue, and as such I don't see any good solution, other than removing the cache itself. I am wondering if it is good idea for Collector to know the `List<LeafReaderContext>`, similar to `setWeight` for passing `Weight` to Collector. `TopFieldCollector` should be able to compute `searchSortPartOfIndexSort` correctly and use the information within `TopFieldLeafCollector`. -- 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