LUCENE-5692: remove need for uninversion for RandomSpatialOpFuzzyPrefixTreeTest

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1609139 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
David Wayne Smiley 2014-07-09 13:00:42 +00:00
parent 0705eab7ef
commit e8d7bd7bc1
1 changed files with 0 additions and 10 deletions

View File

@ -39,8 +39,6 @@ import org.apache.lucene.spatial.prefix.tree.QuadPrefixTree;
import org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree; import org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree;
import org.apache.lucene.spatial.query.SpatialArgs; import org.apache.lucene.spatial.query.SpatialArgs;
import org.apache.lucene.spatial.query.SpatialOperation; import org.apache.lucene.spatial.query.SpatialOperation;
import org.apache.lucene.uninverting.UninvertingReader;
import org.junit.Before;
import org.junit.Test; import org.junit.Test;
import java.io.IOException; import java.io.IOException;
@ -72,14 +70,6 @@ public class RandomSpatialOpFuzzyPrefixTreeTest extends StrategyTestCase {
private SpatialPrefixTree grid; private SpatialPrefixTree grid;
private SpatialContext ctx2D; private SpatialContext ctx2D;
@Before
@Override
public void setUp() throws Exception {
super.setUp();
//Only for Disjoint. Ugh; need to find a better way. LUCENE-5692
uninvertMap.put(getClass().getSimpleName(), UninvertingReader.Type.SORTED);
}
public void setupGrid(int maxLevels) throws IOException { public void setupGrid(int maxLevels) throws IOException {
if (randomBoolean()) if (randomBoolean())
setupQuadGrid(maxLevels); setupQuadGrid(maxLevels);