Describe what _source.includes/excludes do (#38319) (#38794)

This commit is contained in:
Mayya Sharipova 2019-02-12 11:09:15 -05:00 committed by GitHub
parent 40d5beaf41
commit 6eec065353
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,10 @@ GET /_search
// CONSOLE
Finally, for complete control, you can specify both `includes` and `excludes`
patterns:
patterns. If `includes` is not empty, then only fields that match one of the
patterns in `includes` but none of the patterns in `excludes` are provided in
`_source`. If `includes` is empty, then all fields are provided in `_source`,
except for those that match a pattern in `excludes`.
[source,js]
--------------------------------------------------