romseygeek commented on code in PR #16519:
URL: https://github.com/apache/lucene/pull/16519#discussion_r3802154136
##########
lucene/core/src/java/org/apache/lucene/document/SortedSkipperScorerSupplier.java:
##########
@@ -101,15 +100,11 @@ public final BulkScorer bulkScorer() throws IOException {
}
@Override
- public long cost() {
+ public long cost() throws IOException {
if (skipperMinDocId == -1) {
- try {
- // Similar to PointValues, IOExceptions needs to be caught and
rethrown as
- // UncheckedIOException
- computeSkipperDocIds();
- } catch (IOException e) {
- throw new UncheckedIOException(e);
- }
+ // Similar to PointValues, IOExceptions needs to be caught and rethrown
as
+ // UncheckedIOException
Review Comment:
Out-of-date comment
--
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]