Skip to content
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

Copy old mappings to _meta section #83041

Merged
merged 7 commits into from Jan 27, 2022

Conversation

ywelsch
Copy link
Contributor

@ywelsch ywelsch commented Jan 25, 2022

For archival indices, where mappings might not be parseable by new ES versions anymore, copy the mapping to the _meta/legacy_mappings section.

Relates #81210

@ywelsch ywelsch added >non-issue :Search/Mapping Index mappings, including merging and defining field types v8.1.0 labels Jan 25, 2022
@elasticmachine elasticmachine added the Team:Search Meta label for search team label Jan 25, 2022
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search (Team:Search)

@ywelsch ywelsch mentioned this pull request Jan 25, 2022
32 tasks
@ywelsch
Copy link
Contributor Author

ywelsch commented Jan 25, 2022

@elasticmachine run elasticsearch-ci/part-2 (unrelated test failure)

@ywelsch ywelsch requested a review from dnhatn January 25, 2022 14:23
@ywelsch
Copy link
Contributor Author

ywelsch commented Jan 25, 2022

@elasticmachine update branch

@ywelsch
Copy link
Contributor Author

ywelsch commented Jan 25, 2022

@elasticmachine run elasticsearch-ci/packaging-tests-unix-sample

Copy link
Member

@dnhatn dnhatn left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks Yannick.

@ywelsch ywelsch merged commit 5707b65 into elastic:master Jan 27, 2022
@ywelsch
Copy link
Contributor Author

ywelsch commented Jan 27, 2022

Thanks @dnhatn!

jdconrad pushed a commit to jdconrad/elasticsearch that referenced this pull request Jan 27, 2022
For archival indices, where mappings might not be parseable by new ES versions anymore, copy the mapping to the `_meta/legacy_mappings` section.

Relates elastic#81210
tlrx pushed a commit to tlrx/elasticsearch that referenced this pull request Mar 3, 2022
For archival indices, where mappings might not be parseable by new ES versions anymore, copy the mapping to the `_meta/legacy_mappings` section.

Relates elastic#81210
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>non-issue :Search/Mapping Index mappings, including merging and defining field types Team:Search Meta label for search team v8.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants