Open craigtaverner opened 2 weeks ago
Based on the specification at https://github.com/elastic/elasticsearch/issues/108212, we have implemented the ST_DISTANCE function in the PR at https://github.com/elastic/elasticsearch/pull/108764.
ST_DISTANCE
However, this does not perform any Lucene pushdown when sorting by distance and so will run slow for larger datasets. We need to implement a high-performance sort, presumably by pushing down to _geo_distance sorting.
Pinging @elastic/es-analytical-engine (Team:Analytics)
Based on the specification at https://github.com/elastic/elasticsearch/issues/108212, we have implemented the
ST_DISTANCE
function in the PR at https://github.com/elastic/elasticsearch/pull/108764.However, this does not perform any Lucene pushdown when sorting by distance and so will run slow for larger datasets. We need to implement a high-performance sort, presumably by pushing down to _geo_distance sorting.