You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2020/03/09 04:27:48 UTC

[GitHub] [lucene-solr] nknize commented on a change in pull request #1318: LUCENE-9263: Fix wrong transformation of distance in meters to radians in Geo3DPoint

nknize commented on a change in pull request #1318: LUCENE-9263: Fix wrong transformation of distance in meters to radians in Geo3DPoint
URL: https://github.com/apache/lucene-solr/pull/1318#discussion_r389458480
 
 

 ##########
 File path: lucene/spatial3d/src/test/org/apache/lucene/spatial3d/TestGeo3DPoint.java
 ##########
 @@ -1328,6 +1329,32 @@ public void testEncodeDecodeIsStable() throws Exception {
     }
   }
 
+  public void testDistanceQuery() throws Exception {
+    Directory dir = newDirectory();
+    RandomIndexWriter w = new RandomIndexWriter(random(), dir);
+
+    PlanetModel planetModel = PlanetModel.WGS84;
 
 Review comment:
   Can we test this with the PlanetModel randomly selected from all three (Clarke, Sphere, WGS84)?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org