# Ordering of responses in the Bulk Api

**URL:** <https://discuss.elastic.co/t/ordering-of-responses-in-the-bulk-api/13264>\
**Category:** Elasticsearch\
**Created:** [August 20, 2013, 7:28am UTC](https://discuss.elastic.co/t/ordering-of-responses-in-the-bulk-api/13264 "2013-08-20T07:28:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_van\_der\_Weerd](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@Peter\_van\_der\_Weerd](https://discuss.elastic.co/u/Peter_van_der_Weerd)\
**Post date:** [August 20, 2013, 7:28am UTC](https://discuss.elastic.co/t/ordering-of-responses-in-the-bulk-api/13264/1 "2013-08-20T07:28:09Z")

</div>

I'm wondering if it is guaranteed that the responses that I get back from  
the bulk-api have the very same ordering as my individual request that I  
sent in.

If not, is there any way to connect an individual response to an individual  
request?  
If yes, and if I did not look over it, it might be a good idea to put this  
in the documentation.

Thanks,  
Peter

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [August 20, 2013, 7:32am UTC](https://discuss.elastic.co/t/ordering-of-responses-in-the-bulk-api/13264/2 "2013-08-20T07:32:18Z")

</div>

Hey,

the order guaranteed. action 345 in request will be action 345 in the  
response...

Regarding the documentation: Very valid point, will be fixed.

--Alex

On Tue, Aug 20, 2013 at 9:28 AM, Peter van der Weerd [pw2@bitmanager.nl](mailto:pw2@bitmanager.nl)wrote:

> I'm wondering if it is guaranteed that the responses that I get back from  
> the bulk-api have the very same ordering as my individual request that I  
> sent in.
> 
> If not, is there any way to connect an individual response to an  
> individual request?  
> If yes, and if I did not look over it, it might be a good idea to put this  
> in the documentation.
> 
> Thanks,  
> Peter
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [July 6, 2017, 2:20am UTC](https://discuss.elastic.co/t/ordering-of-responses-in-the-bulk-api/13264/3 "2017-07-06T02:20:35Z")

</div>


