Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-14765

optimize DocList creation by skipping sort for sort-irrelevant cases

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 9.0
    • 9.1
    • None
    • None

    Description

      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.

      Attachments

        1. SOLR-16585-reproducer.patch
          0.8 kB
          Mikhail Khludnev

        Issue Links

          Activity

            People

              magibney Michael Gibney
              magibney Michael Gibney
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 14h 50m
                  14h 50m