mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-23 05:15:04 +00:00
Fixed a doc test.
This commit is contained in:
parent
623562c646
commit
2b9c3a1a98
@ -12,7 +12,7 @@ the same pattern:
|
||||
"params": { ... } <3>
|
||||
}
|
||||
-------------------------------------
|
||||
<1> The language the script is written in, which defaults to `groovy`.
|
||||
<1> The language the script is written in, which defaults to `painless`.
|
||||
<2> The script itself which may be specfied as `inline`, `id`, or `file`.
|
||||
<3> Any named parameters that should be passed into the script.
|
||||
|
||||
@ -201,6 +201,7 @@ POST _scripts/groovy/calculate-score
|
||||
}
|
||||
-----------------------------------
|
||||
// CONSOLE
|
||||
// TEST[warning:Groovy scripts are deprecated. Use Painless scripts instead.]
|
||||
|
||||
This same script can be retrieved with:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user