Solr
  1. Solr
  2. SOLR-5034

A facet.query analyzed to a null Query will NPE

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development