Skip to content

Conversation

@dimitris-athanasiou
Copy link
Contributor

We need to disable dynamic mapping to the destination
index of data frame analytics jobs. If the source index
has dynamic mapping disabled, then after reindexing it is
possible that we add mappings for fields that were previously
unmapped, thus making them eligible features. This is
confusing to the user.

This commit disables dynamic mapping to the destination index.
It makes all result field mappings explicit.

Backport of #65972

We need to disable dynamic mapping to the destination
index of data frame analytics jobs. If the source index
has dynamic mapping disabled, then after reindexing it is
possible that we add mappings for fields that were previously
unmapped, thus making them eligible features. This is
confusing to the user.

This commit disables dynamic mapping to the destination index.
It makes all result field mappings explicit.

Backport of elastic#65972
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core (:ml)

@dimitris-athanasiou dimitris-athanasiou merged commit a4703d7 into elastic:7.x Dec 8, 2020
@dimitris-athanasiou dimitris-athanasiou deleted the disable-dynamic-mapping-in-dfa-dest-index-7x branch December 8, 2020 12:27
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.

2 participants