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/02/03 16:20:00 UTC
[jira] [Commented] (LUCENE-10385) Implement Weight#count on IndexSortSortedNumericDocValuesRangeQuery.
[ https://issues.apache.org/jira/browse/LUCENE-10385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17486567#comment-17486567 ]
ASF subversion and git services commented on LUCENE-10385:
----------------------------------------------------------
Commit bade484998e2d933cdc02248ba50a9eb2e54aaa8 in lucene's branch refs/heads/main from Luca Cavanna
[ https://gitbox.apache.org/repos/asf?p=lucene.git;h=bade484 ]
LUCENE-10385: Implement Weight#count on IndexSortSortedNumericDocValuesRangeQuery (#635)
IndexSortSortedNumericDocValuesRangeQuery can implement its count method and coompute count through a binary search, the same binary search that is used to execute the query itself, whenever all the required conditions are met.
> Implement Weight#count on IndexSortSortedNumericDocValuesRangeQuery.
> --------------------------------------------------------------------
>
> Key: LUCENE-10385
> URL: https://issues.apache.org/jira/browse/LUCENE-10385
> Project: Lucene - Core
> Issue Type: Task
> Reporter: Adrien Grand
> Priority: Minor
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> This query can count matches by computing the first and last matching doc IDs using binary search.
--
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