使用spark java查看对elasticsearch的低写入次数。 下面是使用13.xlarge机ES群集配置 4 instances each have 4 processors.
Set refresh interval to -1 and replications to '0' and other basic
configurations required for better wr
我为了更新嵌套字段使用批量更新脚本,但这是非常缓慢: POST index/type/_bulk
{"update":{"_id":"1"}}
{"script"{"inline":"ctx._source.nestedfield.add(params.nestedfield)","params":{"nestedfield":{"field1":"1","field2":"2"}}}}