[ https://issues.apache.org/jira/browse/LUCENE-10456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17511561#comment-17511561 ]
Gautam Worah commented on LUCENE-10456: --------------------------------------- Thanks for the patch [~wjp719] . I added some comments. > Implement Weight#count for MultiRangeQuery > ------------------------------------------ > > Key: LUCENE-10456 > URL: https://issues.apache.org/jira/browse/LUCENE-10456 > Project: Lucene - Core > Issue Type: New Feature > Components: core/search > Reporter: jianping weng > Priority: Major > Time Spent: 50m > Remaining Estimate: 0h > > for one dimension MultiRangeQuery, we can firstly merge overlapping ranges > to have some unconnected ranges, then the doc count of this multiRangeQuery > is the sum of each doc count of these unconnected range. For each unconnected > range, we can take advantage of PointRangeQuery count() method. -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org