Merge pull request #14474 from jpountz/doc/search_body_fields_warning
Add a warning about fields vs. source filtering.
This commit is contained in:
commit
81767bc639
|
@ -1,6 +1,11 @@
|
|||
[[search-request-fields]]
|
||||
=== Fields
|
||||
|
||||
WARNING: The `fields` parameter is about fields that are explicitly marked as
|
||||
stored in the mapping, which is off by default and generally not recommended.
|
||||
Use <<search-request-source-filtering,source filtering>> instead to select
|
||||
subsets of the original source document to be returned.
|
||||
|
||||
Allows to selectively load specific stored fields for each document represented
|
||||
by a search hit.
|
||||
|
||||
|
|
Loading…
Reference in New Issue