Skip to content

Commit

Permalink
Describe what _source.includes/excludes do (#38319) (#38794)
Browse files Browse the repository at this point in the history
  • Loading branch information
mayya-sharipova authored Feb 12, 2019
1 parent 40d5bea commit 6eec065
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/reference/search/request/source-filtering.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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]
--------------------------------------------------
Expand Down

0 comments on commit 6eec065

Please sign in to comment.