[ML] adds new for_export flag to GET _ml/inference API (#57351)

Adds a new boolean flag, `for_export` to the `GET _ml/inference/<model_id>` API.

This flag is useful for moving models between clusters.
This commit is contained in:
Benjamin Trent 2020-05-29 12:29:28 -04:00 committed by GitHub
parent b483246868
commit 251b17009a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 115 additions and 13 deletions

View file

@ -32,6 +32,9 @@ include-tagged::{doc-tests-file}[{api}-request]
<6> An optional list of tags used to narrow the model search. A Trained Model
can have many tags or none. The trained models in the response will
contain all the provided tags.
<7> Optional boolean value indicating if certain fields should be removed on
retrieval. This is useful for getting the trained model in a format that
can then be put into another cluster.
include::../execution.asciidoc[]