Skip to content

Enable sort optimization on float and half_float (#126342) #126530

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

Merged

Conversation

mayya-sharipova
Copy link
Contributor

Before we enabled sort optimization on long, double and date types, but left other types for follow-up.

This enables sort optimization on float and half_float types.

Optimizations on INT, BYTE, SHORT are left for follow-up, because they need more work: we currently use SORT.LONG type for all integer types and this doesn't allow to use optimization.

Backport for #126342

Before we enabled sort optimization on long, double and date types,
but left other types for follow-up.

This enables sort optimization on float and half_float types.

Optimizations on INT, BYTE, SHORT are left for follow-up,
because they need more work: we currently use SORT.LONG
type for all integer types and this doesn't allow to use
optimization.

Backport for elastic#126342
@mayya-sharipova mayya-sharipova added >enhancement backport auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :Search Relevance/Search Catch all for Search Relevance v8.19.0 labels Apr 9, 2025
@elasticsearchmachine elasticsearchmachine merged commit 55a9f8d into elastic:8.x Apr 9, 2025
15 checks passed
@mayya-sharipova mayya-sharipova deleted the sort_other_numeric_types_8x branch April 9, 2025 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >enhancement :Search Relevance/Search Catch all for Search Relevance v8.19.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants