Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-1459

BoostedQuery needs to handle when its wrapped query weight returns null for the scorer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.4
    • None
    • None

    Description

      if the wrapped query matches no docs, it can return null for the scorer - if this happens, the first time nextDoc is called, BoostedQuery's CustomScorer will throw a NullPointerException on nextDoc()

      Attachments

        1. SOLR-1459.patch
          0.7 kB
          Mark Miller

        Activity

          People

            markrmiller@gmail.com Mark Miller
            markrmiller@gmail.com Mark Miller
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: