elasticsearch/elasticsearch — pull request #4580 by chilling (2014-01-02 10:39:36+00:00)
Title: Geo Clean Up

* Changed all internal metrics to `Meters`
* Introduced `GeoDistance.DEFAULT` with convertion methods
* Changed script functions
* `distance()` changed result unit from *Miles* to `DEFAULT` (*Meters*)
* `distanceInMiles()` change naming
* Changed `GeoDistance` and `GeoBoungingBox` related classes to handle
`north_west` and `south_east` instead of `top_left` and `bottom_right`.
Also fields for `south_west` and `north_east`
* Adopted Tests

Closes #4515, #4084