Skip to content

Commit 24ecc02

Browse files
committed
Add overlay for ML data frame analytics job query
1 parent ad4ea1e commit 24ecc02

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/overlays/elasticsearch-shared-overlays.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,23 @@ actions:
4343
externalDocs:
4444
url: https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-tokenizers.html
4545
description: Tokenizer reference
46+
- target: "$.components['schemas']['ml._types:DataframeAnalyticsSource'].properties.query"
47+
description: Remove query object from ML data frame analytics source
48+
remove: true
49+
- target: "$.components['schemas']['ml._types:DataframeAnalyticsSource'].properties"
50+
description: Re-add a simplified query object in ML data frame analytics source
51+
update:
52+
query:
53+
x-abbreviated: true
54+
type: object
55+
description: >
56+
The Elasticsearch query domain-specific language (DSL).
57+
This value corresponds to the query object in an Elasticsearch search POST body.
58+
All the options that are supported by Elasticsearch can be used, as this object is passed verbatim to Elasticsearch.
59+
By default, this property has the following value: `{"match_all": {}}`.
60+
externalDocs:
61+
url: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl.html
62+
description: Query DSL
4663
# Examples
4764
- target: "$.components['requestBodies']['async_search.submit']"
4865
description: "Add example for asynch search submit request"

0 commit comments

Comments
 (0)