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

TopFieldCollector sometimes calls Scorer.score() several times on the same doc

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 5.4
    • None
    • None
    • New

    Description

      If the sort spec includes a sort field that needs scores, and if trackDocScores or trackMaxScore is set, then TopFieldCollectors may compute the score several times on the same document, once to check whether the hit is competitive, and once to update maxScore or to set the score on the ScoreDoc.

      Attachments

        1. LUCENE-6708.patch
          20 kB
          Adrien Grand

        Activity

          People

            jpountz Adrien Grand
            jpountz Adrien Grand
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: