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

[Transform] Handle multi-fields properly when creating destination index. #66273

Merged
merged 5 commits into from
Dec 16, 2020

Conversation

przemekwitek
Copy link
Contributor

When source index contained a text & keyword field foo, creation of the destination index finished with error:

org.elasticsearch.ElasticsearchException: Elasticsearch exception [type=illegal_argument_exception, reason=can't merge a non object mapping [foo] with an object mapping]

This PR solves the problem by producing a proper mapping for a multi-field before creating the destination index.

Relates #65869

Marking >non-issue as this fix is for an unreleased feature.

@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core (:ml/Transform)

@przemekwitek
Copy link
Contributor Author

run elasticsearch-ci/default-distro

Copy link

@hendrikmuhs hendrikmuhs left a comment

Choose a reason for hiding this comment

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

LGTM

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

Successfully merging this pull request may close these issues.

4 participants