Docs: Add a warning about fields vs. source filtering.

Close #14470
This commit is contained in:
Adrien Grand 2015-11-03 11:18:00 +01:00
parent 48ee09fbd4
commit c9120c5c2a
1 changed files with 5 additions and 0 deletions

View File

@ -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.