field_caps
Inspect field types and capabilities across indices to detect mismatched mappings that can break cross-index queries.
Instructions
Show the capabilities of one or more fields across indices via _field_caps: the type(s) each field has, whether it is searchable and aggregatable. The key use is catching a field mapped as different types in different indices (e.g. long in one, keyword in another), which breaks queries across an index pattern. Pass fields as a comma list or *.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| fields | No | * |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |