|
@@ -7,8 +7,8 @@ The field capabilities API allows for retrieving the capabilities of fields acro
|
|
|
==== Field Capabilities Request
|
|
|
|
|
|
A `FieldCapabilitiesRequest` contains a list of fields to get capabilities for,
|
|
|
-should be returned, plus an optional list of target indices. If no indices
|
|
|
-are provided, the request will be executed on all indices.
|
|
|
+plus an optional list of target indices. If no indices are provided, the request
|
|
|
+runs on all indices.
|
|
|
|
|
|
Note that fields parameter supports wildcard notation. For example, providing `text_*`
|
|
|
will cause all fields that match the expression to be returned.
|
|
@@ -79,4 +79,4 @@ include-tagged::{doc-tests}/SearchDocumentationIT.java[field-caps-response]
|
|
|
<1> A map with entries for the field's possible types, in this case `keyword` and `text`.
|
|
|
<2> All indices where the `user` field has type `keyword`.
|
|
|
<3> The subset of these indices where the `user` field isn't searchable, or null if it's always searchable.
|
|
|
-<4> Another subset of these indices where the `user` field isn't aggregatable, or null if it's always aggregatable.
|
|
|
+<4> Another subset of these indices where the `user` field isn't aggregatable, or null if it's always aggregatable.
|