[DOCS] Fix allow_no_match description for model APIs (#62008)
This commit is contained in:
parent
075271758e
commit
f0e7d88699
|
@ -55,7 +55,7 @@ include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=model-id]
|
|||
|
||||
`allow_no_match`::
|
||||
(Optional, boolean)
|
||||
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=allow-no-match]
|
||||
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=allow-no-match-models]
|
||||
|
||||
`from`::
|
||||
(Optional, integer)
|
||||
|
|
|
@ -57,7 +57,7 @@ include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=model-id]
|
|||
|
||||
`allow_no_match`::
|
||||
(Optional, boolean)
|
||||
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=allow-no-match]
|
||||
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=allow-no-match-models]
|
||||
|
||||
`decompress_definition`::
|
||||
(Optional, boolean)
|
||||
|
|
|
@ -62,6 +62,21 @@ when there are no matches or only partial matches.
|
|||
--
|
||||
end::allow-no-match[]
|
||||
|
||||
tag::allow-no-match-models[]
|
||||
Specifies what to do when the request:
|
||||
+
|
||||
--
|
||||
* Contains wildcard expressions and there are no models that match.
|
||||
* Contains the `_all` string or no identifiers and there are no matches.
|
||||
* Contains wildcard expressions and there are only partial matches.
|
||||
|
||||
The default value is `true`, which returns an empty array when there are no
|
||||
matches and the subset of results when there are partial matches. If this
|
||||
parameter is `false`, the request returns a `404` status code when there are no
|
||||
matches or only partial matches.
|
||||
--
|
||||
end::allow-no-match-models[]
|
||||
|
||||
tag::analysis[]
|
||||
Defines the type of {dfanalytics} you want to perform on your source index. For
|
||||
example: `outlier_detection`. See <<ml-dfa-analysis-objects>>.
|
||||
|
|
Loading…
Reference in New Issue