From bf3f960e76049f3acca56e1ed8d50580dab51fb8 Mon Sep 17 00:00:00 2001 From: Karl Wright Date: Sat, 16 Apr 2016 04:07:10 -0400 Subject: [PATCH] LUCENE-7225: Fix Geo3DRelations test to use the correct measure of 'truth' in assessing relationships. --- .../lucene/spatial3d/TestGeo3DPoint.java | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/TestGeo3DPoint.java b/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/TestGeo3DPoint.java index 330a15edc40..48e7f0a851f 100644 --- a/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/TestGeo3DPoint.java +++ b/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/TestGeo3DPoint.java @@ -195,10 +195,12 @@ public class TestGeo3DPoint extends LuceneTestCase { } GeoPoint[] docs = new GeoPoint[numDocs]; + GeoPoint[] unquantizedDocs = new GeoPoint[numDocs]; for(int docID=0;docID