Skip to content

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.
@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 v9.0.1 labels Apr 9, 2025
@elasticsearchmachine elasticsearchmachine merged commit a4f6c0c into elastic:9.0 Apr 9, 2025
16 checks passed
@mayya-sharipova mayya-sharipova deleted the sort_other_numeric_types_90 branch April 9, 2025 17:25
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 v9.0.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants