-
Notifications
You must be signed in to change notification settings - Fork 25k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove deprecated sort mode from geo_sort #119789
Conversation
This removes the deprecated `sort_mode` key from `_geo_distance` sorting. It's been deprecated since 5.0.
Pinging @elastic/es-analytical-engine (Team:Analytics) |
Hi @nik9000, I've created a changelog YAML for you. Note that since this PR is labelled |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changelog needs updating
docs/changelog/119789.yaml
Outdated
@@ -0,0 +1,12 @@ | |||
pr: 119789 | |||
summary: Remove deprecated sort mode from `geo_sort` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
summary: Remove deprecated sort mode from `geo_sort` | |
summary: Remove deprecated `sort_mode` from sort by `_geo_distance` |
docs/changelog/119789.yaml
Outdated
type: breaking | ||
issues: [] | ||
breaking: | ||
title: Remove deprecated sort mode from `geo_sort` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
title: Remove deprecated sort mode from `geo_sort` | |
title: Remove deprecated `sort_mode` from sort by `_geo_distance` |
docs/changelog/119789.yaml
Outdated
breaking: | ||
title: Remove deprecated sort mode from `geo_sort` | ||
area: Geo | ||
details: Please describe the details of this change for the release notes. You can |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This section appears to be a template, and should be replaced.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated the changlog, but while area: Geo
was allowed, breaking.area: Geo
was not, so I changed that to breaking.area: Search
.
I wonder if we still need to support Rest API compatibility here, so if the user adds to the call |
Having talked with a few folks we're not going to remove this. It's just not worth disrupting the tiny percentage of users that might use this. I'm going to close this and add a comment saying such so folks don't try this again. |
Interesting, if we cannot remove anything as low impact as this (no behavioural change, only syntax change) deprecated as far back as 5.0, is it really possible to remove anything at all? |
This removes the deprecated
sort_mode
key from_geo_distance
sorting. It's been deprecated since 5.0.