elasticsearch/elasticsearch — pull request #6065 by jpountz (2014-05-06 14:00:54+00:00)
Title: Use GeoUtils.earthDiameter in the bounding box optimization.

We switched to Lucene's SloppyMath way of computing an approximate value of
the eath diameter given a latitude in order to compute distances, yet the
bounding box optimization of the geo distance filter still assumed a constant
earth diameter, equal to the average.

Close #6008