You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Adrien Grand (Jira)" <ji...@apache.org> on 2020/08/04 15:18:00 UTC
[jira] [Updated] (LUCENE-9446) Boolean rewrite could remove more
MatchAllDocsQuery filters
[ https://issues.apache.org/jira/browse/LUCENE-9446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrien Grand updated LUCENE-9446:
---------------------------------
Fix Version/s: 8.7
> Boolean rewrite could remove more MatchAllDocsQuery filters
> -----------------------------------------------------------
>
> Key: LUCENE-9446
> URL: https://issues.apache.org/jira/browse/LUCENE-9446
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Julie Tibshirani
> Priority: Minor
> Fix For: 8.7
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> It seems that BooleanQuery rewrites will remove a MatchAllDocsQuery 'filter' clause only if there is at least one 'must' clause. I think we could also remove the 'filter' clause if there are no 'must' clauses, but at least one other 'filter' clause.
> This could let queries like {{#field:value #*:*}} be rewritten to {{#field:value}}.
--
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