# Search on two groups of indices

**URL:** <https://discuss.elastic.co/t/search-on-two-groups-of-indices/69331>\
**Category:** Elasticsearch\
**Created:** [December 17, 2016, 2:32am UTC](https://discuss.elastic.co/t/search-on-two-groups-of-indices/69331 "2016-12-17T02:32:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DBS](https://avatars.discourse-cdn.com/v4/letter/d/58f4c7/32.png) [@DBS](https://discuss.elastic.co/u/DBS)\
**Post date:** [December 17, 2016, 2:32am UTC](https://discuss.elastic.co/t/search-on-two-groups-of-indices/69331/1 "2016-12-17T02:32:36Z")

</div>

Hi,  
I have two groups of indices. What I want to do is perform search sometimes on one group of indices, and sometimes search on joint groups of indices. How can I do it? Should I create different nodes or shards to enable it? I noticed that if I put all indices of two groups together in one cluster, it behaves unstably, which seems it relates to some limitation of disk usage.

Any idea is appreciated.!

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 17, 2016, 3:26am UTC](https://discuss.elastic.co/t/search-on-two-groups-of-indices/69331/2 "2016-12-17T03:26:21Z")

</div>

It's pretty simple - [https://www.elastic.co/guide/en/elasticsearch/guide/2.x/multi-index-multi-type.html](https://www.elastic.co/guide/en/elasticsearch/guide/2.x/multi-index-multi-type.html)

---

<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:** [January 14, 2017, 3:26am UTC](https://discuss.elastic.co/t/search-on-two-groups-of-indices/69331/3 "2017-01-14T03:26:30Z")

</div>

Closed on January 14, 2017, 3:26am UTC

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