mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
Update scripting.asciidoc
Fixed minor typo in the example of native scripting request.
This commit is contained in:
parent
6613b3a0d6
commit
47c5da523f
@ -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…
x
Reference in New Issue
Block a user