Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
4.0, 6.0
-
None
Description
The 'query' query type, corresponding to NestedQParserPlugin, expects a query of form: "
{! ... }...". An empty q parameter, or a list of search terms causes a NullPointerException because NestedQParserPlugin.createParser receives a localParams == null, which is then used without checking in NestedQParserPlugin.QParser.parse().
Correct behaviour is currently ambiguous: throw a syntax error? or execute the query with the default parser?
Attachments
Issue Links
- relates to
-
SOLR-11501 Depending on the parser, QParser should not parse local-params
- Closed