You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/06/14 07:42:00 UTC

[jira] [Commented] (LUCENE-10608) Implement Weight#count for pure conjunctions

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

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

Commit 83461601adb08ff410c32a870cb0381b6b0857f2 in lucene's branch refs/heads/main from Adrien Grand
[ https://gitbox.apache.org/repos/asf?p=lucene.git;h=83461601adb ]

LUCENE-10608: Implement Weight#count on pure conjunctions. (#950)



> Implement Weight#count for pure conjunctions
> --------------------------------------------
>
>                 Key: LUCENE-10608
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10608
>             Project: Lucene - Core
>          Issue Type: New Feature
>            Reporter: Adrien Grand
>            Priority: Minor
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> It's common for Elasticsearch to ingest time-based data where newer segments contain recent data and older segments contain older data. On such indices, it's common for range queries on the time field to match either all of or none of the documents in the segment.
> We could implement Weight#count on pure conjunctions to take advantage of this by either returning 0 if any of the clauses has a match count of 0, or the count of the only clause that doesn't have a match count that is equal to maxDoc.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org