Correct a formatting mistake in the _field_caps docs. (#44303)
The 'indices' block that was recently added should appear in the top-level of the response, as opposed to being nested under 'fields'.
This commit is contained in:
parent
86ee8eab3f
commit
141d09ee15
|
@ -70,8 +70,8 @@ GET _field_caps?fields=rating,title
|
|||
[source,js]
|
||||
--------------------------------------------------
|
||||
{
|
||||
"fields": {
|
||||
"indices": ["index1", "index2", "index3", "index4", "index5"],
|
||||
"fields": {
|
||||
"rating": { <1>
|
||||
"long": {
|
||||
"searchable": true,
|
||||
|
@ -122,8 +122,8 @@ some indices but not all:
|
|||
[source,js]
|
||||
--------------------------------------------------
|
||||
{
|
||||
"fields": {
|
||||
"indices": ["index1", "index2", "index3"],
|
||||
"fields": {
|
||||
"rating": {
|
||||
"long": {
|
||||
"searchable": true,
|
||||
|
|
Loading…
Reference in New Issue