You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Ignacio Vera (Jira)" <ji...@apache.org> on 2020/03/12 12:28:00 UTC

[jira] [Created] (LUCENE-9275) TestLatLonMultiPolygonShapeQueries failure

Ignacio Vera created LUCENE-9275:
------------------------------------

             Summary: TestLatLonMultiPolygonShapeQueries failure
                 Key: LUCENE-9275
                 URL: https://issues.apache.org/jira/browse/LUCENE-9275
             Project: Lucene - Core
          Issue Type: Test
            Reporter: Ignacio Vera


This test can fail for big circle queries when it goes over the pole.  

{code}
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)
{code}

reproduce with: 

{code}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{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org