You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by iv...@apache.org on 2018/09/07 12:50:11 UTC
lucene-solr:branch_7x: LUCENE-8491: Adjust maxRadius to prevent
constructing circles that are too big
Repository: lucene-solr
Updated Branches:
refs/heads/branch_7x de38f8168 -> 494d9cdaa
LUCENE-8491: Adjust maxRadius to prevent constructing circles that are too big
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/494d9cda
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/494d9cda
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/494d9cda
Branch: refs/heads/branch_7x
Commit: 494d9cdaa7bb3de4084a07c756a5fb77f0189f82
Parents: de38f81
Author: iverase <iv...@apache.org>
Authored: Fri Sep 7 14:49:34 2018 +0200
Committer: iverase <iv...@apache.org>
Committed: Fri Sep 7 14:49:34 2018 +0200
----------------------------------------------------------------------
.../spatial/spatial4j/Geo3dShapeWGS84ModelRectRelationTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/494d9cda/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeWGS84ModelRectRelationTest.java
----------------------------------------------------------------------
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.java
index 94fdde9..e1234a4 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 ShapeRectRelationTestC
Geo3dSpatialContextFactory factory = new Geo3dSpatialContextFactory();
factory.planetModel = planetModel;
this.ctx = factory.newSpatialContext();
- this.maxRadius = 178;
+ this.maxRadius = 175;
((Geo3dShapeFactory)ctx.getShapeFactory()).setCircleAccuracy(1e-12);
}