[ML] Add runtime mappings to data frame analytics source config (#69183)

Users can now specify runtime mappings as part of the source config
of a data frame analytics job. Those runtime mappings become part of
the mapping of the destination index. This ensures the fields are
accessible in the destination index even if the relevant data frame
analytics job gets deleted.

Closes #65056
This commit is contained in:
Dimitris Athanasiou 2021-02-19 16:29:19 +02:00 committed by GitHub
parent 623f547c9f
commit 7fb98c0d3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
35 changed files with 665 additions and 119 deletions

View file

@ -55,7 +55,8 @@ include-tagged::{doc-tests-file}[{api}-source-config]
<1> Constructing a new DataFrameAnalyticsSource
<2> The source index
<3> The query from which to gather the data. If query is not set, a `match_all` query is used by default.
<4> Source filtering to select which fields will exist in the destination index.
<4> Runtime mappings that will be added to the destination index mapping.
<5> Source filtering to select which fields will exist in the destination index.
===== QueryConfig