curl -XPOST 'localhost:9200/customer/external/1/_update?pretty' -d '
{
"script" : "ctx._source.age += 5"
}'
Run Code Online (Sandbox Code Playgroud)
这是官方网站上的示例。我对ctx感到困惑,它是什么意思?语境?
| 归档时间: |
|
| 查看次数: |
3335 次 |
| 最近记录: |