# Bulk index - partial success

**URL:** <https://discuss.elastic.co/t/bulk-index-partial-success/100325>\
**Category:** Elasticsearch\
**Created:** [September 13, 2017, 9:37am UTC](https://discuss.elastic.co/t/bulk-index-partial-success/100325 "2017-09-13T09:37:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex\_Davidovich](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@Alex\_Davidovich](https://discuss.elastic.co/u/Alex_Davidovich)\
**Post date:** [September 13, 2017, 9:37am UTC](https://discuss.elastic.co/t/bulk-index-partial-success/100325/1 "2017-09-13T09:37:46Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![colings86](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/colings86/32/44960_2.png) [@colings86](https://discuss.elastic.co/u/colings86)\
**Post date:** [September 13, 2017, 10:45am UTC](https://discuss.elastic.co/t/bulk-index-partial-success/100325/2 "2017-09-13T10:45:49Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Alex\_Davidovich](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@Alex\_Davidovich](https://discuss.elastic.co/u/Alex_Davidovich)\
**Post date:** [September 13, 2017, 11:49am UTC](https://discuss.elastic.co/t/bulk-index-partial-success/100325/3 "2017-09-13T11:49:06Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 11, 2017, 11:49am UTC](https://discuss.elastic.co/t/bulk-index-partial-success/100325/4 "2017-10-11T11:49:22Z")

</div>

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