[DOCS] update script docs to use preferred script parameter names

This commit is contained in:
Colin Goodheart-Smithe 2015-02-23 11:00:33 +00:00
parent 6867f4a3fa
commit 7d3856c9d3
1 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ GET /_search
{
"script_fields": {
"my_field": {
"file": "my_test",
"script_file": "my_test",
"params": {
"my_var": 2
}
@ -126,7 +126,7 @@ curl -XPOST localhost:9200/_search -d '{
"functions": [
{
"script_score": {
"script": "calculate-score",
"script_file": "calculate-score",
"params": {
"my_modifier": 8
}