From 99130114de8f8c0a657cbc9b480191b5fa760fdf Mon Sep 17 00:00:00 2001 From: James Rodewig Date: Fri, 20 Sep 2019 12:20:12 -0400 Subject: [PATCH] [DOCS] Correct several [source,console-result] snippets (#46930) (#46937) --- .../bucket/significantterms-aggregation.asciidoc | 5 ++--- docs/reference/ilm/apis/explain.asciidoc | 2 +- docs/reference/ilm/error-handling.asciidoc | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/reference/aggregations/bucket/significantterms-aggregation.asciidoc b/docs/reference/aggregations/bucket/significantterms-aggregation.asciidoc index 3c9eb2ebe2f..30d5dbb23d2 100644 --- a/docs/reference/aggregations/bucket/significantterms-aggregation.asciidoc +++ b/docs/reference/aggregations/bucket/significantterms-aggregation.asciidoc @@ -17,7 +17,7 @@ that is significant and probably very relevant to their search. 5/10,000,000 vs ////////////////////////// -[source,js] +[source,console] -------------------------------------------------- PUT /reports { @@ -52,7 +52,6 @@ POST /reports/_bulk?refresh {"force": "Metropolitan Police Service", "crime_type": "Robbery"} ------------------------------------------------- -// NOTCONSOLE // TESTSETUP ////////////////////////// @@ -82,7 +81,7 @@ GET /_search Response: -[source,console] +[source,console-result] -------------------------------------------------- { ... diff --git a/docs/reference/ilm/apis/explain.asciidoc b/docs/reference/ilm/apis/explain.asciidoc index 7efa2359750..78bb76e46cf 100644 --- a/docs/reference/ilm/apis/explain.asciidoc +++ b/docs/reference/ilm/apis/explain.asciidoc @@ -96,7 +96,7 @@ GET my_index/_ilm/explain When management of the index is first taken over by ILM, `explain` shows that the index is managed and in the `new` phase: -[source,console] +[source,console-result] -------------------------------------------------- { "indices": { diff --git a/docs/reference/ilm/error-handling.asciidoc b/docs/reference/ilm/error-handling.asciidoc index 15e568f8114..d3c6c9a18d1 100644 --- a/docs/reference/ilm/error-handling.asciidoc +++ b/docs/reference/ilm/error-handling.asciidoc @@ -64,7 +64,7 @@ GET /myindex/_ilm/explain Which returns the following information: -[source,console] +[source,console-result] -------------------------------------------------- { "indices" : {