I use bulk update and have set "doc_as_upsert": true
However, SOMETIMES I get errors like this:
"update": {
"_index": "artists",
"_type": "artist",
"_id": "fernanda-francis",
"status": 404,
"error": {
"type": "document_missing_exception",
"reason": "[artist][fernanda-francis]: document missing",
"index_uuid": "q7Yl-ftoS4WD3eE1j0D0kQ",
"shard": "3",
"index": "artists"
}
}
Any ideas why this happens? Isn't it supposed to insert the doc if it doesn't exist?
ES v5.1 on AWS.