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

A facet.query analyzed to a null Query will NPE

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.1
    • Fix Version/s: 4.4
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: