Atri Sharma created LUCENE-8950:

             Summary: FieldComparators Should Not Maintain Implicit PQs
                 Key: LUCENE-8950
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: Atri Sharma

While doing some perf tests, I realised that FieldComparators inherently 
maintain implicit priority queues for maintaining the sorted order of documents 
for the given sort order. This is wasteful especially in the case of a multi 
feature sort order and a large number of hits requested.


We should change this to have FieldComparators maintain only the top and bottom 
values, and use them as barriers to compare

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to