mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 23:27:25 -04:00
[ML] Add optional source filtering during data frame reindexing (#49690)
This adds a `_source` setting under the `source` setting of a data frame analytics config. The new `_source` is reusing the structure of a `FetchSourceContext` like `analyzed_fields` does. Specifying includes and excludes for source allows selecting which fields will get reindexed and will be available in the destination index. Closes #49531
This commit is contained in:
parent
f8e39d2ff1
commit
bad07b76f7
28 changed files with 521 additions and 127 deletions
|
@ -52,6 +52,7 @@ 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.
|
||||
|
||||
===== QueryConfig
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue