# Wildcards in type names

**URL:** <https://discuss.elastic.co/t/wildcards-in-type-names/62875>\
**Category:** Elasticsearch\
**Created:** [October 13, 2016, 12:19am UTC](https://discuss.elastic.co/t/wildcards-in-type-names/62875 "2016-10-13T00:19:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pkaeding](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pkaeding/32/12454_2.png) [@pkaeding](https://discuss.elastic.co/u/pkaeding)\
**Post date:** [October 13, 2016, 12:19am UTC](https://discuss.elastic.co/t/wildcards-in-type-names/62875/1 "2016-10-13T00:19:21Z")

</div>

I am trying to search multiple types that share a common prefix. From reading [the docs](https://www.elastic.co/guide/en/elasticsearch/guide/current/multi-index-multi-type.html), I hoped to be able to query `/users/user_*/_search`. However, that returns no results. When I make the exact same query to `/users/user_57f83dacaceb075a805252a6/_search`, I get many results.

I noticed that the docs only give an example of the wildcard being used in the index name, not the type.

I am using ES 2.1 in production, if that matters. I did try it in 2.4 (locally, using docker), and got the same results.

If it isn't possible to filter the type with a wildcard in the URL, is it possible to filter based on type using the body?

---

<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 5, 2017, 10:12pm UTC](https://discuss.elastic.co/t/wildcards-in-type-names/62875/2 "2017-07-05T22:12:51Z")

</div>


