You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "David Harsha (Jira)" <ji...@apache.org> on 2021/07/07 23:53:00 UTC
[jira] [Commented] (LUCENE-10022) Empty DisjunctionMaxQuery can
rewrite to MatchNoDocsQuery
[ https://issues.apache.org/jira/browse/LUCENE-10022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17376903#comment-17376903 ]
David Harsha commented on LUCENE-10022:
---------------------------------------
I attached a patch, but I'm lost in jira and can't figure out how to change the status to "Patch Available" as indicated here: https://cwiki.apache.org/confluence/display/lucene/HowToContribute#HowToContribute-Contributingyourwork
> Empty DisjunctionMaxQuery can rewrite to MatchNoDocsQuery
> ---------------------------------------------------------
>
> Key: LUCENE-10022
> URL: https://issues.apache.org/jira/browse/LUCENE-10022
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Julie Tibshirani
> Priority: Minor
> Labels: newdev
> Attachments: LUCENE-10022.patch
>
>
> It's possible to create a {{DisjunctionMaxQuery}} with no clauses. This could be rewritten to {{MatchNoDocsQuery}}, matching the approach we take for {{BooleanQuery}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org