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

QueryRescorer sort optimization

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 8.3
    • core/query/scoring
    • None
    • New, Patch Available
    • 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 jpountz and jimczi, this is my first lucene patch submission.

      Attachments

        1. LUCENE-8956.patch
          10 kB
          Paul Sanwald

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: