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,10 +425,12 @@ curl -XPOST localhost:9200/_search -d '{
"functions": [ "functions": [
{ {
"script_score": { "script_score": {
"script": {
"id": "my_script", "id": "my_script",
"lang" : "native" "lang" : "native"
} }
} }
}
] ]
} }
} }