You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Atri Sharma (JIRA)" <ji...@apache.org> on 2019/06/24 16:45:00 UTC

[jira] [Created] (LUCENE-8877) TopDocsCollector Should Not Depend on Priority Queue

Atri Sharma created LUCENE-8877:
-----------------------------------

             Summary: TopDocsCollector Should Not Depend on Priority Queue
                 Key: LUCENE-8877
                 URL: https://issues.apache.org/jira/browse/LUCENE-8877
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: Atri Sharma


TopDocsCollector is tightly coupled to the notion of priority queue, which is not necessarily a good abstraction to have since the collector really just needs an interface to iterate on and hold docID and score, with possibly shard indexes.

 

We should rewrite this to a more simplistic interface with priority queue being the default implementation 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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