# Multi index "\_search" endpoint , how many indices can we search at a time is there any limit?

**URL:** <https://discuss.elastic.co/t/multi-index-search-endpoint-how-many-indices-can-we-search-at-a-time-is-there-any-limit/233035>\
**Category:** Elasticsearch\
**Created:** [May 18, 2020, 6:17am UTC](https://discuss.elastic.co/t/multi-index-search-endpoint-how-many-indices-can-we-search-at-a-time-is-there-any-limit/233035 "2020-05-18T06:17:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![panditb](https://avatars.discourse-cdn.com/v4/letter/p/7feea3/32.png) [@panditb](https://discuss.elastic.co/u/panditb)\
**Post date:** [May 18, 2020, 6:17am UTC](https://discuss.elastic.co/t/multi-index-search-endpoint-how-many-indices-can-we-search-at-a-time-is-there-any-limit/233035/1 "2020-05-18T06:17:04Z")

</div>

Hello Team,

I am using multi index \_search api, which is like below, i want to know what is the limit or how many indices we can search multiple

> GET : [http://localhost:9200/20200515,20200514,20200517/\_search](http://localhost:9200/20200515,20200514,20200517/_search)

As we know GET has some limit of characters in , is there any limit also on this \_search endpoint for multi index search

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [May 18, 2020, 6:29am UTC](https://discuss.elastic.co/t/multi-index-search-endpoint-how-many-indices-can-we-search-at-a-time-is-there-any-limit/233035/2 "2020-05-18T06:29:59Z")

</div>

I do not know what the HTTP limit is, but would like to point out that you also can use wildcards to address many indices and make the string shorter. I do not think Elasticsearch imposes any limit but querying lots of indices naturally has performance implications.

---

<div class="post-metadata">

**Author:** ![panditb](https://avatars.discourse-cdn.com/v4/letter/p/7feea3/32.png) [@panditb](https://discuss.elastic.co/u/panditb)\
**Post date:** [May 18, 2020, 6:37am UTC](https://discuss.elastic.co/t/multi-index-search-endpoint-how-many-indices-can-we-search-at-a-time-is-there-any-limit/233035/3 "2020-05-18T06:37:16Z")

</div>

Thanks @Christian_Dahlqvist , okay thanks for wildcard we can use ,  
I mean HTTP GET has some limit suppose say if i am using tomcat server than (8 KB) , that time when prepare the index GET URL in tomcat server i gets the error if its size is more thank 8KB , so i thought if elastic search GET multi index has an issue with size or not , Thanks for your answer i am fine .

Can you let me know any alternate way of using multi index , since the multi index has performance implication .

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [May 18, 2020, 6:40am UTC](https://discuss.elastic.co/t/multi-index-search-endpoint-how-many-indices-can-we-search-at-a-time-is-there-any-limit/233035/4 "2020-05-18T06:40:59Z")

</div>

Querying multiple indices in itself does not have performance implications and is widely used, so I am sorry I was not clear on this. Having very large numbers of small indices can however be quite inefficient, which is what I was referring to.

---

<div class="post-metadata">

**Author:** ![panditb](https://avatars.discourse-cdn.com/v4/letter/p/7feea3/32.png) [@panditb](https://discuss.elastic.co/u/panditb)\
**Post date:** [May 18, 2020, 6:49am UTC](https://discuss.elastic.co/t/multi-index-search-endpoint-how-many-indices-can-we-search-at-a-time-is-there-any-limit/233035/5 "2020-05-18T06:49:06Z")

</div>

Thanks @Christian_Dahlqvist for your prompt response , I am fine with this answer

---

<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:** [June 15, 2020, 6:49am UTC](https://discuss.elastic.co/t/multi-index-search-endpoint-how-many-indices-can-we-search-at-a-time-is-there-any-limit/233035/6 "2020-06-15T06:49:10Z")

</div>

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