Skip to content

Commit

Permalink
[DOCS] Correct several [source,console-result] snippets (#46930) (#46938
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jrodewig authored Sep 20, 2019
1 parent d54f90b commit 9e9af73
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down Expand Up @@ -52,7 +52,6 @@ POST /reports/_bulk?refresh
{"force": "Metropolitan Police Service", "crime_type": "Robbery"}
-------------------------------------------------
// NOTCONSOLE
// TESTSETUP
//////////////////////////
Expand Down Expand Up @@ -83,7 +82,7 @@ GET /_search

Response:

[source,js]
[source,console-result]
--------------------------------------------------
{
...
Expand Down
3 changes: 1 addition & 2 deletions docs/reference/ilm/apis/explain.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,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,js]
[source,console-result]
--------------------------------------------------
{
"indices": {
Expand All @@ -118,7 +118,6 @@ that the index is managed and in the `new` phase:
}
}
--------------------------------------------------
// CONSOLE
// TESTRESPONSE[skip:no way to know if we will get this response immediately]
<1> Shows if the index is being managed by ILM. If the index is not managed by
ILM the other fields will not be shown
Expand Down
3 changes: 1 addition & 2 deletions docs/reference/ilm/error-handling.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ GET /myindex/_ilm/explain

Which returns the following information:

[source,js]
[source,console-result]
--------------------------------------------------
{
"indices" : {
Expand Down Expand Up @@ -105,7 +105,6 @@ Which returns the following information:
}
}
--------------------------------------------------
// CONSOLE
// TESTRESPONSE[skip:no way to know if we will get this response immediately]
<1> this index is managed by ILM
<2> the policy in question, in this case, "shrink-the-index"
Expand Down

0 comments on commit 9e9af73

Please sign in to comment.