Karl Wright created LUCENE-7942:
-----------------------------------
Summary: For Geo3d paths, aggregating distance values using "+" is
not adequate for squared distances
Key: LUCENE-7942
URL: https://issues.apache.org/jira/browse/LUCENE-7942
Project: Lucene - Core
Issue Type: Bug
Components: modules/spatial3d
Reporter: Karl Wright
Assignee: Karl Wright
The GeoStandardPath object aggregates distances segment by segment using simple
addition. For some kinds of Distance computations, though, addition is not an
adequate way to do this. The xxxSquaredDistance computations, for example, do
not produce true squared distances but rather a distance metric that is a
combination of both squared and linear.
I propose adding support in Distance for aggregation, which would allow
distance calculators to compute an accurate distance (at some computational
cost) instead.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]