Skip to content

Conversation

@jordan-powers
Copy link
Contributor

@jordan-powers jordan-powers commented Sep 26, 2025

Currently we always set the index.mapping.pattern_text.disable_templating setting for every standard-mode index.
This is a bit excessive, so this PR updates the logic to only include the setting if pattern_text field mappers are in use.

For now, as a first pass, we'll only check for pattern_text usage in the fields message and error.message.

This is an alternate approach to #135561

@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

@jordan-powers
Copy link
Contributor Author

Closed in favor of #135561

@jordan-powers jordan-powers deleted the disable-pattern-text-only-some-fields branch October 1, 2025 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants