# Wildcard search not working for "-" in the wildcard

**URL:** <https://discuss.elastic.co/t/wildcard-search-not-working-for-in-the-wildcard/120381>\
**Category:** Elasticsearch\
**Created:** [February 19, 2018, 12:47am UTC](https://discuss.elastic.co/t/wildcard-search-not-working-for-in-the-wildcard/120381 "2018-02-19T00:47:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 19, 2018, 3:46am UTC](https://discuss.elastic.co/t/wildcard-search-not-working-for-in-the-wildcard/120381/2 "2018-02-19T03:46:41Z")

</div>

Probably a question of analyzer used. Check what tokens your analyzer is producing with the `_analyze` API.

Could you provide a full recreation script as described in [About the Elasticsearch category](https://discuss.elastic.co/t/about-the-elasticsearch-category/21). It will help to better understand what you are doing. Please, try to keep the example as simple as possible.

BTW `*wo-*` is one of the worse query you can run on elasticsearch as [per doc](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-wildcard-query.html) says:

> Note that this query can be slow, as it needs to iterate over many terms. In order to prevent extremely slow wildcard queries, a wildcard term should not start with one of the wildcards \* or ?.

---

_[View the full topic](https://discuss.elastic.co/t/wildcard-search-not-working-for-in-the-wildcard/120381)._
