[
https://issues.apache.org/jira/browse/LUCENE-7244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15253904#comment-15253904
]
Karl Wright commented on LUCENE-7244:
-------------------------------------
Here's the failure data:
{code}
[junit4] > Throwable #1: java.lang.AssertionError: FAIL: id=167 should
have matched but did not
[junit4] > shape=GeoCompositeMembershipShape: {[GeoConvexPolygon:
{planetmodel=PlanetModel.WGS84, points=[[lat=-0.968382981877905,
lon=1.88264298370407([X=-0.17365007600075355, Y=0.5386755833709856,
Z=-0.823011689190079])], [lat=-0.14640008142656333,
lon=1.0628636937356133([X=0.4816728425146455, Y=0.8653101350248709,
Z=-0.14603042094419239])], [lat=-0.016598996946752678,
lon=-0.6304914777862578([X=0.8085294506690742, Y=-0.5901195714480694,
Z=-0.016616790287426967])], [lat=-0.1736350583257355,
lon=-2.1167523926018017([X=-0.5119485330215084, Y=-0.8426374806277258,
Z=-0.17293978601294654])]], internalEdges={3},
holes=[GeoCompositeMembershipShape: {[GeoConcavePolygon:
{planetmodel=PlanetModel.WGS84, points=[[lat=0.7288769634071754,
lon=-0.009506822127999772([X=0.7456099655228705, Y=-0.007088594875324767,
Z=0.6657830681386451])], [lat=0.44451450938344544,
lon=1.7474314154135409([X=-0.15872028708396585, Y=0.889212647786288,
Z=0.43023274516015814])], [lat=0.5314707291427957,
lon=0.6229021653839082([X=0.7003350794017289, Y=0.5030502785417557,
Z=0.5069302215905835])]], internalEdges={}, holes=[]}]}]}, GeoConvexPolygon:
{planetmodel=PlanetModel.WGS84, points=[[lat=-0.07304226537371082,
lon=1.8123181679962383([X=-0.2388054305222759, Y=0.9694521808380255,
Z=-0.07305767373180282])], [lat=-0.968382981877905,
lon=1.88264298370407([X=-0.17365007600075355, Y=0.5386755833709856,
Z=-0.823011689190079])], [lat=-0.1736350583257355,
lon=-2.1167523926018017([X=-0.5119485330215084, Y=-0.8426374806277258,
Z=-0.17293978601294654])]], internalEdges={1, 2},
holes=[GeoCompositeMembershipShape: {[GeoConcavePolygon:
{planetmodel=PlanetModel.WGS84, points=[[lat=0.7288769634071754,
lon=-0.009506822127999772([X=0.7456099655228705, Y=-0.007088594875324767,
Z=0.6657830681386451])], [lat=0.44451450938344544,
lon=1.7474314154135409([X=-0.15872028708396585, Y=0.889212647786288,
Z=0.43023274516015814])], [lat=0.5314707291427957,
lon=0.6229021653839082([X=0.7003350794017289, Y=0.5030502785417557,
Z=0.5069302215905835])]], internalEdges={}, holes=[]}]}]}, GeoConvexPolygon:
{planetmodel=PlanetModel.WGS84, points=[[lat=-0.1736350583257355,
lon=-2.1167523926018017([X=-0.5119485330215084, Y=-0.8426374806277258,
Z=-0.17293978601294654])], [lat=-0.1115018153856919,
lon=1.683391788285405([X=-0.11178024168174269, Y=0.9885608793328522,
Z=-0.1113907636423256])], [lat=-0.1160003553604832,
lon=0.6234813397089172([X=0.8072605034241411, Y=0.580563819306051,
Z=-0.11586464511520306])]], internalEdges={2},
holes=[GeoCompositeMembershipShape: {[GeoConcavePolygon:
{planetmodel=PlanetModel.WGS84, points=[[lat=0.7288769634071754,
lon=-0.009506822127999772([X=0.7456099655228705, Y=-0.007088594875324767,
Z=0.6657830681386451])], [lat=0.44451450938344544,
lon=1.7474314154135409([X=-0.15872028708396585, Y=0.889212647786288,
Z=0.43023274516015814])], [lat=0.5314707291427957,
lon=0.6229021653839082([X=0.7003350794017289, Y=0.5030502785417557,
Z=0.5069302215905835])]], internalEdges={}, holes=[]}]}]}, GeoConcavePolygon:
{planetmodel=PlanetModel.WGS84, points=[[lat=-0.1736350583257355,
lon=-2.1167523926018017([X=-0.5119485330215084, Y=-0.8426374806277258,
Z=-0.17293978601294654])], [lat=-0.1160003553604832,
lon=0.6234813397089172([X=0.8072605034241411, Y=0.580563819306051,
Z=-0.11586464511520306])], [lat=-0.07304226537371082,
lon=1.8123181679962383([X=-0.2388054305222759, Y=0.9694521808380255,
Z=-0.07305767373180282])]], internalEdges={0, 2},
holes=[GeoCompositeMembershipShape: {[GeoConcavePolygon:
{planetmodel=PlanetModel.WGS84, points=[[lat=0.7288769634071754,
lon=-0.009506822127999772([X=0.7456099655228705, Y=-0.007088594875324767,
Z=0.6657830681386451])], [lat=0.44451450938344544,
lon=1.7474314154135409([X=-0.15872028708396585, Y=0.889212647786288,
Z=0.43023274516015814])], [lat=0.5314707291427957,
lon=0.6229021653839082([X=0.7003350794017289, Y=0.5030502785417557,
Z=0.5069302215905835])]], internalEdges={}, holes=[]}]}]}]}
[junit4] > bounds=XYZBounds: [xmin=-1.0011188544924792
xmax=1.0011188544924792 ymin=-1.0011188544924792 ymax=1.0011188544924792
zmin=-0.9977622925221051 zmax=0.9977622925221051]
[junit4] > world bounds=( minX=-1.0011188539924791
maxX=1.0011188539924791 minY=-1.0011188539924791 maxY=1.0011188539924791
minZ=-0.9977622920221051 maxZ=0.9977622920221051
[junit4] > quantized point=[X=0.7250556073144849, Y=0.3035362797350071,
Z=0.617920496288387] within shape? true within bounds? true
[junit4] > unquantized point=[lat=0.6662265028420148,
lon=0.3964701880885101([X=0.7250556072961346, Y=0.30353627990583987,
Z=0.6179204961808562])] within shape? true within bounds? true
[junit4] > docID=154 deleted?=false
[junit4] > query=PointInGeo3DShapeQuery: field=point: Shape:
GeoCompositeMembershipShape: {[GeoConvexPolygon:
{planetmodel=PlanetModel.WGS84, points=[[lat=-0.968382981877905,
lon=1.88264298370407([X=-0.17365007600075355, Y=0.5386755833709856,
Z=-0.823011689190079])], [lat=-0.14640008142656333,
lon=1.0628636937356133([X=0.4816728425146455, Y=0.8653101350248709,
Z=-0.14603042094419239])], [lat=-0.016598996946752678,
lon=-0.6304914777862578([X=0.8085294506690742, Y=-0.5901195714480694,
Z=-0.016616790287426967])], [lat=-0.1736350583257355,
lon=-2.1167523926018017([X=-0.5119485330215084, Y=-0.8426374806277258,
Z=-0.17293978601294654])]], internalEdges={3},
holes=[GeoCompositeMembershipShape: {[GeoConcavePolygon:
{planetmodel=PlanetModel.WGS84, points=[[lat=0.7288769634071754,
lon=-0.009506822127999772([X=0.7456099655228705, Y=-0.007088594875324767,
Z=0.6657830681386451])], [lat=0.44451450938344544,
lon=1.7474314154135409([X=-0.15872028708396585, Y=0.889212647786288,
Z=0.43023274516015814])], [lat=0.5314707291427957,
lon=0.6229021653839082([X=0.7003350794017289, Y=0.5030502785417557,
Z=0.5069302215905835])]], internalEdges={}, holes=[]}]}]}, GeoConvexPolygon:
{planetmodel=PlanetModel.WGS84, points=[[lat=-0.07304226537371082,
lon=1.8123181679962383([X=-0.2388054305222759, Y=0.9694521808380255,
Z=-0.07305767373180282])], [lat=-0.968382981877905,
lon=1.88264298370407([X=-0.17365007600075355, Y=0.5386755833709856,
Z=-0.823011689190079])], [lat=-0.1736350583257355,
lon=-2.1167523926018017([X=-0.5119485330215084, Y=-0.8426374806277258,
Z=-0.17293978601294654])]], internalEdges={1, 2},
holes=[GeoCompositeMembershipShape: {[GeoConcavePolygon:
{planetmodel=PlanetModel.WGS84, points=[[lat=0.7288769634071754,
lon=-0.009506822127999772([X=0.7456099655228705, Y=-0.007088594875324767,
Z=0.6657830681386451])], [lat=0.44451450938344544,
lon=1.7474314154135409([X=-0.15872028708396585, Y=0.889212647786288,
Z=0.43023274516015814])], [lat=0.5314707291427957,
lon=0.6229021653839082([X=0.7003350794017289, Y=0.5030502785417557,
Z=0.5069302215905835])]], internalEdges={}, holes=[]}]}]}, GeoConvexPolygon:
{planetmodel=PlanetModel.WGS84, points=[[lat=-0.1736350583257355,
lon=-2.1167523926018017([X=-0.5119485330215084, Y=-0.8426374806277258,
Z=-0.17293978601294654])], [lat=-0.1115018153856919,
lon=1.683391788285405([X=-0.11178024168174269, Y=0.9885608793328522,
Z=-0.1113907636423256])], [lat=-0.1160003553604832,
lon=0.6234813397089172([X=0.8072605034241411, Y=0.580563819306051,
Z=-0.11586464511520306])]], internalEdges={2},
holes=[GeoCompositeMembershipShape: {[GeoConcavePolygon:
{planetmodel=PlanetModel.WGS84, points=[[lat=0.7288769634071754,
lon=-0.009506822127999772([X=0.7456099655228705, Y=-0.007088594875324767,
Z=0.6657830681386451])], [lat=0.44451450938344544,
lon=1.7474314154135409([X=-0.15872028708396585, Y=0.889212647786288,
Z=0.43023274516015814])], [lat=0.5314707291427957,
lon=0.6229021653839082([X=0.7003350794017289, Y=0.5030502785417557,
Z=0.5069302215905835])]], internalEdges={}, holes=[]}]}]}, GeoConcavePolygon:
{planetmodel=PlanetModel.WGS84, points=[[lat=-0.1736350583257355,
lon=-2.1167523926018017([X=-0.5119485330215084, Y=-0.8426374806277258,
Z=-0.17293978601294654])], [lat=-0.1160003553604832,
lon=0.6234813397089172([X=0.8072605034241411, Y=0.580563819306051,
Z=-0.11586464511520306])], [lat=-0.07304226537371082,
lon=1.8123181679962383([X=-0.2388054305222759, Y=0.9694521808380255,
Z=-0.07305767373180282])]], internalEdges={0, 2},
holes=[GeoCompositeMembershipShape: {[GeoConcavePolygon:
{planetmodel=PlanetModel.WGS84, points=[[lat=0.7288769634071754,
lon=-0.009506822127999772([X=0.7456099655228705, Y=-0.007088594875324767,
Z=0.6657830681386451])], [lat=0.44451450938344544,
lon=1.7474314154135409([X=-0.15872028708396585, Y=0.889212647786288,
Z=0.43023274516015814])], [lat=0.5314707291427957,
lon=0.6229021653839082([X=0.7003350794017289, Y=0.5030502785417557,
Z=0.5069302215905835])]], internalEdges={}, holes=[]}]}]}]}
[junit4] > explanation:
[junit4] > target is in leaf _1(6.1.0):c43864 of full reader
StandardDirectoryReader(segments:5:nrt _1(6.1.0):c43864)
[junit4] > full BKD path to target doc:
[junit4] > Cell(x=-1.0011188539924791 TO 1.0011188539924791
y=-1.001118708077421 TO 1.001117672220363 z=-0.997762292058209 TO
0.9977622920582089); Shape relationship = WITHIN; Quantized point within cell =
true; Unquantized point within cell = true
[junit4] > Cell(x=-1.0011188539924791 TO 1.0011188539924791
y=-1.001118708077421 TO 1.001117672220363 z=0.0 TO 0.9977622920582089); Shape
relationship = DISJOINT; Quantized point within cell = true; Unquantized point
within cell = true
[junit4] > Cell(x=0.0 TO 1.0011188539924791 y=-1.001118708077421 TO
1.001117672220363 z=0.0 TO 0.9977622920582089); Shape relationship = OVERLAPS;
Quantized point within cell = true; Unquantized point within cell = true
[junit4] > Cell(x=0.0 TO 1.0011188539924791 y=0.0 TO
1.001117672220363 z=0.0 TO 0.9977622920582089); Shape relationship = OVERLAPS;
Quantized point within cell = true; Unquantized point within cell = true
[junit4] > Cell(x=0.0 TO 1.0011188539924791 y=0.11516573924894519
TO 1.001117672220363 z=0.0 TO 0.9977622920582089); Shape relationship =
OVERLAPS; Quantized point within cell = true; Unquantized point within cell =
true
[junit4] > Cell(x=0.4512171060831897 TO 1.0011188539924791
y=0.11516573924894519 TO 1.001117672220363 z=0.0 TO 0.9977622920582089); Shape
relationship = OVERLAPS; Quantized point within cell = true; Unquantized point
within cell = true
[junit4] > Cell(x=0.4512171060831897 TO 1.0011188539924791
y=0.11516573924894519 TO 0.4681468680682605 z=0.0 TO 0.9977622920582089); Shape
relationship = OVERLAPS; Quantized point within cell = true; Unquantized point
within cell = true
[junit4] > on cell Cell(x=-1.0011188539924791 TO 1.0011188539924791
y=-1.001118708077421 TO 1.001117672220363 z=-0.997762292058209 TO
0.9977622920582089); Shape relationship = WITHIN; Quantized point within cell =
true; Unquantized point within cell = true, wrapped visitor returned
CELL_CROSSES_QUERY
[junit4] > on cell Cell(x=-1.0011188539924791 TO 1.0011188539924791
y=-1.001118708077421 TO 1.001117672220363 z=0.0 TO 0.9977622920582089); Shape
relationship = DISJOINT; Quantized point within cell = true; Unquantized point
within cell = true, wrapped visitor returned CELL_OUTSIDE_QUERY
{code}
> Geo3d test failure
> ------------------
>
> Key: LUCENE-7244
> URL: https://issues.apache.org/jira/browse/LUCENE-7244
> Project: Lucene - Core
> Issue Type: Bug
> Components: modules/spatial3d
> Affects Versions: master
> Reporter: Karl Wright
> Assignee: Karl Wright
>
> Reproduce with:
> {code}
> ant test -Dtestcase=TestGeo3DPoint -Dtests.method=testRandomMedium
> -Dtests.seed=D108F235D165413A -Dtests.multiplier=3 -Dtests.slow=true
> -Dtests.locale=mk -Dtests.timezone=Europe/Luxembourg -Dtests.asserts=true
> -Dtests.file.encoding=ISO-8859-1
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]