Skip to content

Correct a code snippet in removal_of_types. #45118

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
merged 1 commit into from
Aug 6, 2019

Conversation

jtibshirani
Copy link
Contributor

@jtibshirani jtibshirani commented Aug 1, 2019

Previously, the reindex examples did not include _doc as the destination
type. On 6.x this would result in the reindex failing with the error "Rejecting
mapping update to [users] as the final mapping would have more than 1 type:
[_doc, user]".

Relates to #43100.

Previously, the reindex examples did not include `_doc` as the destination type.
This would result in the reindex failing with the error "Rejecting mapping
update to [users] as the final mapping would have more than 1 type: [_doc,
user]".
@jtibshirani jtibshirani added >docs General docs changes :Search Foundations/Mapping Index mappings, including merging and defining field types labels Aug 1, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-docs

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search

@jtibshirani
Copy link
Contributor Author

@elasticmachine test this please

Copy link
Contributor

@pcsanwald pcsanwald left a comment

Choose a reason for hiding this comment

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

LGTM, assuming from your comment we'll backport to 6.x?

@jtibshirani
Copy link
Contributor Author

Thanks for the review! Right, I will backport to 6.7 and 6.8 at least.

@jtibshirani jtibshirani merged commit 5fc7880 into elastic:master Aug 6, 2019
@jtibshirani jtibshirani deleted the reindex-dest-type branch August 6, 2019 20:54
jtibshirani added a commit that referenced this pull request Aug 6, 2019
Previously, the reindex examples did not include `_doc` as the destination type.
This would result in the reindex failing with the error "Rejecting mapping
update to [users] as the final mapping would have more than 1 type: [_doc,
user]".

Relates to #43100.
jtibshirani added a commit that referenced this pull request Aug 6, 2019
Previously, the reindex examples did not include `_doc` as the destination type.
This would result in the reindex failing with the error "Rejecting mapping
update to [users] as the final mapping would have more than 1 type: [_doc,
user]".

Relates to #43100.
jtibshirani added a commit that referenced this pull request Aug 6, 2019
Previously, the reindex examples did not include `_doc` as the destination type.
This would result in the reindex failing with the error "Rejecting mapping
update to [users] as the final mapping would have more than 1 type: [_doc,
user]".

Relates to #43100.
jtibshirani added a commit that referenced this pull request Aug 6, 2019
Previously, the reindex examples did not include `_doc` as the destination type.
This would result in the reindex failing with the error "Rejecting mapping
update to [users] as the final mapping would have more than 1 type: [_doc,
user]".

Relates to #43100.
jtibshirani added a commit that referenced this pull request Aug 6, 2019
Previously, the reindex examples did not include `_doc` as the destination type.
This would result in the reindex failing with the error "Rejecting mapping
update to [users] as the final mapping would have more than 1 type: [_doc,
user]".

Relates to #43100.
jtibshirani added a commit that referenced this pull request Aug 6, 2019
Previously, the reindex examples did not include `_doc` as the destination type.
This would result in the reindex failing with the error "Rejecting mapping
update to [users] as the final mapping would have more than 1 type: [_doc,
user]".

Relates to #43100.
jtibshirani added a commit that referenced this pull request Aug 6, 2019
Previously, the reindex examples did not include `_doc` as the destination type.
This would result in the reindex failing with the error "Rejecting mapping
update to [users] as the final mapping would have more than 1 type: [_doc,
user]".

Relates to #43100.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants