LUCENE-4978: invert biasContains on query side

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1578889 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
David Wayne Smiley 2014-03-18 13:46:52 +00:00
parent 51235d2e2a
commit 1eb6447bcf
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,7 @@ public class SpatialOpRecursivePrefixTreeTest extends StrategyTestCase {
case 0: queryShape = randomPoint(); break; case 0: queryShape = randomPoint(); break;
case 1:case 2:case 3: case 1:case 2:case 3:
if (!indexedAtLeastOneShapePair) { // avoids ShapePair.relate(ShapePair), which isn't reliable if (!indexedAtLeastOneShapePair) { // avoids ShapePair.relate(ShapePair), which isn't reliable
queryShape = randomShapePairRect(biasContains); queryShape = randomShapePairRect(!biasContains);//invert biasContains for query side
break; break;
} }
default: queryShape = randomRectangle(); default: queryShape = randomRectangle();