We assume that the user cares about the underlying hits being ordered by score. This Jira explores adding a collector which does not make this guarantee, thus not using priority queue as the collection data structure. This should help with large hits case, where the heap’s rebalancing can become a bottleneck
Legacy Jira details
LUCENE-8880 by Atri Sharma (@atris) on Jun 25 2019
We assume that the user cares about the underlying hits being ordered by score. This Jira explores adding a collector which does not make this guarantee, thus not using priority queue as the collection data structure. This should help with large hits case, where the heap’s rebalancing can become a bottleneck
Legacy Jira details
LUCENE-8880 by Atri Sharma (@atris) on Jun 25 2019