mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
parent
36cf595367
commit
c2c2190d27
@ -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.
|
`.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
|
This script can be accessed at query time by appending `_id` to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user