Skip to content

Conversation

jordan-powers
Copy link
Contributor

@jordan-powers jordan-powers commented Oct 9, 2025

Currently, when a dynamic array field trips index.mapping.total_fields.limit and is ignored due to index.mapping.total_fields.ignore_dynamic_beyond_limit, the leaf name is stored in _ignored.

This is inconsistent with single-valued fields where the full path is stored in _ignored:

This PR updates the logic so that in both cases, the full path is stored.

@elasticsearchmachine
Copy link
Collaborator

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

@elasticsearchmachine
Copy link
Collaborator

Hi @jordan-powers, I've created a changelog YAML for you.

@jordan-powers jordan-powers added auto-backport Automatically create backport pull requests when merged v9.2.0 v8.19.6 v9.1.6 v9.0.9 v8.18.9 labels Oct 9, 2025
Copy link
Contributor

@parkertimmins parkertimmins left a comment

Choose a reason for hiding this comment

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

Looks good to me. Nice find!

@jordan-powers jordan-powers merged commit e3a2a38 into elastic:main Oct 9, 2025
34 checks passed
jordan-powers added a commit to jordan-powers/elasticsearch that referenced this pull request Oct 9, 2025
…c#136315)

Currently, when a dynamic array field trips `index.mapping.total_fields.
limit` and is ignored due to `index.mapping.total_fields.
ignore_dynamic_beyond_limit`, the leaf name is stored in _ignored.

This is inconsistent with single-valued fields where the full path is
stored in _ignored.

This PR updates the logic so that in both cases, the full path is stored.
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
9.2
8.19
9.1
9.0
8.18

jordan-powers added a commit to jordan-powers/elasticsearch that referenced this pull request Oct 9, 2025
…c#136315)

Currently, when a dynamic array field trips `index.mapping.total_fields.
limit` and is ignored due to `index.mapping.total_fields.
ignore_dynamic_beyond_limit`, the leaf name is stored in _ignored.

This is inconsistent with single-valued fields where the full path is
stored in _ignored.

This PR updates the logic so that in both cases, the full path is stored.
jordan-powers added a commit to jordan-powers/elasticsearch that referenced this pull request Oct 9, 2025
…c#136315)

Currently, when a dynamic array field trips `index.mapping.total_fields.
limit` and is ignored due to `index.mapping.total_fields.
ignore_dynamic_beyond_limit`, the leaf name is stored in _ignored.

This is inconsistent with single-valued fields where the full path is
stored in _ignored.

This PR updates the logic so that in both cases, the full path is stored.
jordan-powers added a commit to jordan-powers/elasticsearch that referenced this pull request Oct 9, 2025
…c#136315)

Currently, when a dynamic array field trips `index.mapping.total_fields.
limit` and is ignored due to `index.mapping.total_fields.
ignore_dynamic_beyond_limit`, the leaf name is stored in _ignored.

This is inconsistent with single-valued fields where the full path is
stored in _ignored.

This PR updates the logic so that in both cases, the full path is stored.
elasticsearchmachine pushed a commit that referenced this pull request Oct 9, 2025
… (#136326)

Currently, when a dynamic array field trips `index.mapping.total_fields.
limit` and is ignored due to `index.mapping.total_fields.
ignore_dynamic_beyond_limit`, the leaf name is stored in _ignored.

This is inconsistent with single-valued fields where the full path is
stored in _ignored.

This PR updates the logic so that in both cases, the full path is stored.
elasticsearchmachine pushed a commit that referenced this pull request Oct 9, 2025
… (#136325)

Currently, when a dynamic array field trips `index.mapping.total_fields.
limit` and is ignored due to `index.mapping.total_fields.
ignore_dynamic_beyond_limit`, the leaf name is stored in _ignored.

This is inconsistent with single-valued fields where the full path is
stored in _ignored.

This PR updates the logic so that in both cases, the full path is stored.
elasticsearchmachine pushed a commit that referenced this pull request Oct 9, 2025
… (#136324)

Currently, when a dynamic array field trips `index.mapping.total_fields.
limit` and is ignored due to `index.mapping.total_fields.
ignore_dynamic_beyond_limit`, the leaf name is stored in _ignored.

This is inconsistent with single-valued fields where the full path is
stored in _ignored.

This PR updates the logic so that in both cases, the full path is stored.
elasticsearchmachine pushed a commit that referenced this pull request Oct 9, 2025
… (#136323)

Currently, when a dynamic array field trips `index.mapping.total_fields.
limit` and is ignored due to `index.mapping.total_fields.
ignore_dynamic_beyond_limit`, the leaf name is stored in _ignored.

This is inconsistent with single-valued fields where the full path is
stored in _ignored.

This PR updates the logic so that in both cases, the full path is stored.
elasticsearchmachine pushed a commit that referenced this pull request Oct 9, 2025
… (#136322)

Currently, when a dynamic array field trips `index.mapping.total_fields.
limit` and is ignored due to `index.mapping.total_fields.
ignore_dynamic_beyond_limit`, the leaf name is stored in _ignored.

This is inconsistent with single-valued fields where the full path is
stored in _ignored.

This PR updates the logic so that in both cases, the full path is stored.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Automatically create backport pull requests when merged >bug :StorageEngine/Mapping The storage related side of mappings Team:StorageEngine v8.18.9 v8.19.6 v9.0.9 v9.1.6 v9.2.0 v9.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants