You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Vigya Sharma (Jira)" <ji...@apache.org> on 2022/02/14 23:40:00 UTC

[jira] [Commented] (LUCENE-10084) Rewrite DocValuesFieldExistsQuery to a MatchAllDocsQuery when docCount == maxDoc

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

Vigya Sharma commented on LUCENE-10084:
---------------------------------------

Hi [~jpountz], I gave this a try - https://github.com/apache/lucene/pull/677. Is this what you had in mind?

> 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: 10m
>  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: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org