Merge pull request #15227 from popol1991/patch-1

Update scripting.asciidoc
This commit is contained in:
Clinton Gormley 2015-12-04 09:58:03 +01:00
commit 543b9440b7
1 changed files with 4 additions and 2 deletions

View File

@ -425,8 +425,10 @@ curl -XPOST localhost:9200/_search -d '{
"functions": [
{
"script_score": {
"id": "my_script",
"lang" : "native"
"script": {
"id": "my_script",
"lang" : "native"
}
}
}
]