[jira] [Updated] (LUCENE-6956) TestBKDTree.testRandomMedium() failure: some hits were wrong
[ https://issues.apache.org/jira/browse/LUCENE-6956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nicholas Knize updated LUCENE-6956: --- Attachment: LUCENE-6956.patch Updated patch that reverts BKD tolerance back to {{1e-7}}. I opened LUCENE-6996 as a separate issue to reconcile encoding/decoding resolution and tolerance between BKD and GeoPoint. This should be ready, I'd like to get this committed before LUCENE-6930 and then tackle the encoding resolution. > TestBKDTree.testRandomMedium() failure: some hits were wrong > > > Key: LUCENE-6956 > URL: https://issues.apache.org/jira/browse/LUCENE-6956 > Project: Lucene - Core > Issue Type: Bug >Reporter: Steve Rowe >Assignee: Michael McCandless > Attachments: LUCENE-6956-enc.patch, LUCENE-6956.patch, > LUCENE-6956.patch, LUCENE-6956.patch, LUCENE-6956.patch, LUCENE-6956.patch > > > My Jenkins found a reproducible seed for a failure of > {{TestBKDTree.testRandomMedium()}} on branch_5x with Java8: > {noformat} > [junit4] Suite: org.apache.lucene.bkdtree.TestBKDTree >[junit4] 1> T1: id=29784 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29528 >[junit4] 1> lat=86.88086835667491 lon=-8.821268286556005 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=29801 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29545 >[junit4] 1> lat=86.88149104826152 lon=-9.34366637840867 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=29961 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29705 >[junit4] 1> lat=86.8706679996103 lon=-9.38328042626381 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=30015 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29759 >[junit4] 1> lat=86.84762765653431 lon=-9.44802425801754 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=30017 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29761 >[junit4] 1> lat=86.8753323610872 lon=-9.091365560889244 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=30042 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29786 >[junit4] 1> lat=86.85837233439088 lon=-9.127480667084455 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=30061 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29805 >[junit4] 1> lat=86.85876209288836 lon=-9.408821929246187 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=30077 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29821 >[junit4] 1> lat=86.84681385755539 lon=-8.837449550628662 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=30185 should match but did not
[jira] [Updated] (LUCENE-6956) TestBKDTree.testRandomMedium() failure: some hits were wrong
[ https://issues.apache.org/jira/browse/LUCENE-6956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless updated LUCENE-6956: --- Attachment: LUCENE-6956-enc.patch > With the 32 bit quantization encoding error can exceed 1e-7 but not 1e-6. Hmm I don't think that's true? E.g.: {noformat} >>> 360./(1<<32) 8.381903171539307e-08 {noformat} I made a test case (attached) for {{LatLonPoint}}'s encoding, and it indeed passes with 1e-7 {{TOLERANCE}}. So then I made the same test case for {{GeoPoint}}'s encoding and it fails! I dug into why, and it's because {{GeoPoint}} is only use 31 bits ({{GeoUtils.BITS}}) to encode each value, and indeed with 31 bits the quantization errors becomes: {noformat} >>> 360./(1<<31) 1.6763806343078613e-07 {noformat} Why do we only use 31 bits to encode? Since we are breaking the format now in LUCENE-6930 maybe we can fix that? (I also separately added tests to confirm the encode/decode are stable, thanks to [~rcmuir]'s suggestion, and they seem to pass). I'll commit these new tests... > TestBKDTree.testRandomMedium() failure: some hits were wrong > > > Key: LUCENE-6956 > URL: https://issues.apache.org/jira/browse/LUCENE-6956 > Project: Lucene - Core > Issue Type: Bug >Reporter: Steve Rowe >Assignee: Michael McCandless > Attachments: LUCENE-6956-enc.patch, LUCENE-6956.patch, > LUCENE-6956.patch, LUCENE-6956.patch, LUCENE-6956.patch > > > My Jenkins found a reproducible seed for a failure of > {{TestBKDTree.testRandomMedium()}} on branch_5x with Java8: > {noformat} > [junit4] Suite: org.apache.lucene.bkdtree.TestBKDTree >[junit4] 1> T1: id=29784 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29528 >[junit4] 1> lat=86.88086835667491 lon=-8.821268286556005 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=29801 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29545 >[junit4] 1> lat=86.88149104826152 lon=-9.34366637840867 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=29961 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29705 >[junit4] 1> lat=86.8706679996103 lon=-9.38328042626381 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=30015 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29759 >[junit4] 1> lat=86.84762765653431 lon=-9.44802425801754 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=30017 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29761 >[junit4] 1> lat=86.8753323610872 lon=-9.091365560889244 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=30042 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29786 >[junit4] 1> lat=86.85837233439088 lon=-9.127480667084455 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=30061 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29805 >[junit4] 1> lat=86.85876209288836
[jira] [Updated] (LUCENE-6956) TestBKDTree.testRandomMedium() failure: some hits were wrong
[ https://issues.apache.org/jira/browse/LUCENE-6956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nicholas Knize updated LUCENE-6956: --- Attachment: LUCENE-6956.patch Updated patch to address comments. Note: distance size restriction was added back and new issue LUCENE-6994 was opened to investigate distance accuracy issues. > TestBKDTree.testRandomMedium() failure: some hits were wrong > > > Key: LUCENE-6956 > URL: https://issues.apache.org/jira/browse/LUCENE-6956 > Project: Lucene - Core > Issue Type: Bug >Reporter: Steve Rowe >Assignee: Michael McCandless > Attachments: LUCENE-6956.patch, LUCENE-6956.patch, LUCENE-6956.patch, > LUCENE-6956.patch > > > My Jenkins found a reproducible seed for a failure of > {{TestBKDTree.testRandomMedium()}} on branch_5x with Java8: > {noformat} > [junit4] Suite: org.apache.lucene.bkdtree.TestBKDTree >[junit4] 1> T1: id=29784 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29528 >[junit4] 1> lat=86.88086835667491 lon=-8.821268286556005 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=29801 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29545 >[junit4] 1> lat=86.88149104826152 lon=-9.34366637840867 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=29961 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29705 >[junit4] 1> lat=86.8706679996103 lon=-9.38328042626381 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=30015 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29759 >[junit4] 1> lat=86.84762765653431 lon=-9.44802425801754 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=30017 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29761 >[junit4] 1> lat=86.8753323610872 lon=-9.091365560889244 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=30042 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29786 >[junit4] 1> lat=86.85837233439088 lon=-9.127480667084455 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=30061 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29805 >[junit4] 1> lat=86.85876209288836 lon=-9.408821929246187 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=30077 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29821 >[junit4] 1> lat=86.84681385755539 lon=-8.837449550628662 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=30185 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456]
[jira] [Updated] (LUCENE-6956) TestBKDTree.testRandomMedium() failure: some hits were wrong
[ https://issues.apache.org/jira/browse/LUCENE-6956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nicholas Knize updated LUCENE-6956: --- Attachment: LUCENE-6956.patch Updated patch that includes all feedback. > TestBKDTree.testRandomMedium() failure: some hits were wrong > > > Key: LUCENE-6956 > URL: https://issues.apache.org/jira/browse/LUCENE-6956 > Project: Lucene - Core > Issue Type: Bug >Reporter: Steve Rowe >Assignee: Michael McCandless > Attachments: LUCENE-6956.patch, LUCENE-6956.patch, LUCENE-6956.patch > > > My Jenkins found a reproducible seed for a failure of > {{TestBKDTree.testRandomMedium()}} on branch_5x with Java8: > {noformat} > [junit4] Suite: org.apache.lucene.bkdtree.TestBKDTree >[junit4] 1> T1: id=29784 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29528 >[junit4] 1> lat=86.88086835667491 lon=-8.821268286556005 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=29801 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29545 >[junit4] 1> lat=86.88149104826152 lon=-9.34366637840867 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=29961 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29705 >[junit4] 1> lat=86.8706679996103 lon=-9.38328042626381 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=30015 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29759 >[junit4] 1> lat=86.84762765653431 lon=-9.44802425801754 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=30017 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29761 >[junit4] 1> lat=86.8753323610872 lon=-9.091365560889244 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=30042 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29786 >[junit4] 1> lat=86.85837233439088 lon=-9.127480667084455 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=30061 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29805 >[junit4] 1> lat=86.85876209288836 lon=-9.408821929246187 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=30077 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29821 >[junit4] 1> lat=86.84681385755539 lon=-8.837449550628662 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=30185 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29929 >[junit4] 1>
[jira] [Updated] (LUCENE-6956) TestBKDTree.testRandomMedium() failure: some hits were wrong
[ https://issues.apache.org/jira/browse/LUCENE-6956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nicholas Knize updated LUCENE-6956: --- Attachment: LUCENE-6956.patch The issue is related to the performance improvements added in LUCENE-6951. That approximation exploits characteristics of the range based GeoPoint encoding which are "well formed" quad cells. Much like the issue seen with range queries and BKD's tendency to create exotic splits, the polygon approximation can fail with these irregular rectangles. The attached patch changes the following: * add the original rectCrossesPoly method and uses it for more "precise" relations required by BKD. * remove tolerance comparisons from {{GeoRelationUtils.pointInRect}}. This method should operate independent of the tolerance factor. * for LatLonPoint BoundingBox queries, ignore false positives/negatives that are within TOLERANCE rounding error > TestBKDTree.testRandomMedium() failure: some hits were wrong > > > Key: LUCENE-6956 > URL: https://issues.apache.org/jira/browse/LUCENE-6956 > Project: Lucene - Core > Issue Type: Bug >Reporter: Steve Rowe >Assignee: Michael McCandless > Attachments: LUCENE-6956.patch > > > My Jenkins found a reproducible seed for a failure of > {{TestBKDTree.testRandomMedium()}} on branch_5x with Java8: > {noformat} > [junit4] Suite: org.apache.lucene.bkdtree.TestBKDTree >[junit4] 1> T1: id=29784 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29528 >[junit4] 1> lat=86.88086835667491 lon=-8.821268286556005 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=29801 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29545 >[junit4] 1> lat=86.88149104826152 lon=-9.34366637840867 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=29961 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29705 >[junit4] 1> lat=86.8706679996103 lon=-9.38328042626381 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=30015 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29759 >[junit4] 1> lat=86.84762765653431 lon=-9.44802425801754 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=30017 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29761 >[junit4] 1> lat=86.8753323610872 lon=-9.091365560889244 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=30042 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29786 >[junit4] 1> lat=86.85837233439088 lon=-9.127480667084455 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=30061 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29805 >[junit4] 1> lat=86.85876209288836 lon=-9.408821929246187 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=30077 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317,
[jira] [Updated] (LUCENE-6956) TestBKDTree.testRandomMedium() failure: some hits were wrong
[ https://issues.apache.org/jira/browse/LUCENE-6956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nicholas Knize updated LUCENE-6956: --- Attachment: LUCENE-6956.patch > TestBKDTree.testRandomMedium() failure: some hits were wrong > > > Key: LUCENE-6956 > URL: https://issues.apache.org/jira/browse/LUCENE-6956 > Project: Lucene - Core > Issue Type: Bug >Reporter: Steve Rowe >Assignee: Michael McCandless > Attachments: LUCENE-6956.patch, LUCENE-6956.patch > > > My Jenkins found a reproducible seed for a failure of > {{TestBKDTree.testRandomMedium()}} on branch_5x with Java8: > {noformat} > [junit4] Suite: org.apache.lucene.bkdtree.TestBKDTree >[junit4] 1> T1: id=29784 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29528 >[junit4] 1> lat=86.88086835667491 lon=-8.821268286556005 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=29801 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29545 >[junit4] 1> lat=86.88149104826152 lon=-9.34366637840867 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=29961 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29705 >[junit4] 1> lat=86.8706679996103 lon=-9.38328042626381 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=30015 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29759 >[junit4] 1> lat=86.84762765653431 lon=-9.44802425801754 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=30017 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29761 >[junit4] 1> lat=86.8753323610872 lon=-9.091365560889244 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=30042 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29786 >[junit4] 1> lat=86.85837233439088 lon=-9.127480667084455 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=30061 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29805 >[junit4] 1> lat=86.85876209288836 lon=-9.408821929246187 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=30077 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29821 >[junit4] 1> lat=86.84681385755539 lon=-8.837449550628662 >[junit4] 1> deleted?=false >[junit4] 1> T1: id=30185 should match but did not >[junit4] 1> small=true query=BKDPointInPolygonQuery: field=point: > Points: [-9.594408497214317, 86.83882305398583] [-9.594408497214317, > 86.8827043287456] [-8.752231243997812, 86.8827043287456] [-8.752231243997812, > 86.83882305398583] [-9.594408497214317, 86.83882305398583] docID=29929 >[junit4] 1> lat=86.84285902418196 lon=-9.196635894477367 >[junit4]