Skip to content

Commit 2e7144b

Browse files
committed
Remove redundant assertion
1 parent 066c419 commit 2e7144b

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

lucene/sandbox/src/java/org/apache/lucene/sandbox/facet/cutters/ranges/LongRangeFacetCutter.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -332,10 +332,6 @@ abstract static class LongRangeSingleValuedLeafFacetCutter implements LeafFacetC
332332
this.boundaries = boundaries;
333333
this.pos = pos;
334334
this.skipper = skipper;
335-
// The skip path counts a dense block as one value per doc, so it's single-valued only.
336-
assert skipper == null || skipper.maxValueCount() <= 1
337-
: "skip-index fast path requires a single-valued field, got maxValueCount="
338-
+ skipper.maxValueCount();
339335
}
340336

341337
@Override

0 commit comments

Comments
 (0)