Browse Source

Mention full location of document _source (#89940) (#90013)

Co-authored-by: David Gilman <dgilman@aidentified.com>
Iraklis Psaroudakis 3 years ago
parent
commit
011e3bcdb9
1 changed files with 3 additions and 3 deletions
  1. 3 3
      docs/painless/painless-guide/painless-runtime-fields.asciidoc

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

@@ -6,9 +6,9 @@ filtering, and sorting.
 
 When defining a runtime field, you can include a Painless script that is
 evaluated at query time. This script has access to the entire context of a
-document, including the original `_source` and any mapped fields plus their
-values. At query time, the script runs and generates values for each scripted
-field that is included in the query.
+document, including the original document {ref}/modules-scripting-fields.html[`_source` field]
+and any mapped fields plus their values. At query time, the script runs and
+generates values for each scripted field that is included in the query.
 
 You can map a runtime field in the `runtime` section under the mapping
 definition, or define runtime fields that exist only as part of a search