Skip to content

Commit af0d951

Browse files
authored
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'.
1 parent 10eb9d7 commit af0d951

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/reference/search/field-caps.asciidoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ GET _field_caps?fields=rating,title
7070
[source,js]
7171
--------------------------------------------------
7272
{
73+
"indices": ["index1", "index2", "index3", "index4", "index5"],
7374
"fields": {
74-
"indices": ["index1", "index2", "index3", "index4", "index5"],
7575
"rating": { <1>
7676
"long": {
7777
"searchable": true,
@@ -122,8 +122,8 @@ some indices but not all:
122122
[source,js]
123123
--------------------------------------------------
124124
{
125+
"indices": ["index1", "index2", "index3"],
125126
"fields": {
126-
"indices": ["index1", "index2", "index3"],
127127
"rating": {
128128
"long": {
129129
"searchable": true,

0 commit comments

Comments
 (0)