[Docs] Improvements in script-fields.asciidoc (#28174)

This commit is contained in:
Andrew Banchich 2018-01-11 04:57:46 -05:00 committed by Christoph Büscher
parent 9d7799d356
commit e92acefba0
1 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ It's important to understand the difference between
using the doc keyword, will cause the terms for that field to be loaded to
memory (cached), which will result in faster execution, but more memory
consumption. Also, the `doc[...]` notation only allows for simple valued
fields (can't return a json object from it) and make sense only on
fields (you can't return a json object from it) and makes sense only for
non-analyzed or single term based fields. However, using `doc` is
still the recommended way to access values from the document, if at all
possible, because `_source` must be loaded and parsed every time it's used.