Bulk index - partial success


#1

When can I expect to get partial success when indexing a bulk?
Meaning, some documents are indexed and some are not.
I know one reason to get a document rejected in a bulk: duplicate ID. Are there more reasons to get this kind of bulk response?
I am only indexing, not updating or deleting.


(Colin Goodheart-Smithe) #2

Any item in a bulk request could individually fail for the same reasons that a single index request could fail. These reasons include but are no limited to: version conflicts, not enough shard copies available to satisfy the write consistency setting, mapping conflicts, etc. Items in a bulk request are independent from each other, meaning that a failure of one will not stop subsequent items from being processed. Therefore if any items fail the bulk request will be a partial success.

Hope that helps


#3

Yes, it helps!
You actually rephrased my question in a much clearer way.


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.