mirror of https://github.com/apache/lucene.git
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:
parent
0705eab7ef
commit
e8d7bd7bc1
|
@ -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.query.SpatialArgs;
|
||||
import org.apache.lucene.spatial.query.SpatialOperation;
|
||||
import org.apache.lucene.uninverting.UninvertingReader;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
|
||||
import java.io.IOException;
|
||||
|
@ -72,14 +70,6 @@ public class RandomSpatialOpFuzzyPrefixTreeTest extends StrategyTestCase {
|
|||
private SpatialPrefixTree grid;
|
||||
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 {
|
||||
if (randomBoolean())
|
||||
setupQuadGrid(maxLevels);
|
||||
|
|
Loading…
Reference in New Issue