# Searching for multiple values in array using wildcards

**URL:** <https://discuss.elastic.co/t/searching-for-multiple-values-in-array-using-wildcards/117349>\
**Category:** Elasticsearch\
**Created:** [January 28, 2018, 8:42am UTC](https://discuss.elastic.co/t/searching-for-multiple-values-in-array-using-wildcards/117349 "2018-01-28T08:42:13Z")\
**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:** [January 28, 2018, 10:23am UTC](https://discuss.elastic.co/t/searching-for-multiple-values-in-array-using-wildcards/117349/2 "2018-01-28T10:23:15Z")

</div>

Please format your code using `</>` icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21) and not the citation button. It will make your post more readable.

Or use markdown style like:

````
```
CODE
```

````

Please edit your post.

You should better think about it in a different way IMO. You can combine different kind of search in a `bool` query with `should` clauses and never use wildcards.

I shared an example (not with partial terms though but that should may be help):

> <https://gist.github.com/dadoonet/5179ee72ecbf08f12f53d4bda1b76bab>

---

_[View the full topic](https://discuss.elastic.co/t/searching-for-multiple-values-in-array-using-wildcards/117349)._
