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