lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Smiley (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-5034) A facet.query analyzed to a null Query will NPE
Date Thu, 11 Jul 2013 17:13:48 GMT
David Smiley created SOLR-5034:
----------------------------------

             Summary: A facet.query analyzed to a null Query will NPE
                 Key: SOLR-5034
                 URL: https://issues.apache.org/jira/browse/SOLR-5034
             Project: Solr
          Issue Type: Bug
          Components: SearchComponents - other
    Affects Versions: 4.3.1
            Reporter: David Smiley
            Assignee: David Smiley
             Fix For: 4.4


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.

{code}
facet.query={!field f=lengthfilt}a
{code}
lengthfilt is a field in the test schema that has a min length of 2.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message