You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "jainankitk (via GitHub)" <gi...@apache.org> on 2025/04/14 06:10:20 UTC

Re: [I] TopFieldCollector mistakenly assumes that all leaves share the same index sort [lucene]

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-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org