#26800: Fix docs rendering
This commit is contained in:
parent
2949c53174
commit
d1093bd2fa
|
@ -59,23 +59,28 @@ POST /sales/docs/_bulk?refresh
|
||||||
|
|
||||||
For instance the following document:
|
For instance the following document:
|
||||||
|
|
||||||
```
|
[source,js]
|
||||||
|
--------------------------------------------------
|
||||||
{
|
{
|
||||||
"keyword": ["foo", "bar"],
|
"keyword": ["foo", "bar"],
|
||||||
"number": [23, 65, 76]
|
"number": [23, 65, 76]
|
||||||
}
|
}
|
||||||
```
|
--------------------------------------------------
|
||||||
|
// NOTCONSOLE
|
||||||
|
|
||||||
\... creates the following composite buckets when `keyword` and `number` are used as values source
|
\... creates the following composite buckets when `keyword` and `number` are used as values source
|
||||||
for the aggregation:
|
for the aggregation:
|
||||||
|
|
||||||
```
|
[source,js]
|
||||||
|
--------------------------------------------------
|
||||||
{ "keyword": "foo", "number": 23 }
|
{ "keyword": "foo", "number": 23 }
|
||||||
{ "keyword": "foo", "number": 65 }
|
{ "keyword": "foo", "number": 65 }
|
||||||
{ "keyword": "foo", "number": 76 }
|
{ "keyword": "foo", "number": 76 }
|
||||||
{ "keyword": "bar", "number": 23 }
|
{ "keyword": "bar", "number": 23 }
|
||||||
{ "keyword": "bar", "number": 65 }
|
{ "keyword": "bar", "number": 65 }
|
||||||
{ "keyword": "bar", "number": 76 }
|
{ "keyword": "bar", "number": 76 }
|
||||||
```
|
--------------------------------------------------
|
||||||
|
// NOTCONSOLE
|
||||||
|
|
||||||
==== Values source
|
==== Values source
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue