Apache Lucene open-source search software
LUCENE-8491: Adjust maxRadius to prevent constructing circles that are too big
iverase6fbcda60a218
diff --git a/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeWGS84ModelRectRelationTest.java b/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeWGS84ModelRectRelationTest.javaindex 94fdde9db84..e1234a4ae77 100644--- a/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeWGS84ModelRectRelationTest.java+++ b/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeWGS84ModelRectRelationTest.java@@ -38,7 +38,7 @@ public class Geo3dShapeWGS84ModelRectRelationTest extends ShapeRectRelationTestCGeo3dSpatialContextFactory factory = new Geo3dSpatialContextFactory();factory.planetModel = planetModel;this.ctx = factory.newSpatialContext();- this.maxRadius = 178;+ this.maxRadius = 175;((Geo3dShapeFactory)ctx.getShapeFactory()).setCircleAccuracy(1e-12);}