Merge pull request #15984 from pdudits/patch-1

Fix incorrect file-based example in script_fields
This commit is contained in:
Clinton Gormley 2016-01-14 14:16:56 +01:00
parent 5c9bc37450
commit 9a89a33643
1 changed files with 5 additions and 3 deletions

View File

@ -54,6 +54,7 @@ GET /_search
{
"script_fields": {
"my_field": {
"script": {
"file": "my_script",
"params": {
"my_var": 2
@ -61,6 +62,7 @@ GET /_search
}
}
}
}
-----------------------------------
===================================================