Apache Lucene open-source search software
LUCENE-2148: fix the Solr test
Grant Ingersoll97dfb8c53c82
diff --git a/solr/src/test/org/apache/solr/schema/PolyFieldTest.java b/solr/src/test/org/apache/solr/schema/PolyFieldTest.javaindex 597d8e63364..bb79698935b 100644--- a/solr/src/test/org/apache/solr/schema/PolyFieldTest.java+++ b/solr/src/test/org/apache/solr/schema/PolyFieldTest.java@@ -194,7 +194,7 @@ public class PolyFieldTest extends SolrTestCaseJ4 {}}assertU(commit());- CartesianPolyFilterBuilder cpfb = new CartesianPolyFilterBuilder("");+ CartesianPolyFilterBuilder cpfb = new CartesianPolyFilterBuilder("", 4, 15);//Get the box based on this point and our distancefinal Shape shape = cpfb.getBoxShape(45, -80, 10);//There's a bit of a bug in here that requires a small tier filter here.final List<Double> boxIds = shape.getArea();