[ 
https://issues.apache.org/jira/browse/LUCENE-10084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17494169#comment-17494169
 ] 

ASF subversion and git services commented on LUCENE-10084:
----------------------------------------------------------

Commit c132bbf677b5eb4d3ff0acf838b4d8f2c4e0327e in lucene's branch 
refs/heads/main from Vigya Sharma
[ https://gitbox.apache.org/repos/asf?p=lucene.git;h=c132bbf ]

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: 0.5h
>  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]

Reply via email to