[
https://issues.apache.org/jira/browse/LUCENE-5258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13788942#comment-13788942
]
Ted Dunning commented on LUCENE-5258:
-------------------------------------
Also, isn't the dot product formulation for distance faster and simpler in the
first place? I thought that the point of the spherical geometry formulations
was that they allowed direct use of log trig tables in the bad old days of
sextants and paper tables.
> add distance function to expressions/
> -------------------------------------
>
> Key: LUCENE-5258
> URL: https://issues.apache.org/jira/browse/LUCENE-5258
> Project: Lucene - Core
> Issue Type: New Feature
> Components: modules/other
> Reporter: Robert Muir
> Fix For: 5.0, 4.6
>
> Attachments: LUCENE-5258.patch
>
>
> Adding this static function makes it really easy to incorporate distance with
> the score or other signals in arbitrary ways, e.g. score / (1 +
> log(distance)) or whatever.
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]