[
https://issues.apache.org/jira/browse/LUCENE-10084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17494175#comment-17494175
]
ASF subversion and git services commented on LUCENE-10084:
----------------------------------------------------------
Commit a9532f32866cad79c65fb4b0f220140b69757c42 in lucene's branch
refs/heads/branch_9x from Vigya Sharma
[ https://gitbox.apache.org/repos/asf?p=lucene.git;h=a9532f3 ]
LUCENE-10084: Rewrite DocValuesFieldExistsQuery to MatchAllDocsQuery when all
docs have the field (#677)
Since all documents are required to use the same features (LUCENE-9334) we can
rewrite DocValuesFieldExistsQuery to a MatchAllDocsQuery whenever terms or
points have a docCount that is equal to maxDoc.
> Rewrite DocValuesFieldExistsQuery to a MatchAllDocsQuery when docCount ==
> maxDoc
> --------------------------------------------------------------------------------
>
> Key: LUCENE-10084
> URL: https://issues.apache.org/jira/browse/LUCENE-10084
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Adrien Grand
> Priority: Minor
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Now that we require all documents to use the same features (LUCENE-9334) we
> could rewrite DocValuesFieldExistsQuery to a MatchAllDocsQuery whenever terms
> or points have a docCount that is equal to maxDoc.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]