romseygeek opened a new pull request #299: URL: https://github.com/apache/lucene/pull/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. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
