Lucene - Core
  1. Lucene - Core
  2. LUCENE-3421

PayloadTermQuery's explain is broken when span score is not included

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: 3.5, 4.0-ALPHA
    • Component/s: core/search
    • Labels:
      None
    • Environment:

      irrelevant

    • Lucene Fields:
      New

      Description

      When setting includeSpanScore to false with PayloadTermQuery, the explain is broken.

        Activity

        Hide
        Robert Muir added a comment -

        patch, with some tests showing the bug.

        i also simplified some out of date logic here, since we already advance'd the scorer to the doc we can set this as a match always.

        Show
        Robert Muir added a comment - patch, with some tests showing the bug. i also simplified some out of date logic here, since we already advance'd the scorer to the doc we can set this as a match always.
        Hide
        Robert Muir added a comment -

        Thanks Edward!

        Show
        Robert Muir added a comment - Thanks Edward!
        Hide
        Uwe Schindler added a comment -

        Bulk close after release of 3.5

        Show
        Uwe Schindler added a comment - Bulk close after release of 3.5

          People

          • Assignee:
            Robert Muir
            Reporter:
            Edward Drapkin
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development