Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/painless/painless-guide/painless-debugging.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ POST /hockey/_explain/1
Which shows that the class of `doc.first` is
`org.elasticsearch.index.fielddata.ScriptDocValues.Longs` by responding with:

[source,js]
[source,console-result]
---------------------------------------------------------
{
"error": {
Expand Down Expand Up @@ -68,7 +68,7 @@ POST /hockey/_update/1

The response looks like:

[source,js]
[source,console-result]
---------------------------------------------------------
{
"error" : {
Expand Down
9 changes: 5 additions & 4 deletions docs/plugins/ingest-attachment.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ GET my_index/_doc/my_id

Returns this:

[source,js]
[source,console-result]
--------------------------------------------------
{
"found": true,
Expand Down Expand Up @@ -140,7 +140,7 @@ GET my_index/_doc/my_id

Returns this:

[source,js]
[source,console-result]
--------------------------------------------------
{
"found": true,
Expand Down Expand Up @@ -190,7 +190,7 @@ GET my_index/_doc/my_id_2

Returns this:

[source,js]
[source,console-result]
--------------------------------------------------
{
"found": true,
Expand Down Expand Up @@ -284,7 +284,8 @@ GET my_index/_doc/my_id
// CONSOLE

Returns this:
[source,js]

[source,console-result]
--------------------------------------------------
{
"_index" : "my_index",
Expand Down
4 changes: 1 addition & 3 deletions docs/reference/administering/backup-cluster-config.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,10 @@ parameter for the snapshot API. Alternatively, you can extract these
configuration values in text format by using the
<<cluster-get-settings, get settings API>>:

[source,js]
[source,console]
--------------------------------------------------
GET _cluster/settings?pretty&flat_settings&filter_path=persistent
--------------------------------------------------
//CONSOLE
//TEST

You can store the output of this as a file together with the rest of
configuration files.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ of groups that have recorded interactions.

Response:

[source,js]
[source,console-result]
--------------------------------------------------
{
"took": 9,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ POST /sales/_search?size=0

Response:

[source,js]
[source,console-result]
--------------------------------------------------
{
...
Expand Down Expand Up @@ -150,7 +150,7 @@ GET my_index/_search?size=0
UTC is used if no time zone is specified, three 1-hour buckets are returned
starting at midnight UTC on 1 October 2015:

[source,js]
[source,console-result]
---------------------------------
{
...
Expand Down Expand Up @@ -205,7 +205,7 @@ Now three 1-hour buckets are still returned but the first bucket starts at
11:00pm on 30 September 2015 since that is the local time for the bucket in
the specified time zone.

[source,js]
[source,console-result]
---------------------------------
{
...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ The above example returns the top question tags and per tag the top answer owner

Possible response:

[source,js]
[source,console-result]
--------------------------------------------------
{
"took": 25,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ GET /_search

\... returns:

[source,js]
[source,console-result]
--------------------------------------------------
{
...
Expand Down Expand Up @@ -520,7 +520,7 @@ GET /_search

\... returns:

[source,js]
[source,console-result]
--------------------------------------------------
{
...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ POST /sales/_search?size=0

Response:

[source,js]
[source,console-result]
--------------------------------------------------
{
...
Expand Down Expand Up @@ -377,7 +377,7 @@ If you don't specify a timezone, UTC is used. This would result in both of these
documents being placed into the same day bucket, which starts at midnight UTC
on 1 October 2015:

[source,js]
[source,console-result]
---------------------------------
{
...
Expand Down Expand Up @@ -419,7 +419,7 @@ GET my_index/_search?size=0
Now the first document falls into the bucket for 30 September 2015, while the
second document falls into the bucket for 1 October 2015:

[source,js]
[source,console-result]
---------------------------------
{
...
Expand Down Expand Up @@ -496,7 +496,7 @@ GET my_index/_search?size=0
Instead of a single bucket starting at midnight, the above request groups the
documents into buckets starting at 6am:

[source,js]
[source,console-result]
-----------------------------
{
...
Expand Down Expand Up @@ -548,7 +548,7 @@ POST /sales/_search?size=0

Response:

[source,js]
[source,console-result]
--------------------------------------------------
{
...
Expand Down Expand Up @@ -650,7 +650,7 @@ POST /sales/_search?size=0

Response:

[source,js]
[source,console-result]
--------------------------------------------------
{
...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ documents dated since 10 months ago

Response:

[source,js]
[source,console-result]
--------------------------------------------------
{
...
Expand Down Expand Up @@ -317,7 +317,7 @@ POST /sales/_search?size=0

Response:

[source,js]
[source,console-result]
--------------------------------------------------
{
...
Expand Down Expand Up @@ -366,7 +366,7 @@ POST /sales/_search?size=0

Response:

[source,js]
[source,console-result]
--------------------------------------------------
{
...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ POST /stackoverflow/_search?size=0

Response:

[source,js]
[source,console-result]
--------------------------------------------------
{
...
Expand Down Expand Up @@ -126,7 +126,7 @@ POST /stackoverflow/_search?size=0

Response:

[source,js]
[source,console-result]
--------------------------------------------------
{
...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ In the above example, we calculate the average price of all the products that ar

Response:

[source,js]
[source,console-result]
--------------------------------------------------
{
...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ and another for all those containing a warning.

Response:

[source,js]
[source,console-result]
--------------------------------------------------
{
"took": 9,
Expand Down Expand Up @@ -91,7 +91,7 @@ GET logs/_search
The filtered buckets are returned in the same order as provided in the
request. The response for this example would be:

[source,js]
[source,console-result]
--------------------------------------------------
{
"took": 4,
Expand Down Expand Up @@ -158,7 +158,7 @@ GET logs/_search

The response would be something like the following:

[source,js]
[source,console-result]
--------------------------------------------------
{
"took": 3,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ POST /museums/_search?size=0

Response:

[source,js]
[source,console-result]
--------------------------------------------------
{
...
Expand Down Expand Up @@ -166,7 +166,7 @@ POST /museums/_search?size=0

Response:

[source,js]
[source,console-result]
--------------------------------------------------
{
...
Expand Down Expand Up @@ -220,7 +220,7 @@ POST /museums/_search?size=0

Response:

[source,js]
[source,console-result]
--------------------------------------------------
{
...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ POST /museums/_search?size=0

Response:

[source,js]
[source,console-result]
--------------------------------------------------
{
...
Expand Down Expand Up @@ -148,7 +148,7 @@ POST /museums/_search?size=0
--------------------------------------------------
// TEST[continued]

[source,js]
[source,console-result]
--------------------------------------------------
{
...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ POST /museums/_search?size=0

Response:

[source,js]
[source,console-result]
--------------------------------------------------
{
...
Expand Down Expand Up @@ -133,7 +133,7 @@ POST /museums/_search?size=0
--------------------------------------------------
// TEST[continued]

[source,js]
[source,console-result]
--------------------------------------------------
{
...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ all products in our catalog, not just on the "shirts").

The response for the above aggregation:

[source,js]
[source,console-result]
--------------------------------------------------
{
...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ POST /sales/_search?size=0

And the following may be the response:

[source,js]
[source,console-result]
--------------------------------------------------
{
...
Expand Down Expand Up @@ -96,7 +96,7 @@ POST /sales/_search?size=0

Response:

[source,js]
[source,console-result]
--------------------------------------------------
{
...
Expand Down Expand Up @@ -215,7 +215,7 @@ POST /sales/_search?size=0

Response:

[source,js]
[source,console-result]
--------------------------------------------------
{
...
Expand Down
Loading