Skip to content

Conversation

romseygeek
Copy link
Contributor

Instead of passing five separate parameters which are all available
from one IndexSettings object, just pass that one object.

Instead of passing five separate parameters which are all available
from one IndexSettings object, just pass that one object.
@elasticsearchmachine
Copy link
Collaborator

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

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!

The number of constructors really got out of hand here. Unfortunately this is also true for other field mapper builders.

@romseygeek romseygeek added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Oct 20, 2025
@elasticsearchmachine elasticsearchmachine merged commit 59fb5b6 into elastic:main Oct 20, 2025
34 checks passed
@romseygeek romseygeek deleted the tidy/date-field-builder branch October 20, 2025 12:12
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!) >non-issue :StorageEngine/Mapping The storage related side of mappings Team:StorageEngine v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants