Skip to content

Commit 801ac33

Browse files
Mention full location of document _source (#89940)
1 parent 725f379 commit 801ac33

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/painless/painless-guide/painless-runtime-fields.asciidoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ filtering, and sorting.
66

77
When defining a runtime field, you can include a Painless script that is
88
evaluated at query time. This script has access to the entire context of a
9-
document, including the original `_source` and any mapped fields plus their
10-
values. At query time, the script runs and generates values for each scripted
11-
field that is included in the query.
9+
document, including the original document {ref}/modules-scripting-fields.html[`_source` field]
10+
and any mapped fields plus their values. At query time, the script runs and
11+
generates values for each scripted field that is included in the query.
1212

1313
You can map a runtime field in the `runtime` section under the mapping
1414
definition, or define runtime fields that exist only as part of a search

0 commit comments

Comments
 (0)