iverase commented on PR #16061:
URL: https://github.com/apache/lucene/pull/16061#issuecomment-4440961436
```
final DocIdSetIterator psIterator =
getDocIdSetIteratorForDensePrimarySort(
context.reader(), singleton, skipper, minOrd, maxOrd);
return ConstantScoreScorerSupplier.fromIterator(
psIterator, score(), scoreMode, context.reader().maxDoc());
```
This supplier will use the cost of the iterator which will be maxDocId -
minDocId.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]