mirror of https://github.com/apache/lucene.git
26093735cc
SloppyMath had a deprecated haversin() function that returned its values in km, which has been replaced by a haversinMeters() function that is explicit about its units. As part of removing this function, we changed the expressions module haversin function to point instead to haversinMeters. However, this may silently change the behaviour of expressions on upgrade. This commit instead adds a haversinKilometers method to the expressions module and maps the haversin function to it. It also adds a new haversinMeters expression function to be more explicit for future users. |
||
---|---|---|
.. | ||
src | ||
build.gradle |