mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-23 05:15:04 +00:00
Change params._source to params['_source'] in example.
This commit is contained in:
parent
4c11ebc8b9
commit
8e04561c0d
@ -38,7 +38,7 @@ the above case), and allow to return custom values to be returned (the
|
||||
evaluated value of the script).
|
||||
|
||||
Script fields can also access the actual `_source` document and
|
||||
extract specific elements to be returned from it by using `params._source`.
|
||||
extract specific elements to be returned from it by using `params['_source']`.
|
||||
Here is an example:
|
||||
|
||||
[source,js]
|
||||
|
Loading…
x
Reference in New Issue
Block a user