Skip to content

Conversation

@romseygeek
Copy link
Contributor

This adds a new abstract method to MapperTestCase for checking whether
a particular field type configuration supports competitive iterators during
sorting.

@romseygeek romseygeek requested a review from martijnvg October 31, 2025 11:32
@romseygeek romseygeek self-assigned this Oct 31, 2025
@romseygeek romseygeek added >test Issues or PRs that are addressing/adding tests :StorageEngine/Mapping The storage related side of mappings v9.3.0 labels Oct 31, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-storage-engine (Team:StorageEngine)

@romseygeek
Copy link
Contributor Author

This is a first step, in that it only checks cases where the test declares a particular configuration. In follow-ups I want to add failsafe checks so that if the default configuration of a field supports sorting, then returning an empty set of sort specifications will cause a test failure.

@romseygeek
Copy link
Contributor Author

@elasticmachine run elasticsearch-ci/part-2 please

Copy link
Member

@martijnvg martijnvg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@romseygeek romseygeek added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Nov 3, 2025
@romseygeek romseygeek merged commit 1b74ec0 into elastic:main Nov 3, 2025
34 checks passed
@romseygeek romseygeek deleted the sort/base-fieldmapper-sort-tests branch November 3, 2025 15:39
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!) :StorageEngine/Mapping The storage related side of mappings Team:StorageEngine >test Issues or PRs that are addressing/adding tests v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants