Skip to content

Commit 2d64d3c

Browse files
andrewbanchichChristoph Büscher
authored andcommitted
[Docs] Improvements in script-fields.asciidoc (#28174)
1 parent 2833e47 commit 2d64d3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/reference/search/request/script-fields.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ It's important to understand the difference between
6565
using the doc keyword, will cause the terms for that field to be loaded to
6666
memory (cached), which will result in faster execution, but more memory
6767
consumption. Also, the `doc[...]` notation only allows for simple valued
68-
fields (can't return a json object from it) and make sense only on
69-
non-analyzed or single term based fields. However, using `doc` is
68+
fields (you can't return a json object from it) and makes sense only for
69+
non-analyzed or single term based fields. However, using `doc` is
7070
still the recommended way to access values from the document, if at all
7171
possible, because `_source` must be loaded and parsed every time it's used.
7272
Using `_source` is very slow.

0 commit comments

Comments
 (0)