# Order of \_bulk request operations

**URL:** <https://discuss.elastic.co/t/order-of--bulk-request-operations/98124>\
**Category:** Elasticsearch\
**Created:** [August 23, 2017, 7:38pm UTC](https://discuss.elastic.co/t/order-of--bulk-request-operations/98124 "2017-08-23T19:38:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ndev](https://avatars.discourse-cdn.com/v4/letter/n/71e660/32.png) [@ndev](https://discuss.elastic.co/u/ndev)\
**Post date:** [August 23, 2017, 7:38pm UTC](https://discuss.elastic.co/t/order-of--bulk-request-operations/98124/1 "2017-08-23T19:38:54Z")

</div>

Is the order a bulk request guaranteed? I am making Nest calls from C# by using the BulkDescriptor to perform both inserts, updates, and deletes against a 2 node cluster. I wrote a simple application testing whether or not order is preserved and after hours of running, I had no notifications that it is not ordered. I tried looking through the BulkProcessor class in source code and it seems that it has a concurrent value of 1 by default, where 0 is stated as single thread. Please let me know if I can rely on the operations happening in a specific order.

Thank you.

---

<div class="post-metadata">

**Author:** ![jpountz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jpountz/32/45836_2.png) [@jpountz](https://discuss.elastic.co/u/jpountz)\
**Post date:** [August 23, 2017, 9:09pm UTC](https://discuss.elastic.co/t/order-of--bulk-request-operations/98124/2 "2017-08-23T21:09:26Z")

</div>

You can rely on the fact that operations on the same document (same \_index, \_type and \_id) will be in order. However you can't assume anything for documents that have different indices/types/ids.

---

<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:** [September 20, 2017, 9:09pm UTC](https://discuss.elastic.co/t/order-of--bulk-request-operations/98124/3 "2017-09-20T21:09:53Z")

</div>

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