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

bad normalization in sorted search returning TopDocs

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.9
    • None
    • None

    Description

      FieldSortedHitQueue.maxscore is maintained in the lessThan method (which never gets called if a single document is added to the queue).

      I've checked in a test to TestSort.testTopDocsScores() with the final assertion commented out.

      Attachments

        Activity

          People

            yseeley@gmail.com Yonik Seeley
            yseeley@gmail.com Yonik Seeley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: