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

DrillSideways throws NullPointerException for some searches

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 4.10.1
    • 4.10.4, 5.1, 6.0
    • modules/facet
    • None
    • 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

        1. LUCENE-6001.patch
          5 kB
          jane chang

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: