diff --git a/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/PointInShapeIntersectVisitor.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/PointInShapeIntersectVisitor.java index d4e730999dc..cf94c35b2c9 100644 --- a/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/PointInShapeIntersectVisitor.java +++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/PointInShapeIntersectVisitor.java @@ -38,6 +38,11 @@ class PointInShapeIntersectVisitor implements IntersectVisitor { this.shapeBounds = shapeBounds; } + @Override + public void grow(int count) { + hits.grow(count); + } + @Override public void visit(int docID) { hits.add(docID);