Details
-
Test
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
New
Description
This test can fail for big circle queries when it goes over the pole.
Error Message:
wrong hit (first of possibly more): FAIL: id=128 should match but did not relation=CONTAINS query=LatLonShapeQuery: field=shape:[CIRCLE([73.45044631686574,-43.522442537891635] radius = 1320857.7583952076 meters),] docID=127 shape=[[-43.60599318072272, -95.89632190395075] [1.401298464324817E-45, -95.89632190395075] [1.401298464324817E-45, 148.0564038690461] [-43.60599318072272, -95.89632190395075] , [-8.713707222781277, -137.43977030462523] [-8.665986874636296, -136.83720024522643] [-8.605159056677273, -135.67900228425023] [-9.022985319342514, -135.7748381870073] [-9.575518555536995, -135.03944293912676] [-10.486875163146422, -133.75932451570236] [-12.667313123772418, -133.7153234402556] [-15.400299607273027, -133.00005089745815] [-17.28330603483186, -134.4554641982157] [-21.607368456646313, -136.29612908889345] [-20.932241412751615, -139.63293025024942] [-20.650194586536255, -141.13774572688035] [-19.001635084539416, -144.5606838562986] [-15.72417778804206, -146.161554433355] [-15.56323460342411, -147.13460257950626] [-11.61552273270253, -144.82632867223] [-8.302765767406079, -143.5037337366715] [-9.07099844105521, -140.49240322673248] [-7.525403752869964, -140.08470342809397] [-8.713707222781277, -137.43977030462523] , [0.9999999403953552, -157.66023552014605] [90.0, -157.66023552014605] [90.0, 1.401298464324817E-45] [0.9999999403953552, 1.401298464324817E-45] [0.9999999403953552, -157.66023552014605] , [78.40177762548313, 0.9999999403953552] [90.0, 0.9999999403953552] [90.0, 107.68304478215401] [78.40177762548313, 0.9999999403953552] ] deleted?=false distanceQuery=CIRCLE([73.45044631686574,-43.522442537891635] radius = 1320857.7583952076 meters)
reproduce with:
ant test -Dtestcase=TestLatLonMultiPolygonShapeQueries -Dtests.method=testRandomMedium -Dtests.seed=B76D55AB11A1D02A -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=vi -Dtests.timezone=Etc/GMT-3 -Dtests.asserts=true -Dtests.file.encoding=UTF-8
Attachments
Issue Links
- links to