Skip to content

Commit

Permalink
#26800: Fix docs rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
jimczi committed Nov 20, 2017
1 parent f2fef68 commit 786e5ea
Showing 1 changed file with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,23 +59,28 @@ POST /sales/docs/_bulk?refresh

For instance the following document:

```
[source,js]
--------------------------------------------------
{
"keyword": ["foo", "bar"],
"number": [23, 65, 76]
}
```
--------------------------------------------------
// NOTCONSOLE

\... creates the following composite buckets when `keyword` and `number` are used as values source
for the aggregation:

```
[source,js]
--------------------------------------------------
{ "keyword": "foo", "number": 23 }
{ "keyword": "foo", "number": 65 }
{ "keyword": "foo", "number": 76 }
{ "keyword": "bar", "number": 23 }
{ "keyword": "bar", "number": 65 }
{ "keyword": "bar", "number": 76 }
```
--------------------------------------------------
// NOTCONSOLE

==== Values source

Expand Down

0 comments on commit 786e5ea

Please sign in to comment.