Multi Get API reference and results order

Hi! I'm a little bit confused with the Multi Get API. While trying the API I see that it always returns results in the same order as in the ids field of the request body. But in the reference for the API I didn't find anything about the results order.

So I have a guess that the API was really designed to return results in the same order as in the ids field. If this is true I'd be happy if maintainers explicitly add this detail to the reference. That would give me the right to rely on this detail in my application.

Please, correct me if that is not true. Thanks in advance! :slight_smile:

Good question, I opened https://github.com/elastic/elasticsearch/issues/28343. You might want to follow it.

1 Like

Thanks, @jpountz! I followed the issue )

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