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

DrillSideways throws NullPointerException for some searches

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 4.10.1
    • Fix Version/s: 4.10.4, 5.1, 6.0
    • Component/s: modules/facet
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      For some DrillSideways searches I get NullPointerException.
      I have tracked the problem to DrillSidewaysScorer class, on line 126 in DrillSidewaysScorer.java:

      long baseQueryCost = baseScorer.cost();

      On some of my index segments, this call throws NullPoinerException.
      "baseScorer" is instance of ReqExclScorer.
      In ReqExclScorer.java:
      public long cost()

      { return reqScorer.cost(); }

      throws NullPointerException because reqScorer is null.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              djotanov Dragan Jotanovic
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: