# Multiple Indices

**URL:** <https://discuss.elastic.co/t/multiple-indices/7857>\
**Category:** Elasticsearch\
**Created:** [May 25, 2012, 5:03am UTC](https://discuss.elastic.co/t/multiple-indices/7857 "2012-05-25T05:03:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Henri\_K](https://avatars.discourse-cdn.com/v4/letter/h/a87d85/32.png) [@Henri\_K](https://discuss.elastic.co/u/Henri_K)\
**Post date:** [May 25, 2012, 5:03am UTC](https://discuss.elastic.co/t/multiple-indices/7857/1 "2012-05-25T05:03:23Z")

</div>

Hey,

i have to extract ids of data sets, which are in an index but not in an  
other.

that means: a data set is stored in 2 indices, but in one of this index  
this data record has been deleted accidentially - in the other it will  
survive ^^.

So is there any possibility to get these data sets with one api call, with  
no need to extract all ids and the comparison of them

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [May 29, 2012, 6:24pm UTC](https://discuss.elastic.co/t/multiple-indices/7857/2 "2012-05-29T18:24:02Z")

</div>

You mean a "diff" between two indexes? There isn't a way to do it, you need  
to code it on teh client side.

On Fri, May 25, 2012 at 7:03 AM, Henri K. [hknochi@googlemail.com](mailto:hknochi@googlemail.com) wrote:

> Hey,
> 
> i have to extract ids of data sets, which are in an index but not in an  
> other.
> 
> that means: a data set is stored in 2 indices, but in one of this index  
> this data record has been deleted accidentially - in the other it will  
> survive ^^.
> 
> So is there any possibility to get these data sets with one api call, with  
> no need to extract all ids and the comparison of them

---

<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:26am UTC](https://discuss.elastic.co/t/multiple-indices/7857/3 "2017-07-06T03:26:34Z")

</div>


