Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

LUCENE-5714: TestBBoxStrategy needs to declare docValues requirement

David Wayne Smiley0705eab7ef27
diff --git a/lucene/spatial/src/test/org/apache/lucene/spatial/bbox/TestBBoxStrategy.java b/lucene/spatial/src/test/org/apache/lucene/spatial/bbox/TestBBoxStrategy.java
index 3cc72acdaaf..6fabcf34b9b 100644
--- a/lucene/spatial/src/test/org/apache/lucene/spatial/bbox/TestBBoxStrategy.java
+++ b/lucene/spatial/src/test/org/apache/lucene/spatial/bbox/TestBBoxStrategy.java
@@ -35,6 +35,11 @@ import java.io.IOException;
public class TestBBoxStrategy extends RandomSpatialOpStrategyTestCase {
+ @Override
+ protected boolean needsDocValues() {
+ return true;
+ }
+
@Override
protected Shape randomIndexedShape() {
Rectangle world = ctx.getWorldBounds();