[ 
https://issues.apache.org/jira/browse/LUCENE-7164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15222001#comment-15222001
 ] 

Uwe Schindler commented on LUCENE-7164:
---------------------------------------

Don't forget to change lucene-expressions Javascript function library to point 
to new function (it is defined in {{JavascriptCompiler.properties}}):

{noformat}
haversin = org.apache.lucene.util.SloppyMath, haversinKilometers, 4
{noformat}



> Refactor SloppyMath.haversin from SloppyMath to GeoUtils
> --------------------------------------------------------
>
>                 Key: LUCENE-7164
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7164
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Nicholas Knize
>
> The {{haversin}} method is currently in {{SloppyMath}} but is used 
> specifically for geo. With the new {{o.a.l.geo}} package in the core module 
> (LUCENE-7152) it makes more sense to refactor this to {{GeoUtils}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to