# Are auto-generated ids UUIDs?

**URL:** <https://discuss.elastic.co/t/are-auto-generated-ids-uuids/13865>\
**Category:** Elasticsearch\
**Created:** [October 7, 2013, 12:36pm UTC](https://discuss.elastic.co/t/are-auto-generated-ids-uuids/13865 "2013-10-07T12:36:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Serkan\_Camurcuoglu](https://avatars.discourse-cdn.com/v4/letter/s/6a8cbe/32.png) [@Serkan\_Camurcuoglu](https://discuss.elastic.co/u/Serkan_Camurcuoglu)\
**Post date:** [October 7, 2013, 12:36pm UTC](https://discuss.elastic.co/t/are-auto-generated-ids-uuids/13865/1 "2013-10-07T12:36:22Z")

</div>

Hi,  
I'd like to learn if the automatically generated document ids are unique  
across totally different elasticsearch clusters. We are planning to use  
different clusters for manual sharding but we'd like the document ids to be  
unique just in case.

Regards,

--  
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:** ![Anand\_Nalya](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anand_nalya/32/571_2.png) [@Anand\_Nalya](https://discuss.elastic.co/u/Anand_Nalya)\
**Post date:** [October 7, 2013, 1:17pm UTC](https://discuss.elastic.co/t/are-auto-generated-ids-uuids/13865/2 "2013-10-07T13:17:35Z")

</div>

Hi,

Yes they are UUIDs. If required, you can also pass your own ids instead of  
ES generating them for you.

Thanks,  
Anand

On Monday, 7 October 2013 18:06:22 UTC+5:30, Serkan Camurcuoglu wrote:

> Hi,  
> I'd like to learn if the automatically generated document ids are unique  
> across totally different elasticsearch clusters. We are planning to use  
> different clusters for manual sharding but we'd like the document ids to be  
> unique just in case.
> 
> Regards,

--  
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:13am UTC](https://discuss.elastic.co/t/are-auto-generated-ids-uuids/13865/3 "2017-07-06T02:13:26Z")

</div>


