Skip to content

Conversation

@jordan-powers
Copy link
Contributor

Backport

This will backport the following commits from main to 9.1:

Questions ?

Please refer to the Backport tool documentation

Currently, the CompositeSyntheticFieldLoaders for the various text-family
field mappers only load the stored fields containing the original
non-ignored values if ignore_above is set to a non-default value. But if a
value is ignored due to hitting a default ignore_above limit, it won't be
loaded by the field loader. This PR corrects that logic.

Fixes elastic#137360.

Co-authored-by: Felix Barnsteiner <[email protected]>
(cherry picked from commit 61025ff)

# Conflicts:
#	modules/mapper-extras/src/main/java/org/elasticsearch/index/mapper/extras/MatchOnlyTextFieldMapper.java
#	server/src/main/java/org/elasticsearch/index/mapper/KeywordFieldMapper.java
#	server/src/main/java/org/elasticsearch/index/mapper/TextFieldMapper.java
@jordan-powers jordan-powers requested a review from a team as a code owner October 31, 2025 01:25
@jordan-powers jordan-powers added >bug auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) Team:StorageEngine :StorageEngine/Mapping The storage related side of mappings labels Oct 31, 2025
@elasticsearchmachine elasticsearchmachine merged commit ed8a397 into elastic:9.1 Oct 31, 2025
35 checks passed
@jordan-powers jordan-powers deleted the backport/9.1/pr-137394 branch October 31, 2025 02:33
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 >bug :StorageEngine/Mapping The storage related side of mappings Team:StorageEngine v9.1.7

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants