You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2015/09/10 11:35:46 UTC

[jira] [Updated] (LUCENE-6698) Add BKDDistanceQuery

     [ https://issues.apache.org/jira/browse/LUCENE-6698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael McCandless updated LUCENE-6698:
---------------------------------------
    Attachment: LUCENE-6698.patch

Work-in-progress patch, but the test fails, I *think* because {{GeoUtils.rectCrossesCircle}} is buggy.

I reduced it to this small test case which I think should pass, unless I'm using the {[GeoUtils}} API incorrectly?:

{noformat}
  public void testRectCrossesCircle() throws Exception {
    assertTrue(GeoUtils.rectCrossesCircle(-180, -90, 180, 0.0, 0.667, 0.0, 88000.0));
  }
{noformat}


> Add BKDDistanceQuery
> --------------------
>
>                 Key: LUCENE-6698
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6698
>             Project: Lucene - Core
>          Issue Type: New Feature
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>         Attachments: LUCENE-6698.patch
>
>
> Our BKD tree impl should be very fast at doing "distance from lat/lon center point < X" query.
> I haven't started this ... [~nknize] expressed interest in working on it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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