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

A facet.query analyzed to a null Query will NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.3.1
    • 4.4
    • None

    Description

      If you give a query to facet.query that analyzes down to a null Query, then it will NPE. One way this can happen is when the text analysis filters out the token.

      facet.query={!field f=lengthfilt}a
      

      lengthfilt is a field in the test schema that has a min length of 2.

      Attachments

        Activity

          People

            dsmiley David Smiley
            dsmiley David Smiley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: