[ 
https://issues.apache.org/jira/browse/SOLR-13380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nikolay Khitrin updated SOLR-13380:
-----------------------------------
    Attachment: SOLR-13380.patch

> 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
>            Priority: Minor
>         Attachments: SOLR-13380.patch
>
>
> 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to