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