mirror of https://github.com/apache/lucene.git
LUCENE-2148: fix the Solr test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@928867 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
61b781d376
commit
97dfb8c53c
|
@ -194,7 +194,7 @@ public class PolyFieldTest extends SolrTestCaseJ4 {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
assertU(commit());
|
assertU(commit());
|
||||||
CartesianPolyFilterBuilder cpfb = new CartesianPolyFilterBuilder("");
|
CartesianPolyFilterBuilder cpfb = new CartesianPolyFilterBuilder("", 4, 15);
|
||||||
//Get the box based on this point and our distance
|
//Get the box based on this point and our distance
|
||||||
final Shape shape = cpfb.getBoxShape(45, -80, 10);//There's a bit of a bug in here that requires a small tier filter here.
|
final 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();
|
final List<Double> boxIds = shape.getArea();
|
||||||
|
|
Loading…
Reference in New Issue