lucene/lucene/expressions
Alan Woodward 26093735cc
LUCENE-8638: Expressions haversin() method should continue to return its value in km (#299)
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.
2021-09-14 14:01:10 +01:00
..
src LUCENE-8638: Expressions haversin() method should continue to return its value in km (#299) 2021-09-14 14:01:10 +01:00
build.gradle LUCENE-9321: Port markdown task to Gradle (#1477) 2020-05-17 14:46:26 +02:00