You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Nikolay Khitrin (JIRA)" <ji...@apache.org> on 2019/04/08 16:43:00 UTC

[jira] [Created] (SOLR-13380) Unwrapping boolean query consists of single MUST clause in parser

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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org