diff --git a/processing/src/main/java/org/apache/druid/segment/data/ImmutableRTreeObjectStrategy.java b/processing/src/main/java/org/apache/druid/segment/data/ImmutableRTreeObjectStrategy.java index c97b69f25c0..8015f79202a 100644 --- a/processing/src/main/java/org/apache/druid/segment/data/ImmutableRTreeObjectStrategy.java +++ b/processing/src/main/java/org/apache/druid/segment/data/ImmutableRTreeObjectStrategy.java @@ -63,8 +63,10 @@ public class ImmutableRTreeObjectStrategy implements ObjectStrategy points = builtTree.search(new RadiusBound( + new float[]{insidePoint[0], insidePoint[1]}, + 100, + 2, + RadiusBound.RadiusUnit.meters + )); + bf.union(points); + } + } }