Merge pull request #15984 from pdudits/patch-1
Fix incorrect file-based example in script_fields
This commit is contained in:
parent
5c9bc37450
commit
9a89a33643
|
@ -54,9 +54,11 @@ GET /_search
|
||||||
{
|
{
|
||||||
"script_fields": {
|
"script_fields": {
|
||||||
"my_field": {
|
"my_field": {
|
||||||
"file": "my_script",
|
"script": {
|
||||||
"params": {
|
"file": "my_script",
|
||||||
"my_var": 2
|
"params": {
|
||||||
|
"my_var": 2
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue