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

Two consecutive score() calls return different scores for Boolean Queries.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2
    • Component/s: core/search
    • Labels:
      None
    • Lucene Fields:
      Patch Available

      Description

      Two consecutive calls to score() return different scores (no next() or skipTo() calls in between).
      Background in LUCENE-912 .

        Issue Links

          Activity

          Hide
          doronc Doron Cohen added a comment -

          patch attached for future reference, contains:

          • Michael's fix
          • new test in QueryUtils that exposes the bug
          • some debugging improvements in QueryUtils.
          Show
          doronc Doron Cohen added a comment - patch attached for future reference, contains: Michael's fix new test in QueryUtils that exposes the bug some debugging improvements in QueryUtils.
          Hide
          doronc Doron Cohen added a comment -

          Committed, thanks Michael!

          Show
          doronc Doron Cohen added a comment - Committed, thanks Michael!

            People

            • Assignee:
              doronc Doron Cohen
              Reporter:
              doronc Doron Cohen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development