|
@@ -101,7 +101,7 @@ curl -XPOST localhost:9200/_scripts/groovy/indexedCalculateScore -d '{
|
|
|
}'
|
|
|
-----------------------------------
|
|
|
|
|
|
-This will create a document with id: `indexedCalculateScore` and type: `mvel` in the
|
|
|
+This will create a document with id: `indexedCalculateScore` and type: `groovy` in the
|
|
|
`.scripts` index. The type of the document is the language used by the script.
|
|
|
|
|
|
This script can be accessed at query time by appending `_id` to
|