# Running a Bool Query on fixed index vs different indexes

**URL:** <https://discuss.elastic.co/t/running-a-bool-query-on-fixed-index-vs-different-indexes/143333>\
**Category:** Elasticsearch\
**Created:** [August 7, 2018, 1:06pm UTC](https://discuss.elastic.co/t/running-a-bool-query-on-fixed-index-vs-different-indexes/143333 "2018-08-07T13:06:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aashish\_Bhattarai](https://avatars.discourse-cdn.com/v4/letter/a/13edae/32.png) [@Aashish\_Bhattarai](https://discuss.elastic.co/u/Aashish_Bhattarai)\
**Post date:** [August 7, 2018, 1:06pm UTC](https://discuss.elastic.co/t/running-a-bool-query-on-fixed-index-vs-different-indexes/143333/1 "2018-08-07T13:06:05Z")

</div>

I have 10 indices in my elasticsearch cluster (4 nodes) and I want to run a term query on a field "x".

All of the 10 indices have the same exact mapping and the values of some fields might differ but the values of "x" are always the same across all the indices.

If I run a term query on the field "x", is it faster to randomly choose an index during runtime, or always run the query on one fixed index?

There may be multiple requests simultaneously.

I don't have resources to simulate the situation to experiment myself, hoping someone here can explain theoretically.

---

<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:** [September 4, 2018, 1:06pm UTC](https://discuss.elastic.co/t/running-a-bool-query-on-fixed-index-vs-different-indexes/143333/2 "2018-09-04T13:06:13Z")

</div>

Closed on September 4, 2018, 1:06pm UTC

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