PUT /test_index/test_type/7?version=1
{
"test_field": "test client 2"
}
则会出现报错
{
"error": {
"root_cause": [
{
"type": "version_conflict_engine_exception",
"reason": "[test_type][7]: version conflict, current version [2] is different than the one provided [1]",
"index_uuid": "cbDotlKxS7arKsfavEZgWQ",
"shard": "1",
"index": "test_index"
}
],
"type": "version_conflict_engine_exception",
"reason": "[test_type][7]: version conflict, current version [2] is different than the one provided [1]",
"index_uuid": "cbDotlKxS7arKsfavEZgWQ",
"shard": "1",
"index": "test_index"
},
"status": 409
}