Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-7150

geo3d public APIs should match the 2D apis?

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.1, 7.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      I'm struggling to benchmark the equivalent to LatLonPoint.newDistanceQuery in the geo3d world.

      Ideally, I think we'd have a Geo3DPoint.newDistanceQuery? And it would take degrees, not radians, and radiusMeters, not an angle?

      And if I index and search using PlanetModel.SPHERE I think it should ideally give the same results as LatLonPoint.newDistanceQuery, which uses haversin.

        Attachments

        1. LUCENE-7150.patch
          6 kB
          Karl Wright
        2. LUCENE-7150.patch
          7 kB
          Karl Wright
        3. LUCENE-7150.patch
          9 kB
          Karl Wright
        4. LUCENE-7150.patch
          9 kB
          Karl Wright
        5. LUCENE-7150-sphere.patch
          12 kB
          Michael McCandless
        6. LUCENE-7150.patch
          10 kB
          Karl Wright
        7. LUCENE-7150.patch
          14 kB
          Michael McCandless

          Activity

            People

            • Assignee:
              kwright@metacarta.com Karl Wright
              Reporter:
              mikemccand Michael McCandless
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: