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

Nirmal Chidambaram  updated LUCENE-9208:
----------------------------------------
    Status: Patch Available  (was: Open)

> Boolean Query with MatchNoDocs in MUST/FILTER could be rewritten
> ----------------------------------------------------------------
>
>                 Key: LUCENE-9208
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9208
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Nirmal Chidambaram 
>            Priority: Trivial
>              Labels: patch
>         Attachments: LUCENE-9208.patch
>
>
> Currently BooleanQuery rewrites to MatchNoDocs query if MUST_NOT clause 
> contains MatchAllDocs . Same approach could be applied if FILTER/MUST clauses 
> contains MatchNoDocs 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to