以下のコードをcerebroプラグインに投稿しようとしたとき
POST /_bulk
{
"index" : { "_index" : "test", "_type" : "type1", "_id" : "1" },
"field1" : "value1" ,
"delete" : { "_index" : "test", "_type" : "type1", "_id" : "2" },
"create" : { "_index" : "test", "_type" : "type1", "_id" : "3" },
"field2" : "value3" ,
"update" : {"_id" : "1", "_type" : "type1", "_index" : "test"},
"doc" : {"field3" : "value2"}
}
cerebro プラグインで次のようなエラーが表示されます。
{
"error": {
"root_cause": [
{
"type": "action_request_validation_exception",
"reason": "Validation Failed: 1: no requests added;"
}
],
"type": "action_request_validation_exception",
"reason": "Validation Failed: 1: no requests added;"
},
"status": 400
}