Nikolay Khitrin created SOLR-13380:
--------------------------------------
Summary: Unwrapping boolean query consists of single MUST clause
in parser
Key: SOLR-13380
URL: https://issues.apache.org/jira/browse/SOLR-13380
Project: Solr
Issue Type: Improvement
Security Level: Public (Default Security Level. Issues are Public)
Components: query parsers
Affects Versions: 8.0, master (9.0)
Reporter: Nikolay Khitrin
Solr query parser unwraps boolean queries with single SHOULD clause.
It works fine with OR query operator, but parser can’t unwrap single-clause
query in \{!q.op=AND} case.
I’m not familiar with edismax parser and this patch might affect it.
Single clause case looks pretty safe and existing tests were passed, but I
ought to ask for peer review not only standard parser patch, but also it effect
on edismax.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]