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

GeoPointField should use full 64 bit encoding

Details

    • Improvement
    • Status: Reopened
    • Major
    • Resolution: Fixed
    • None
    • 5.3, 6.0
    • None
    • None
    • New

    Description

      Current GeoPointField uses 31 bits for each lat and long, respectively. This causes a precision error for the maximum bounds for 2D mapping applications (e.g., instead of maximum of 180, 90 the max value handled is 179.999999, 89.999999).

      This issue improves precision for the full 2D map boundaries by using the full 32 bit range for lat/lon values, resulting in a morton hash using the full 64 bit range.

      Attachments

        1. LUCENE-6710.patch
          3 kB
          Nick Knize
        2. LUCENE-6710.patch
          3 kB
          Michael McCandless

        Activity

          People

            Unassigned Unassigned
            nknize Nick Knize
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: