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

    https://github.com/apache/lucene-solr/pull/302#discussion_r166657498
  
    --- Diff: 
lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dRptTest.java
 ---
    @@ -50,8 +53,20 @@
       private RecursivePrefixTreeStrategy rptStrategy;
     
       private void setupGeohashGrid() {
    -    this.grid = new GeohashPrefixTree(ctx, 2);//A fairly shallow grid
    -    this.rptStrategy = newRPT();
    +    int type = random().nextInt(4);
    +    if (type == 0) {
    +      this.grid = new GeohashPrefixTree(ctx, 2);//A fairly shallow grid
    +      this.rptStrategy = newRPT();
    +    } else if (type == 1) {
    +      this.grid = new QuadPrefixTree(ctx, 5);//A fairly shallow grid
    +      this.rptStrategy = newRPT();
    +    }
    +    else {
    --- End diff --
    
    remove CR


---

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

Reply via email to