danrosher commented on PR #940:
URL: https://github.com/apache/solr/pull/940#issuecomment-1207992275

   
   > I think the core of the idea is good here. Big thing missing is an update 
to the ref guide, probably function-queries.adoc or spatial-search.adoc?
   > 
   
   When i get a moment I'll ad something to spatial-search.adoc perhaps?
   
   > Another thought I had was how exactly do we expect users to use this. If 
they're still going to be providing indexable data in lat/long and also 
expecting lat/long for output information, then will this really be faster than 
using haversine? Or does it move the computation to the indexing side when we 
only have to do it once, so over multiple queries the total time taken gets 
reduced...
   
   This moves most of the calculation to the indexing side. We then only need 
to calculate an n-vector for the input lat/lon. The sorting can then be done on 
the dot-product alone. Users can optionally index spatial data in multiple 
formats (e.g. LanLonSpatialField and NVectorField) should they find that a 
performance boost. N-Vector provides faster comparison  (and great circle 
distance calculation) than haversine, additionally without caveats, or accuracy 
degradation, for calculations at poles/equator etc.
   


-- 
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]

Reply via email to