#26800: Fix docs rendering

This commit is contained in:
Jim Ferenczi 2017-11-20 08:41:02 +01:00
parent 2949c53174
commit d1093bd2fa
1 changed files with 9 additions and 4 deletions

View File

@ -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