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

Improve Spatial Utility like classes

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1
    • 4.0-ALPHA
    • modules/spatial
    • None
    • New

    Description

      • DistanceUnits can be improved by giving functionality to the enum, such as being able to convert between different units, and adding tests.
      • GeoHashUtils can be improved through some code tidying, documentation, and tests.
      • SpatialConstants allows us to move all constants, such as the radii and circumferences of Earth, to a single consistent location that we can then use throughout the contrib. This also allows us to improve the transparency of calculations done in the contrib, as users of the contrib can easily see the values being used. Currently this issues does not migrate classes to use these constants, that will happen in issues related to the appropriate classes.

      Attachments

        1. LUCENE-2147.patch
          17 kB
          Chris Male
        2. LUCENE-2147.patch
          17 kB
          Simon Willnauer
        3. LUCENE-2147.patch
          16 kB
          Chris Male
        4. LUCENE-2147.patch
          16 kB
          Chris Male
        5. LUCENE-2147.patch
          18 kB
          Simon Willnauer

        Issue Links

          Activity

            People

              simonw Simon Willnauer
              cmale Chris Male
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: