# Exceptions for duplications

**URL:** <https://discuss.elastic.co/t/exceptions-for-duplications/9688>\
**Category:** Elasticsearch\
**Created:** [November 13, 2012, 2:18am UTC](https://discuss.elastic.co/t/exceptions-for-duplications/9688 "2012-11-13T02:18:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dennis](https://avatars.discourse-cdn.com/v4/letter/d/e56c9b/32.png) [@Dennis](https://discuss.elastic.co/u/Dennis)\
**Post date:** [November 13, 2012, 2:18am UTC](https://discuss.elastic.co/t/exceptions-for-duplications/9688/1 "2012-11-13T02:18:22Z")

</div>

Isn't there some kind of exceptions for duplication of id fields (assigned  
\_id) in ElasticSearch? I could have sworn I read one somewhere, but I cna't  
find it now.

--

---

<div class="post-metadata">

**Author:** ![Igor\_Motov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/igor_motov/32/45193_2.png) [@Igor\_Motov](https://discuss.elastic.co/u/Igor_Motov)\
**Post date:** [November 13, 2012, 4:38am UTC](https://discuss.elastic.co/t/exceptions-for-duplications/9688/2 "2012-11-13T04:38:26Z")

</div>

DocumentAlreadyExistsException and op\_type=create parameter[http://www.elasticsearch.org/guide/reference/api/index\_.html](http://www.elasticsearch.org/guide/reference/api/index_.html)  
?

On Monday, November 12, 2012 9:18:22 PM UTC-5, Dennis wrote:

> Isn't there some kind of exceptions for duplication of id fields (assigned  
> \_id) in Elasticsearch? I could have sworn I read one somewhere, but I cna't  
> find it now.

--

---

<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, 3:04am UTC](https://discuss.elastic.co/t/exceptions-for-duplications/9688/3 "2017-07-06T03:04:37Z")

</div>


