# Search multiple values for a single field

**URL:** <https://discuss.elastic.co/t/search-multiple-values-for-a-single-field/268327>\
**Category:** Elasticsearch\
**Created:** [March 25, 2021, 11:21am UTC](https://discuss.elastic.co/t/search-multiple-values-for-a-single-field/268327 "2021-03-25T11:21:32Z")\
**Posts on this page:** 1\
**Showing post:** 11

<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:** [March 29, 2021, 1:36pm UTC](https://discuss.elastic.co/t/search-multiple-values-for-a-single-field/268327/11 "2021-03-29T13:36:31Z")

</div>

We are getting closer. Very cool.

Just to be sure that you understand what is expected, I'm going to copy and paste what a typical script is so you can copy/paste it your self and see how this can work. Note that this is coming from this post: [About the Elasticsearch category](https://discuss.elastic.co/t/about-the-elasticsearch-category/21)

```auto
DELETE index
PUT index/_doc/1
{
  "foo": "bar"
}
GET index/_search
{
  "query": {
    "match": {
      "foo": "bar"
    }
  }
}

```

---

_[View the full topic](https://discuss.elastic.co/t/search-multiple-values-for-a-single-field/268327)._
