When running geo_line aggregation, the sort_order has no effect #94733
Labels
:Analytics/Geo
Indexing, search aggregations of geo points and shapes
>bug
Team:Analytics
Meta label for analytical engine team (ESQL/Aggs/Geo)
Elasticsearch Version
all supported versions
Installed Plugins
No response
Java Version
bundled
OS Version
MacOSX (Darwin Kernel Version 22.3.0 arm64)
Problem Description
The documentation for
geo_line
claims that the optionsort_order
can be eitherASC
(default) orDESC
:However, when testing this, no matter which you choose the actual order of points in the result is always
ASC
by the value of thesort
field.Steps to Reproduce
Create an index with a geo_point and a
Add data with appropriate rank values:
Query with
ASC
sort order:And get expected result:
Query with
DESC
sort order:But you get exactly the same result as the previous query. However, we expect the sort order to have been reversed and we expect the following result instead:
Logs (if relevant)
No response
The text was updated successfully, but these errors were encountered: