Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-8956

QueryRescorer sort optimization

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.3
    • Component/s: core/query/scoring
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available
    • Review Patch?:
      Yes

      Description

      This patch addresses a TODO in QueryRescorer: We should not sort the full array of the results returned from rescoring, but rather only topN, when topN is less than total hits.

       

      Made this optimization with some suggestions from Adrien Grand and Jim Ferenczi, this is my first lucene patch submission.

        Attachments

        1. LUCENE-8956.patch
          10 kB
          Paul Sanwald

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pcsanwald Paul Sanwald
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: