Github user dsmiley commented on a diff in the pull request:

    https://github.com/apache/lucene-solr/pull/246#discussion_r137825324
  
    --- Diff: 
lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dAreaRptTest.java
 ---
    @@ -40,10 +41,10 @@
     
       SpatialContext ctx;
       Geo3dSpatialContextFactory factory;
    -  RandomGeoShapeGenerator shapeGenerator = new RandomGeoShapeGenerator();
    +  RandomGeo3dShapeGenerator shapeGenerator = new 
RandomGeo3dShapeGenerator();
     
       private void setupGeohashGrid() {
    -    String planetModel = shapeGenerator.randomPlanetModel();
    +    String planetModel = shapeGenerator.randomStringPlanetModel();
         factory = new Geo3dSpatialContextFactory();
         Map<String, String>  args = new HashMap<>();
         args.put("planetModel", planetModel);
    --- End diff --
    
    I suggest not calling init(); just set the factory.planetModel directly


---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to