From f977632a17a9346d7cae7efadb99474f22d46a75 Mon Sep 17 00:00:00 2001 From: Dimitrios Athanasiou Date: Wed, 20 Dec 2017 14:37:27 +0000 Subject: [PATCH] [DOCS] Change `detector_rules` to `rules` in ML docs Original commit: elastic/x-pack-elasticsearch@49699286d372ccf64f5f5fb875a9019e884564e1 --- docs/en/rest-api/ml/get-job.asciidoc | 2 +- docs/en/rest-api/ml/jobresource.asciidoc | 2 +- docs/en/rest-api/ml/put-job.asciidoc | 2 +- docs/en/rest-api/ml/update-job.asciidoc | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/en/rest-api/ml/get-job.asciidoc b/docs/en/rest-api/ml/get-job.asciidoc index db77f1fcdac..7a8f4c127b5 100644 --- a/docs/en/rest-api/ml/get-job.asciidoc +++ b/docs/en/rest-api/ml/get-job.asciidoc @@ -81,7 +81,7 @@ The API returns the following results: "function": "mean", "field_name": "responsetime", "partition_field_name": "airline", - "detector_rules": [], + "rules": [], "detector_index": 0 } ], diff --git a/docs/en/rest-api/ml/jobresource.asciidoc b/docs/en/rest-api/ml/jobresource.asciidoc index 1710fe3cadf..7f20830ea23 100644 --- a/docs/en/rest-api/ml/jobresource.asciidoc +++ b/docs/en/rest-api/ml/jobresource.asciidoc @@ -249,7 +249,7 @@ is different from one named 'bytes'. //// LEAVE UNDOCUMENTED - `detector_rules`:: + `rules`:: (array) TBD //// diff --git a/docs/en/rest-api/ml/put-job.asciidoc b/docs/en/rest-api/ml/put-job.asciidoc index ea8e73c14ce..8356b071dd1 100644 --- a/docs/en/rest-api/ml/put-job.asciidoc +++ b/docs/en/rest-api/ml/put-job.asciidoc @@ -121,7 +121,7 @@ When the job is created, you receive the following results: "detector_description": "low_sum(events_per_min)", "function": "low_sum", "field_name": "events_per_min", - "detector_rules": [], + "rules": [], "detector_index": 0 } ], diff --git a/docs/en/rest-api/ml/update-job.asciidoc b/docs/en/rest-api/ml/update-job.asciidoc index 34e50215c09..25640b32c82 100644 --- a/docs/en/rest-api/ml/update-job.asciidoc +++ b/docs/en/rest-api/ml/update-job.asciidoc @@ -136,7 +136,7 @@ information, including the updated property values. For example: "detector_description": "Unusual message counts", "function": "count", "by_field_name": "mlcategory", - "detector_rules": [], + "rules": [], "detector_index": 0 } ],