Michael Gibney created SOLR-14765:
-------------------------------------

             Summary: optimize DocList creation by skipping sort for 
sort-irrelevant cases
                 Key: SOLR-14765
                 URL: https://issues.apache.org/jira/browse/SOLR-14765
             Project: Solr
          Issue Type: Improvement
    Affects Versions: master (9.0)
            Reporter: Michael Gibney


When {{rows=0}}, and for {{MatchAllDocsQuery}} and {{ConstantScoreQuery}} (and 
possibly others?), it is possible for 
{{SolrIndexSearcher.getDocListC(QueryResult, QueryCommand)}} to create a 
DocList directly from {{filterCache}} DocSets -- similar to 
{{useFilterForSortedQuery}}, but without actually sorting. 

This results in significant benefits for high-recall domains, including the 
common (and commonly-cached) use-case of {{q=\*:*}} and {{fq}}, facets, etc.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to