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:
Julie Tibshirani 2019-07-15 09:44:25 -07:00
parent 86ee8eab3f
commit 141d09ee15
1 changed files with 2 additions and 2 deletions

View File

@ -70,8 +70,8 @@ GET _field_caps?fields=rating,title
[source,js] [source,js]
-------------------------------------------------- --------------------------------------------------
{ {
"fields": {
"indices": ["index1", "index2", "index3", "index4", "index5"], "indices": ["index1", "index2", "index3", "index4", "index5"],
"fields": {
"rating": { <1> "rating": { <1>
"long": { "long": {
"searchable": true, "searchable": true,
@ -122,8 +122,8 @@ some indices but not all:
[source,js] [source,js]
-------------------------------------------------- --------------------------------------------------
{ {
"fields": {
"indices": ["index1", "index2", "index3"], "indices": ["index1", "index2", "index3"],
"fields": {
"rating": { "rating": {
"long": { "long": {
"searchable": true, "searchable": true,