Skip to content

Commit 9e8a289

Browse files
committed
Updated the field_caps docs to describe family types
1 parent 5322f9c commit 9e8a289

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

docs/reference/search/field-caps.asciidoc

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,13 @@ query rewrites to `match_none` on every shard.
6767
==== {api-response-body-title}
6868

6969

70+
The types used in the response describe _families_ of field types.
71+
Normally a family type is the same as the field type declared in the mapping,
72+
but to simplify matters certain field types that behave identically are
73+
described using a family type. For example, `keyword`, `constant_keyword` and `wildcard`
74+
field types are all described as the `keyword` family type.
75+
76+
7077

7178
`searchable`::
7279
Whether this field is indexed for search on all indices.
@@ -75,8 +82,8 @@ query rewrites to `match_none` on every shard.
7582
Whether this field can be aggregated on all indices.
7683

7784
`indices`::
78-
The list of indices where this field has the same type, or null if all indices
79-
have the same type for the field.
85+
The list of indices where this field has the same family type, or null if all indices
86+
have the same family type for the field.
8087

8188
`non_searchable_indices`::
8289
The list of indices where this field is not searchable, or null if all indices

0 commit comments

Comments
 (0)