You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix bug 94733 geo_line not respecting sort_order (#94734)
* Move unused geoline tests into correct location
The original geo_line PR included two yaml test files, one of which
was never used. This commit moves that test into the correct place,
and fixes a syntax error in the test.
* Fix geo_line sort order (#94733)
The code was re-sorting to ASC explicitly in the reduce phase.
No explanation was given. Removing this extra sort causes the
new yaml test to pass. Two failing java tests were fixed by no
longer explicitly expected ASC data when order was DESC.
* Update docs/changelog/94734.yaml
* Improve changelog text
* Added test for size in geo_line
* Add geo_line sort and limit test
Copy file name to clipboardExpand all lines: x-pack/plugin/spatial/src/main/java/org/elasticsearch/xpack/spatial/search/aggregations/InternalGeoLine.java
-4
Original file line number
Diff line number
Diff line change
@@ -110,10 +110,6 @@ public InternalAggregation reduce(List<InternalAggregation> aggregations, Aggreg
Copy file name to clipboardExpand all lines: x-pack/plugin/spatial/src/test/java/org/elasticsearch/xpack/spatial/search/aggregations/GeoLineAggregatorTests.java
Copy file name to clipboardExpand all lines: x-pack/plugin/spatial/src/test/java/org/elasticsearch/xpack/spatial/search/aggregations/InternalGeoLineTests.java
0 commit comments