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

CollapsingQParserPlugin should not run scorer for documents not eligible for collapsing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 8.0, 9.0
    • 8.1
    • search
    • None

    Description

      CollapsingQParserPlugin should not run scorer for documents not eligible for collapsing (in cases when score is not needed for collapsing operation) but only for the result sorting, decoration of result fields or boosting.

       

      Performance improvement example:

      2_000_000 documents collapsed by sort without score to 130_000 then sorted by score improved from 4300ms to 2700ms

       

      I am attaching patch on master branch. 

       

       

      Attachments

        1. SOLR-13348.patch
          21 kB
          Andrzej Wislowski

        Activity

          People

            ichattopadhyaya Ishan Chattopadhyaya
            awislowski Andrzej Wislowski
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: