[
https://issues.apache.org/jira/browse/LUCENE-10458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17502773#comment-17502773
]
Lu Xugang edited comment on LUCENE-10458 at 3/8/22, 7:32 AM:
-------------------------------------------------------------
That is why in BoundedDocSetIdIterator#advance(int target), target need to be
check if such Document contains DocValues
{code:java}
int result = delegate.advance(target);
{code}
was (Author: chrislu):
That is why in BoundedDocSetIdIterator#advance(int target), target need to be
check if such Document contains DocValues
> BoundedDocSetIdIterator may supply error count in
> Weigth#count(LeafReaderContext) when missingValue enables
> -----------------------------------------------------------------------------------------------------------
>
> Key: LUCENE-10458
> URL: https://issues.apache.org/jira/browse/LUCENE-10458
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Lu Xugang
> Priority: Major
>
> When IndexSortSortedNumericDocValuesRangeQuery can take advantage of index
> sort, Weight#count will use BoundedDocSetIdIterator's lastDoc and firstDoc to
> calculate count, but if missingValue enables, those Documents which not
> contain DocValues may be involved in calculating count.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]