6184efaff6
Today the `_field_caps` API returns the list of indices where a field is present only if this field has different types within the requested indices. However if the request is an index pattern (or an alias, or both...) there is no way to infer the indices if the response contains only fields that have the same type in all indices. This commit changes the response to always return the list of indices in the response. It also adds a way to retrieve unmapped field in a specific section per field called `unmapped`. This section is created for each field that is present in some indices but not all if the parameter `include_unmapped` is set to true in the request (defaults to false). |
||
---|---|---|
.. | ||
request | ||
suggesters | ||
count.asciidoc | ||
explain.asciidoc | ||
field-caps.asciidoc | ||
multi-search.asciidoc | ||
profile.asciidoc | ||
rank-eval.asciidoc | ||
request-body.asciidoc | ||
search-shards.asciidoc | ||
search-template.asciidoc | ||
search.asciidoc | ||
suggesters.asciidoc | ||
uri-request.asciidoc | ||
validate.asciidoc |