You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by kw...@apache.org on 2018/04/26 12:52:11 UTC
lucene-solr:branch_7x: LUCENE-8276: Don't allow travel near a pole;
require a different choice of travel plane
Repository: lucene-solr
Updated Branches:
refs/heads/branch_7x e75b968a7 -> d8aa4afd4
LUCENE-8276: Don't allow travel near a pole; require a different choice of travel plane
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/d8aa4afd
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/d8aa4afd
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/d8aa4afd
Branch: refs/heads/branch_7x
Commit: d8aa4afd4a4e2770965f82e899d3310ded2fe6ff
Parents: e75b968
Author: Karl Wright <Da...@gmail.com>
Authored: Thu Apr 26 08:08:34 2018 -0400
Committer: Karl Wright <Da...@gmail.com>
Committed: Thu Apr 26 08:51:58 2018 -0400
----------------------------------------------------------------------
.../java/org/apache/lucene/spatial3d/geom/GeoComplexPolygon.java | 2 +-
.../src/test/org/apache/lucene/spatial3d/geom/GeoPolygonTest.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/d8aa4afd/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoComplexPolygon.java
----------------------------------------------------------------------
diff --git a/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoComplexPolygon.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoComplexPolygon.java
index 9170b23..9c17e8d 100644
--- a/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoComplexPolygon.java
+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoComplexPolygon.java
@@ -71,7 +71,7 @@ class GeoComplexPolygon extends GeoBasePolygon {
private final GeoPoint[] edgePoints;
private final Edge[] shapeStartEdges;
- private final static double NEAR_EDGE_CUTOFF = 0.0;
+ private final static double NEAR_EDGE_CUTOFF = -Vector.MINIMUM_RESOLUTION * 1000.0;
/**
* Create a complex polygon from multiple lists of points, and a single point which is known to be in or out of
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/d8aa4afd/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/GeoPolygonTest.java
----------------------------------------------------------------------
diff --git a/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/GeoPolygonTest.java b/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/GeoPolygonTest.java
index 0c903b6..2f8db33 100755
--- a/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/GeoPolygonTest.java
+++ b/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/GeoPolygonTest.java
@@ -1723,7 +1723,7 @@ shape:
}
@Test
- @AwaitsFix(bugUrl="https://issues.apache.org/jira/browse/LUCENE-8276")
+ //@AwaitsFix(bugUrl="https://issues.apache.org/jira/browse/LUCENE-8276")
public void testLUCENE8276_case3() {
//POLYGON((2.693381024483753E-4 -0.001073608118084019,1.5848404608659423E-4 -2.6378130512803985E-4,8.981079660799132E-4 -6.4697719116416E-4,-7.934854852157693E-5 4.193687767358618E-4,0.0 8.013660459916381E-131,-3.968797970346633E-4 3.2057826073172334E-4,2.693381024483753E-4 -0.001073608118084019))
final List<GeoPoint> points = new ArrayList<>();