mikemccand / stargazers-migration-test

Testing Lucene's Jira -> GitHub issues migration
0 stars 0 forks source link

Add a TopDocsCollector which does not sort by score [LUCENE-8880] #877

Open mikemccand opened 5 years ago

mikemccand commented 5 years ago

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