-
Notifications
You must be signed in to change notification settings - Fork 25.3k
Enable synthetic source on normalized keyword mappings #126623
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
Open
not-napoleon
wants to merge
41
commits into
elastic:main
Choose a base branch
from
not-napoleon:generate-mappings-with-normalizers
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
2a878cf
add tests with normalizer mappings
not-napoleon 0720fe7
fix KeywordFieldBlockLoaderTests
not-napoleon 625938f
Update docs/changelog/126623.yaml
not-napoleon e26e543
proof of concept
not-napoleon c8a0025
better, but not done
not-napoleon f8194ae
Merge remote-tracking branch 'refs/remotes/not-napoleon/generate-mapp…
not-napoleon 6b20735
[CI] Auto commit changes from spotless
elasticsearchmachine e829823
account for normalizing null values
not-napoleon d2efb0b
remove code I'd only commened out
not-napoleon c2a11e3
Merge remote-tracking branch 'refs/remotes/not-napoleon/generate-mapp…
not-napoleon 417b084
Merge branch 'main' into generate-mappings-with-normalizers
not-napoleon 949f42f
fix yaml tests
not-napoleon 0ed6a2b
add test for opting out via keep all
not-napoleon 8d29695
Update docs/changelog/126623.yaml
not-napoleon 4478a76
Merge branch 'main' into generate-mappings-with-normalizers
not-napoleon e1f5958
fix merge semantic confilct
not-napoleon 70dd8e7
changelog
not-napoleon 0984db0
add test feature to gate the tests
not-napoleon 63338d7
fix changelog, again
not-napoleon 8c91da5
fix yaml
not-napoleon 9110abe
remove no commit
not-napoleon c747219
skip the rest compatbility test for the breaking change
not-napoleon 35153c1
unvar
not-napoleon aed9477
Feedback from MVG on fields with both keyword and text subfields
not-napoleon 5c9f989
Merge branch 'main' into generate-mappings-with-normalizers
not-napoleon 270f066
fix exact subfield tests
not-napoleon 5039f3c
skip BWC for tests we expect to break
not-napoleon 2fda1a4
Merge branch 'main' into generate-mappings-with-normalizers
not-napoleon a739e87
put the Rest Compatibility skip in the right place
not-napoleon 030bb9c
Merge remote-tracking branch 'refs/remotes/not-napoleon/generate-mapp…
not-napoleon 10cf2d1
Update docs/changelog/126623.yaml
not-napoleon d28b168
Merge branch 'main' into generate-mappings-with-normalizers
not-napoleon 4ed5e3e
Update changelog
not-napoleon f158c00
Merge branch 'main' into generate-mappings-with-normalizers
not-napoleon fbe4adb
Update docs/changelog/126623.yaml
not-napoleon 0ca54e9
fix changelog, again
not-napoleon 86e5b22
response to PR feedback
not-napoleon 63bf7d1
Revert "Feedback from MVG on fields with both keyword and text subfie…
not-napoleon 43b1075
Revert "fix exact subfield tests"
not-napoleon 2b9d384
leaving a note for future investigation
not-napoleon 3b33b15
Update docs/changelog/126623.yaml
not-napoleon 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,16 @@ | ||
pr: 126623 | ||
summary: Enable synthetic source on normalized keyword mappings | ||
area: Mapping | ||
type: "breaking, enhancement" | ||
issues: | ||
- 124369 | ||
- 121358 | ||
breaking: | ||
title: Enable synthetic source on normalized keyword mappings | ||
area: Mapping | ||
details: |- | ||
This changes the default behavior for Synthetic Source on keyword fields using normalizers. Prior to this change, normalized keywords were always stored to allow returning the non-normalized values. Under this change, such field will NOT be stored (i.e they will be synthesized from the index when returning source, like all other synthetic source fields). This should result in considerable space improvement for this use case. | ||
Users can opt out of this behavior on a per-field basis by setting `synthetic_source_keep` to `all` on the field. | ||
impact: "By default, normalized keyword fields in synthetic source indices will\ | ||
\ no longer return the non-normalized value in the source." | ||
notable: false |
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we mention why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.