# V552 : Multiple indices search using wildcard

**URL:** <https://discuss.elastic.co/t/v552-multiple-indices-search-using-wildcard/99553>\
**Category:** Elasticsearch\
**Created:** [September 6, 2017, 10:24am UTC](https://discuss.elastic.co/t/v552-multiple-indices-search-using-wildcard/99553 "2017-09-06T10:24:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mflash](https://avatars.discourse-cdn.com/v4/letter/m/ecb155/32.png) [@mflash](https://discuss.elastic.co/u/mflash)\
**Post date:** [September 6, 2017, 10:24am UTC](https://discuss.elastic.co/t/v552-multiple-indices-search-using-wildcard/99553/1 "2017-09-06T10:24:25Z")

</div>

hello.  
we about to upgrade to elasticsearch552. part of it is to change the indices design from one index and multiple types to index per type. we plan to name each index with the same prefix and also to have alias to each index.  
the client that query the DB suppose to search by the following paramers:  
index: prefix\*  
type: specific type name  
query:...

the question is how using wildcard for the index name really works and if there is any performance issue searching data this way.

---

<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:** [September 7, 2017, 7:59am UTC](https://discuss.elastic.co/t/v552-multiple-indices-search-using-wildcard/99553/2 "2017-09-07T07:59:46Z")

</div>

Elasticsearch will simply query any index that matches the pattern.

Performance will depend on the query though, but it shouldn't be a major concern.

---

<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:** [October 5, 2017, 8:00am UTC](https://discuss.elastic.co/t/v552-multiple-indices-search-using-wildcard/99553/3 "2017-10-05T08:00:05Z")

</div>

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