Skip to content

Commit d6abbfd

Browse files
committed
Add default datafeed query behaviour to operation description
1 parent e47601c commit d6abbfd

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/ml/put_datafeed/MlPutDatafeedRequest.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ import { Duration } from '@_types/Time'
3939
* Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job.
4040
* You can associate only one datafeed with each anomaly detection job.
4141
* The datafeed contains a query that runs at a defined interval (`frequency`).
42-
* If you are concerned about delayed data, you can add a delay (`query_delay`) at each interval.
42+
* If you are concerned about delayed data, you can add a delay (`query_delay') at each interval.
43+
* By default, the datafeed uses the following query: `{"match_all": {"boost": 1}}`.
44+
*
4345
* When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had
4446
* at the time of creation and runs the query using those same roles. If you provide secondary authorization headers,
4547
* those credentials are used instead.

0 commit comments

Comments
 (0)