You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ds...@apache.org on 2014/07/09 14:37:49 UTC
svn commit: r1609134 -
/lucene/dev/trunk/lucene/spatial/src/test/org/apache/lucene/spatial/bbox/TestBBoxStrategy.java
Author: dsmiley
Date: Wed Jul 9 12:37:49 2014
New Revision: 1609134
URL: http://svn.apache.org/r1609134
Log:
LUCENE-5714: TestBBoxStrategy needs to declare docValues requirement
Modified:
lucene/dev/trunk/lucene/spatial/src/test/org/apache/lucene/spatial/bbox/TestBBoxStrategy.java
Modified: lucene/dev/trunk/lucene/spatial/src/test/org/apache/lucene/spatial/bbox/TestBBoxStrategy.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/spatial/src/test/org/apache/lucene/spatial/bbox/TestBBoxStrategy.java?rev=1609134&r1=1609133&r2=1609134&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/spatial/src/test/org/apache/lucene/spatial/bbox/TestBBoxStrategy.java (original)
+++ lucene/dev/trunk/lucene/spatial/src/test/org/apache/lucene/spatial/bbox/TestBBoxStrategy.java Wed Jul 9 12:37:49 2014
@@ -36,6 +36,11 @@ import java.io.IOException;
public class TestBBoxStrategy extends RandomSpatialOpStrategyTestCase {
@Override
+ protected boolean needsDocValues() {
+ return true;
+ }
+
+ @Override
protected Shape randomIndexedShape() {
Rectangle world = ctx.getWorldBounds();
if (random().nextInt(10) == 0) // increased chance of getting one of these