Browse Source

Update field-caps.asciidoc to add information about `include_unmapped` (#94888)

- Adding context why `include_unmapped` doesn't return results for fields that are not mapped in any index
Matthias Wilhelm 2 years ago
parent
commit
9fdb857010
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/reference/search/field-caps.asciidoc

+ 2 - 2
docs/reference/search/field-caps.asciidoc

@@ -74,8 +74,8 @@ Defaults to `open`.
 include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=index-ignore-unavailable]
 
 `include_unmapped`::
-  (Optional, Boolean) If `true`, unmapped fields are included in the response.
-  Defaults to `false`.
+  (Optional, Boolean) If `true`, unmapped fields that are mapped in one index but not in another are included in the response. Fields that don't have any mapping are never included.
+  Defaults to `false`. 
 
 `filters`::
 (Optional, string) Comma-separated list of filters to apply to the response.