[
https://issues.apache.org/jira/browse/LUCENE-7845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16037094#comment-16037094
]
Steve Rowe commented on LUCENE-7845:
------------------------------------
My Jenkins found a reproducing seed for
{{RandomSpatialOpFuzzyPrefixTreeTest.testIntersects()}} and
{{RandomSpatialOpFuzzyPrefixTree50Test.testIntersects}} failures - {{git
bisect}} for the former again blames commit {{d4f87b4a36}} on this issue:
{noformat}
Checking out Revision db2b19f6ba7766cf42bde668f8ec4e7b237e6007
(refs/remotes/origin/master)
[...]
[junit4] Suite:
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest
[junit4] 2> Jun 04, 2017 4:43:55 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFORMATION: Strategy:
RecursivePrefixTreeStrategy(SPG:(PackedQuadPrefixTree(maxLevels:7,ctx:SpatialContext{geo=false,
calculator=CartesianDistCalc,
worldBounds=Rect(minX=0.0,maxX=256.0,minY=-128.0,maxY=128.0)},prune:true)),pruneLeafyBranches)
[junit4] 2> Jun 04, 2017 4:43:56 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFORMATION: Strategy:
RecursivePrefixTreeStrategy(SPG:(PackedQuadPrefixTree(maxLevels:6,ctx:SpatialContext{geo=false,
calculator=CartesianDistCalc,
worldBounds=Rect(minX=0.0,maxX=256.0,minY=-128.0,maxY=128.0)},prune:false)),pruneLeafyBranches)
[junit4] 2> Jun 04, 2017 4:43:56 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFORMATION: Strategy:
RecursivePrefixTreeStrategy(SPG:(GeohashPrefixTree(maxLevels:2,ctx:SpatialContext.GEO)),pruneLeafyBranches)
[junit4] 2> Jun 04, 2017 4:43:56 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFORMATION: Strategy:
RecursivePrefixTreeStrategy(SPG:(PackedQuadPrefixTree(maxLevels:8,ctx:SpatialContext{geo=false,
calculator=CartesianDistCalc,
worldBounds=Rect(minX=0.0,maxX=256.0,minY=-128.0,maxY=128.0)},prune:true)),pointsOnly)
[junit4] 2> Jun 04, 2017 4:43:56 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFORMATION: Strategy:
RecursivePrefixTreeStrategy(SPG:(GeohashPrefixTree(maxLevels:3,ctx:SpatialContext.GEO)))
[junit4] 2> Jun 04, 2017 4:43:56 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFORMATION: Strategy:
RecursivePrefixTreeStrategy(SPG:(QuadPrefixTree(maxLevels:5,ctx:SpatialContext{geo=false,
calculator=CartesianDistCalc,
worldBounds=Rect(minX=0.0,maxX=256.0,minY=-128.0,maxY=128.0)})))
[junit4] 2> Jun 04, 2017 4:43:56 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFORMATION: Strategy:
RecursivePrefixTreeStrategy(SPG:(PackedQuadPrefixTree(maxLevels:3,ctx:SpatialContext{geo=false,
calculator=CartesianDistCalc,
worldBounds=Rect(minX=0.0,maxX=256.0,minY=-128.0,maxY=128.0)},prune:false)),pruneLeafyBranches)
[junit4] 2> Jun 04, 2017 4:43:56 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFORMATION: Strategy:
RecursivePrefixTreeStrategy(SPG:(QuadPrefixTree(maxLevels:4,ctx:SpatialContext{geo=false,
calculator=CartesianDistCalc,
worldBounds=Rect(minX=0.0,maxX=256.0,minY=-128.0,maxY=128.0)})),pointsOnly,pruneLeafyBranches)
[junit4] 2> Jun 04, 2017 4:43:56 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFORMATION: Strategy:
RecursivePrefixTreeStrategy(SPG:(GeohashPrefixTree(maxLevels:3,ctx:SpatialContext.GEO)))
[junit4] 2> Jun 04, 2017 4:43:57 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFORMATION: Strategy:
RecursivePrefixTreeStrategy(SPG:(QuadPrefixTree(maxLevels:8,ctx:SpatialContext{geo=false,
calculator=CartesianDistCalc,
worldBounds=Rect(minX=0.0,maxX=256.0,minY=-128.0,maxY=128.0)})),pointsOnly,pruneLeafyBranches)
[junit4] 2> NOTE: download the large Jenkins line-docs file by running
'ant get-jenkins-line-docs' in the lucene directory.
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=RandomSpatialOpFuzzyPrefixTreeTest -Dtests.method=testIntersects
-Dtests.seed=B53BB247360E8564 -Dtests.multiplier=2 -Dtests.nightly=true
-Dtests.slow=true
-Dtests.linedocsfile=/home/jenkins/lucene-data/enwiki.random.lines.txt
-Dtests.locale=de-CH -Dtests.timezone=Europe/Madrid -Dtests.asserts=true
-Dtests.file.encoding=US-ASCII
[junit4] FAILURE 0.07s J5 |
RandomSpatialOpFuzzyPrefixTreeTest.testIntersects {
seed=[B53BB247360E8564:522092CBCFB47BC0]} <<<
[junit4] > Throwable #1: java.lang.AssertionError
[junit4] > at
__randomizedtesting.SeedInfo.seed([B53BB247360E8564:522092CBCFB47BC0]:0)
[junit4] > at
org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.makeGridShapeIntersectsQuery(RecursivePrefixTreeStrategy.java:217)
[junit4] > at
org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.makeQuery(RecursivePrefixTreeStrategy.java:182)
[junit4] > at
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest.doTest(RandomSpatialOpFuzzyPrefixTreeTest.java:384)
[junit4] > at
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest.testIntersects(RandomSpatialOpFuzzyPrefixTreeTest.java:138)
[junit4] > at java.lang.Thread.run(Thread.java:745)
[junit4] 2> Jun 04, 2017 4:43:57 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFORMATION: Strategy:
RecursivePrefixTreeStrategy(SPG:(GeohashPrefixTree(maxLevels:3,ctx:SpatialContext.GEO)),pruneLeafyBranches)
[junit4] 2> Jun 04, 2017 4:43:57 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFORMATION: Strategy:
RecursivePrefixTreeStrategy(SPG:(GeohashPrefixTree(maxLevels:3,ctx:SpatialContext.GEO)),pruneLeafyBranches)
[junit4] 2> Jun 04, 2017 4:43:57 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFORMATION: Strategy:
RecursivePrefixTreeStrategy(SPG:(GeohashPrefixTree(maxLevels:2,ctx:SpatialContext.GEO)),pruneLeafyBranches)
[junit4] 2> Jun 04, 2017 4:43:57 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFORMATION: Strategy:
RecursivePrefixTreeStrategy(SPG:(PackedQuadPrefixTree(maxLevels:2,ctx:SpatialContext{geo=false,
calculator=CartesianDistCalc,
worldBounds=Rect(minX=0.0,maxX=256.0,minY=-128.0,maxY=128.0)},prune:true)))
[junit4] 2> Jun 04, 2017 4:43:57 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFORMATION: Strategy:
RecursivePrefixTreeStrategy(SPG:(QuadPrefixTree(maxLevels:5,ctx:SpatialContext{geo=false,
calculator=CartesianDistCalc,
worldBounds=Rect(minX=0.0,maxX=256.0,minY=-128.0,maxY=128.0)})),pruneLeafyBranches)
[junit4] 2> Jun 04, 2017 4:43:57 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFORMATION: Strategy:
RecursivePrefixTreeStrategy(SPG:(PackedQuadPrefixTree(maxLevels:6,ctx:SpatialContext{geo=false,
calculator=CartesianDistCalc,
worldBounds=Rect(minX=0.0,maxX=256.0,minY=-128.0,maxY=128.0)},prune:true)),pruneLeafyBranches)
[junit4] 2> Jun 04, 2017 4:43:57 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFORMATION: Strategy:
RecursivePrefixTreeStrategy(SPG:(GeohashPrefixTree(maxLevels:3,ctx:SpatialContext.GEO)),pruneLeafyBranches)
[junit4] 2> Jun 04, 2017 4:43:57 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFORMATION: Strategy:
RecursivePrefixTreeStrategy(SPG:(GeohashPrefixTree(maxLevels:1,ctx:SpatialContext.GEO)),pruneLeafyBranches)
[junit4] 2> Jun 04, 2017 4:43:58 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFORMATION: Strategy:
RecursivePrefixTreeStrategy(SPG:(GeohashPrefixTree(maxLevels:1,ctx:SpatialContext.GEO)),pruneLeafyBranches)
[junit4] 2> Jun 04, 2017 4:43:58 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFORMATION: Strategy:
RecursivePrefixTreeStrategy(SPG:(PackedQuadPrefixTree(maxLevels:5,ctx:SpatialContext{geo=false,
calculator=CartesianDistCalc,
worldBounds=Rect(minX=0.0,maxX=256.0,minY=-128.0,maxY=128.0)},prune:true)),pointsOnly,pruneLeafyBranches)
[junit4] 2> Jun 04, 2017 4:43:58 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFORMATION: Strategy:
RecursivePrefixTreeStrategy(SPG:(QuadPrefixTree(maxLevels:7,ctx:SpatialContext{geo=false,
calculator=CartesianDistCalc,
worldBounds=Rect(minX=0.0,maxX=256.0,minY=-128.0,maxY=128.0)})))
[junit4] 2> Jun 04, 2017 4:43:58 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFORMATION: Strategy:
RecursivePrefixTreeStrategy(SPG:(PackedQuadPrefixTree(maxLevels:7,ctx:SpatialContext{geo=false,
calculator=CartesianDistCalc,
worldBounds=Rect(minX=0.0,maxX=256.0,minY=-128.0,maxY=128.0)},prune:false)),pruneLeafyBranches)
[junit4] 2> Jun 04, 2017 4:43:58 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFORMATION: Strategy:
RecursivePrefixTreeStrategy(SPG:(QuadPrefixTree(maxLevels:1,ctx:SpatialContext{geo=false,
calculator=CartesianDistCalc,
worldBounds=Rect(minX=0.0,maxX=256.0,minY=-128.0,maxY=128.0)})))
[junit4] 2> Jun 04, 2017 4:43:58 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFORMATION: Strategy:
RecursivePrefixTreeStrategy(SPG:(QuadPrefixTree(maxLevels:2,ctx:SpatialContext{geo=false,
calculator=CartesianDistCalc,
worldBounds=Rect(minX=0.0,maxX=256.0,minY=-128.0,maxY=128.0)})))
[junit4] 2> Jun 04, 2017 4:43:58 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFORMATION: Strategy:
RecursivePrefixTreeStrategy(SPG:(GeohashPrefixTree(maxLevels:2,ctx:SpatialContext.GEO)))
[junit4] 2> Jun 04, 2017 4:43:58 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFORMATION: Strategy:
RecursivePrefixTreeStrategy(SPG:(GeohashPrefixTree(maxLevels:1,ctx:SpatialContext.GEO)))
[junit4] 2> Jun 04, 2017 4:43:58 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFORMATION: Strategy:
RecursivePrefixTreeStrategy(SPG:(GeohashPrefixTree(maxLevels:3,ctx:SpatialContext.GEO)),pruneLeafyBranches)
[junit4] 2> Jun 04, 2017 4:43:58 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFORMATION: Strategy:
RecursivePrefixTreeStrategy(SPG:(GeohashPrefixTree(maxLevels:1,ctx:SpatialContext.GEO)),pruneLeafyBranches)
[junit4] 2> Jun 04, 2017 4:43:58 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFORMATION: Strategy:
RecursivePrefixTreeStrategy(SPG:(GeohashPrefixTree(maxLevels:1,ctx:SpatialContext.GEO)),pruneLeafyBranches)
[junit4] 2> Jun 04, 2017 4:43:58 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFORMATION: Strategy:
RecursivePrefixTreeStrategy(SPG:(GeohashPrefixTree(maxLevels:3,ctx:SpatialContext.GEO)),pruneLeafyBranches)
[junit4] 2> NOTE: leaving temporary files on disk at:
/var/lib/jenkins/jobs/Lucene-Solr-Nightly-master/workspace/lucene/build/spatial-extras/test/J5/temp/lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest_B53BB247360E8564-001
[junit4] 2> NOTE: test params are:
codec=FastCompressingStoredFields(storedFieldsFormat=CompressingStoredFieldsFormat(compressionMode=FAST,
chunkSize=4, maxDocsPerChunk=6, blockSize=340),
termVectorsFormat=CompressingTermVectorsFormat(compressionMode=FAST,
chunkSize=4, blockSize=340)), sim=RandomSimilarity(queryNorm=true):
{RandomSpatialOpFuzzyPrefixTreeTest=DFR GB3(800.0)}, locale=de-CH,
timezone=Europe/Madrid
[junit4] 2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation
1.8.0_77 (64-bit)/cpus=16,threads=1,free=455100144,total=514850816
[junit4] 2> NOTE: All tests run in this JVM: [SpatialArgsParserTest,
TestTermQueryPrefixGridStrategy, DistanceStrategyTest,
RandomSpatialOpFuzzyPrefixTreeTest]
[junit4] Completed [14/23 (1!)] on J5 in 2.77s, 35 tests, 1 failure <<<
FAILURES!
{noformat}
{noformat}
[junit4] Suite:
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTree50Test
[junit4] 2> jun 04, 2017 12:43:59 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFO: Strategy:
(SPG:(PackedQuadPrefixTree(maxLevels:7,ctx:SpatialContext{geo=false,
calculator=CartesianDistCalc,
worldBounds=Rect(minX=0.0,maxX=256.0,minY=-128.0,maxY=128.0)},prune:true)),pruneLeafyBranches)
[junit4] 2> jun 04, 2017 12:43:59 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFO: Strategy:
(SPG:(PackedQuadPrefixTree(maxLevels:6,ctx:SpatialContext{geo=false,
calculator=CartesianDistCalc,
worldBounds=Rect(minX=0.0,maxX=256.0,minY=-128.0,maxY=128.0)},prune:false)),pruneLeafyBranches)
[junit4] 2> jun 04, 2017 12:43:59 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFO: Strategy:
(SPG:(GeohashPrefixTree(maxLevels:2,ctx:SpatialContext.GEO)),pruneLeafyBranches)
[junit4] 2> jun 04, 2017 12:43:59 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFO: Strategy:
(SPG:(PackedQuadPrefixTree(maxLevels:8,ctx:SpatialContext{geo=false,
calculator=CartesianDistCalc,
worldBounds=Rect(minX=0.0,maxX=256.0,minY=-128.0,maxY=128.0)},prune:true)),pointsOnly)
[junit4] 2> jun 04, 2017 12:43:59 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFO: Strategy:
(SPG:(GeohashPrefixTree(maxLevels:3,ctx:SpatialContext.GEO)))
[junit4] 2> jun 04, 2017 12:44:00 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFO: Strategy:
(SPG:(QuadPrefixTree(maxLevels:5,ctx:SpatialContext{geo=false,
calculator=CartesianDistCalc,
worldBounds=Rect(minX=0.0,maxX=256.0,minY=-128.0,maxY=128.0)})))
[junit4] 2> jun 04, 2017 12:44:00 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFO: Strategy:
(SPG:(PackedQuadPrefixTree(maxLevels:3,ctx:SpatialContext{geo=false,
calculator=CartesianDistCalc,
worldBounds=Rect(minX=0.0,maxX=256.0,minY=-128.0,maxY=128.0)},prune:false)),pruneLeafyBranches)
[junit4] 2> jun 04, 2017 12:44:00 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFO: Strategy:
(SPG:(QuadPrefixTree(maxLevels:4,ctx:SpatialContext{geo=false,
calculator=CartesianDistCalc,
worldBounds=Rect(minX=0.0,maxX=256.0,minY=-128.0,maxY=128.0)})),pointsOnly,pruneLeafyBranches)
[junit4] 2> jun 04, 2017 12:44:00 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFO: Strategy:
(SPG:(GeohashPrefixTree(maxLevels:3,ctx:SpatialContext.GEO)))
[junit4] 2> jun 04, 2017 12:44:00 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFO: Strategy:
(SPG:(QuadPrefixTree(maxLevels:8,ctx:SpatialContext{geo=false,
calculator=CartesianDistCalc,
worldBounds=Rect(minX=0.0,maxX=256.0,minY=-128.0,maxY=128.0)})),pointsOnly,pruneLeafyBranches)
[junit4] 2> NOTE: download the large Jenkins line-docs file by running
'ant get-jenkins-line-docs' in the lucene directory.
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=RandomSpatialOpFuzzyPrefixTree50Test -Dtests.method=testIntersects
-Dtests.seed=B53BB247360E8564 -Dtests.multiplier=2 -Dtests.nightly=true
-Dtests.slow=true
-Dtests.linedocsfile=/home/jenkins/lucene-data/enwiki.random.lines.txt
-Dtests.locale=no -Dtests.timezone=America/Miquelon -Dtests.asserts=true
-Dtests.file.encoding=US-ASCII
[junit4] FAILURE 0.10s J3 |
RandomSpatialOpFuzzyPrefixTree50Test.testIntersects {
seed=[B53BB247360E8564:522092CBCFB47BC0]} <<<
[junit4] > Throwable #1: java.lang.AssertionError
[junit4] > at
__randomizedtesting.SeedInfo.seed([B53BB247360E8564:522092CBCFB47BC0]:0)
[junit4] > at
org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.makeGridShapeIntersectsQuery(RecursivePrefixTreeStrategy.java:217)
[junit4] > at
org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.makeQuery(RecursivePrefixTreeStrategy.java:182)
[junit4] > at
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest.doTest(RandomSpatialOpFuzzyPrefixTreeTest.java:384)
[junit4] > at
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest.testIntersects(RandomSpatialOpFuzzyPrefixTreeTest.java:138)
[junit4] > at java.lang.Thread.run(Thread.java:745)
[junit4] 2> jun 04, 2017 12:44:01 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFO: Strategy:
(SPG:(GeohashPrefixTree(maxLevels:3,ctx:SpatialContext.GEO)),pruneLeafyBranches)
[junit4] 2> jun 04, 2017 12:44:01 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFO: Strategy:
(SPG:(GeohashPrefixTree(maxLevels:3,ctx:SpatialContext.GEO)),pruneLeafyBranches)
[junit4] 2> jun 04, 2017 12:44:01 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFO: Strategy:
(SPG:(GeohashPrefixTree(maxLevels:2,ctx:SpatialContext.GEO)),pruneLeafyBranches)
[junit4] 2> jun 04, 2017 12:44:01 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFO: Strategy:
(SPG:(PackedQuadPrefixTree(maxLevels:2,ctx:SpatialContext{geo=false,
calculator=CartesianDistCalc,
worldBounds=Rect(minX=0.0,maxX=256.0,minY=-128.0,maxY=128.0)},prune:true)))
[junit4] 2> jun 04, 2017 12:44:01 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFO: Strategy:
(SPG:(QuadPrefixTree(maxLevels:5,ctx:SpatialContext{geo=false,
calculator=CartesianDistCalc,
worldBounds=Rect(minX=0.0,maxX=256.0,minY=-128.0,maxY=128.0)})),pruneLeafyBranches)
[junit4] 2> jun 04, 2017 12:44:01 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFO: Strategy:
(SPG:(PackedQuadPrefixTree(maxLevels:6,ctx:SpatialContext{geo=false,
calculator=CartesianDistCalc,
worldBounds=Rect(minX=0.0,maxX=256.0,minY=-128.0,maxY=128.0)},prune:true)),pruneLeafyBranches)
[junit4] 2> jun 04, 2017 12:44:01 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFO: Strategy:
(SPG:(GeohashPrefixTree(maxLevels:3,ctx:SpatialContext.GEO)),pruneLeafyBranches)
[junit4] 2> jun 04, 2017 12:44:01 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFO: Strategy:
(SPG:(GeohashPrefixTree(maxLevels:1,ctx:SpatialContext.GEO)),pruneLeafyBranches)
[junit4] 2> jun 04, 2017 12:44:01 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFO: Strategy:
(SPG:(GeohashPrefixTree(maxLevels:1,ctx:SpatialContext.GEO)),pruneLeafyBranches)
[junit4] 2> jun 04, 2017 12:44:01 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFO: Strategy:
(SPG:(PackedQuadPrefixTree(maxLevels:5,ctx:SpatialContext{geo=false,
calculator=CartesianDistCalc,
worldBounds=Rect(minX=0.0,maxX=256.0,minY=-128.0,maxY=128.0)},prune:true)),pointsOnly,pruneLeafyBranches)
[junit4] 2> jun 04, 2017 12:44:01 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFO: Strategy:
(SPG:(QuadPrefixTree(maxLevels:7,ctx:SpatialContext{geo=false,
calculator=CartesianDistCalc,
worldBounds=Rect(minX=0.0,maxX=256.0,minY=-128.0,maxY=128.0)})))
[junit4] 2> jun 04, 2017 12:44:02 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFO: Strategy:
(SPG:(PackedQuadPrefixTree(maxLevels:7,ctx:SpatialContext{geo=false,
calculator=CartesianDistCalc,
worldBounds=Rect(minX=0.0,maxX=256.0,minY=-128.0,maxY=128.0)},prune:false)),pruneLeafyBranches)
[junit4] 2> jun 04, 2017 12:44:02 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFO: Strategy:
(SPG:(QuadPrefixTree(maxLevels:1,ctx:SpatialContext{geo=false,
calculator=CartesianDistCalc,
worldBounds=Rect(minX=0.0,maxX=256.0,minY=-128.0,maxY=128.0)})))
[junit4] 2> jun 04, 2017 12:44:02 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFO: Strategy:
(SPG:(QuadPrefixTree(maxLevels:2,ctx:SpatialContext{geo=false,
calculator=CartesianDistCalc,
worldBounds=Rect(minX=0.0,maxX=256.0,minY=-128.0,maxY=128.0)})))
[junit4] 2> jun 04, 2017 12:44:02 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFO: Strategy:
(SPG:(GeohashPrefixTree(maxLevels:2,ctx:SpatialContext.GEO)))
[junit4] 2> jun 04, 2017 12:44:02 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFO: Strategy:
(SPG:(GeohashPrefixTree(maxLevels:1,ctx:SpatialContext.GEO)))
[junit4] 2> jun 04, 2017 12:44:02 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFO: Strategy:
(SPG:(GeohashPrefixTree(maxLevels:3,ctx:SpatialContext.GEO)),pruneLeafyBranches)
[junit4] 2> jun 04, 2017 12:44:02 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFO: Strategy:
(SPG:(GeohashPrefixTree(maxLevels:1,ctx:SpatialContext.GEO)),pruneLeafyBranches)
[junit4] 2> jun 04, 2017 12:44:02 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFO: Strategy:
(SPG:(GeohashPrefixTree(maxLevels:1,ctx:SpatialContext.GEO)),pruneLeafyBranches)
[junit4] 2> jun 04, 2017 12:44:02 AM
org.apache.lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTreeTest setupGrid
[junit4] 2> INFO: Strategy:
(SPG:(GeohashPrefixTree(maxLevels:3,ctx:SpatialContext.GEO)),pruneLeafyBranches)
[junit4] 2> NOTE: leaving temporary files on disk at:
/var/lib/jenkins/jobs/Lucene-Solr-Nightly-master/workspace/lucene/build/spatial-extras/test/J3/temp/lucene.spatial.prefix.RandomSpatialOpFuzzyPrefixTree50Test_B53BB247360E8564-001
[junit4] 2> NOTE: test params are: codec=Asserting(Lucene70):
{RandomSpatialOpFuzzyPrefixTree50Test=PostingsFormat(name=MockRandom),
id=TestBloomFilteredLucenePostings(BloomFilteringPostingsFormat(Lucene50(blocksize=128)))},
docValues:{}, maxPointsInLeafNode=1970, maxMBSortInHeap=5.790390751225127,
sim=RandomSimilarity(queryNorm=false): {RandomSpatialOpFuzzyPrefixTree50Test=IB
SPL-D2}, locale=no, timezone=America/Miquelon
[junit4] 2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation
1.8.0_77 (64-bit)/cpus=16,threads=1,free=412214296,total=511705088
[junit4] 2> NOTE: All tests run in this JVM:
[Geo3dShapeSphereModelRectRelationTest, PortedSolr3Test,
RandomSpatialOpFuzzyPrefixTree50Test]
[junit4] Completed [21/23 (2!)] on J3 in 3.38s, 35 tests, 1 failure <<<
FAILURES!
{noformat}
> spatial RPT optimization when query by point or common date range
> -----------------------------------------------------------------
>
> Key: LUCENE-7845
> URL: https://issues.apache.org/jira/browse/LUCENE-7845
> Project: Lucene - Core
> Issue Type: Improvement
> Components: modules/spatial-extras
> Reporter: David Smiley
> Assignee: David Smiley
> Fix For: master (7.0)
>
> Attachments: LUCENE_7845_query_by_point_optimization.patch
>
>
> If the query to an RPT index is a 2D point, or if using
> NumerBrangePrefixTreeStrategy / DateRangePrefixTree (Solr DateRangeField) if
> the query is a grid cell (a common date range unit like some particular day),
> then we can do some optimizations, especially if the data is pointsOnly. If
> the data is pointsOnly the strategy can return a TermQuery, if the data isn't
> then we can at least tweak the prefixGridScanLevel. This is motivated by two
> scenarios:
> * indexing polygons and doing lookups by a point (AKA reverse geocoding)
> * indexing date instances and doing date range faceting. Solr's code for this
> has a fast path for a TermQuery, although more is needed beyond this issue to
> get there.
> _This development was funded by the Harvard Center for Geographic Analysis as
> part of the HHypermap project_
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]