-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Add sub-field support to flattened field type #144451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
parkertimmins
merged 44 commits into
elastic:main
from
parkertimmins:parker/flattened-sub-fields
Mar 26, 2026
+1,736
−59
Merged
Changes from 41 commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
a8751b8
Add properties support to flattened field type
parkertimmins a53c321
Improve flattened properties test assertions
parkertimmins 228cc5e
Merge branch 'main' into parker/flattened-sub-fields
parkertimmins ae4afd9
Add integration tests for flattened mapped properties
parkertimmins 5632999
Support synthetic source for flattened mapped properties
parkertimmins 4064d04
Add YAML REST tests for flattened mapped properties
parkertimmins 365b373
Fix mapped properties bugs in synthetic source and null handling
parkertimmins 6e72afe
Add tests and disallow copy_to/multi_fields on mapped properties
parkertimmins 1d496cb
Change XContent builders to json string
parkertimmins bcfbb9c
Dont' change existing tests to keep diff smaller
parkertimmins 60c598d
Fix block loader to include mapped property values
parkertimmins a1ac0a8
Update docs/changelog/144451.yaml
parkertimmins c248681
Merge branch 'main' into parker/flattened-sub-fields
parkertimmins 27bbd55
Use TreeMap for mapped properties to maintain sort order
parkertimmins 7a3dec6
Extract toPropertyLoaders helper for mapped properties
parkertimmins b29b0e8
[CI] Auto commit changes from spotless
4707a99
Address review feedback for mapped sub-fields
parkertimmins aab68c6
Use bulk indexing in flattened YAML REST tests
parkertimmins 07d2413
Convert unreachable instanceof check to assertion
parkertimmins 1c40e6e
Merge branch 'main' into parker/flattened-sub-fields
parkertimmins e880435
Merge branch 'main' into parker/flattened-sub-fields
parkertimmins 03a10fe
rename node feature
parkertimmins ee57871
[CI] Auto commit changes from spotless
7eb9d25
rename node feature
parkertimmins 18c516f
Fix flaky index sort test in CCS suite
parkertimmins 497bab3
remove forbidden api
parkertimmins 9712db5
[CI] Auto commit changes from spotless
eabfa99
Fix flattened subfield YAML test mapping
parkertimmins ad58602
Add test for flattened as multi-field rejection
parkertimmins 706406e
Move multivalued test to FlattenedMapperTests
parkertimmins d2313f1
Allow flattened type as multi-field of another field
parkertimmins bb2e4d7
Merge branch 'main' into parker/flattened-sub-fields
parkertimmins f5df0f2
update docs to mention that copy_to and fields are disallowed
parkertimmins 24074eb
Revert "Allow flattened type as multi-field of another field"
parkertimmins f9c335c
Use FieldMapper.TypeParser for FlattenedFieldMapper
parkertimmins 8ece334
simplify property merge logic
parkertimmins 545512a
Add KeyedFlattenedDocValuesBlockLoader tests
parkertimmins 24608c9
Fix incorrect assertion in yaml
parkertimmins f11b7bd
Remove settings disallowed in serverless from yaml test
parkertimmins b7c3f00
Merge branch 'main' into parker/flattened-sub-fields
parkertimmins 7cac114
Merge branch 'main' into parker/flattened-sub-fields
parkertimmins 1412da9
Fix flaky index sort yaml test for flattened fields
parkertimmins e3f7e98
refresh after force merge in sort yaml test
parkertimmins d6bc406
Merge branch 'main' into parker/flattened-sub-fields
parkertimmins File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| area: Mapping | ||
| issues: [] | ||
| pr: 144451 | ||
| summary: Add properties support to flattened field type | ||
| type: enhancement |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.