Merge pull request #15227 from popol1991/patch-1
Update scripting.asciidoc
This commit is contained in:
commit
543b9440b7
|
@ -425,8 +425,10 @@ curl -XPOST localhost:9200/_search -d '{
|
||||||
"functions": [
|
"functions": [
|
||||||
{
|
{
|
||||||
"script_score": {
|
"script_score": {
|
||||||
"id": "my_script",
|
"script": {
|
||||||
"lang" : "native"
|
"id": "my_script",
|
||||||
|
"lang" : "native"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue