You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "David Smiley (Jira)" <ji...@apache.org> on 2021/01/14 05:13:00 UTC

[jira] [Commented] (SOLR-14765) optimize DocList creation by skipping sort for sort-irrelevant cases

    [ https://issues.apache.org/jira/browse/SOLR-14765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17264604#comment-17264604 ] 

David Smiley commented on SOLR-14765:
-------------------------------------

Cool optimization!  I'd be happy to review code in & around SolrIndexSearcher, as it relates to my crusade to eliminate Filter, so I'm rather familiar with the matters.

> 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
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org