From time to time, I’ve seen bulk index fails because of version conflicts. Because of how things are, I’m ok with some docs failing to index because it exists already. However, in these cases, do all the documents get rejected or just those with conflicts?
For example, let‘s say I am bulk-indexing 50 documents and 5 of them had version conflicts. This results to the bulk index request returning a
409 version_conflict_engine_exception. Will the 45 documents that are part of the same bulk index request go through or will all of them fail?
If all of them will fail, is there a way to add a parameter to let ES know to index the 45 documents? I basically want to index everything in the requests and ignore the failing ones.