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,12 +54,14 @@ GET /_search
|
|||
{
|
||||
"script_fields": {
|
||||
"my_field": {
|
||||
"script": {
|
||||
"file": "my_script",
|
||||
"params": {
|
||||
"my_var": 2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
-----------------------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue