# Which analyzer is used in a multi match query?

**URL:** <https://discuss.elastic.co/t/which-analyzer-is-used-in-a-multi-match-query/123023>\
**Category:** Elasticsearch\
**Created:** [March 8, 2018, 8:39am UTC](https://discuss.elastic.co/t/which-analyzer-is-used-in-a-multi-match-query/123023 "2018-03-08T08:39:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anthonyrichir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anthonyrichir/32/28557_2.png) [@anthonyrichir](https://discuss.elastic.co/u/anthonyrichir)\
**Post date:** [March 8, 2018, 8:39am UTC](https://discuss.elastic.co/t/which-analyzer-is-used-in-a-multi-match-query/123023/1 "2018-03-08T08:39:31Z")

</div>

I have an index with several fields, among which I have 3 fields, each defined with a different language analyzer (german, english and french).

Which analyzer will be used in a multi-match query ? Will Elasticsearch use the specific analyzer separately for each field ?

```
GET lessons-list-fr-en/_search
{
  "from": 0,
  "size": 10,
  "query": {
    "multi_match" : {
      "query": "Introducing", 
      "fields": ["title", "description", "category"] 
    }
  }
}

```

Or should I use a combinaison of 'should' queries ?

```
GET lessons-list-en-fr/_search
{
  "from": 0,
  "size": 10,
  "query": {
    "bool": {
      "should": [
        {
          "match": {
            "title": "Introducing"
          }
        },
        {
          "match": {
            "description": "Introducing"
          }
        },
        {
          "match": {
            "category": "Introducing"
          }
        }
      ]
    }
  }
}
```

---

<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:** [April 5, 2018, 8:39am UTC](https://discuss.elastic.co/t/which-analyzer-is-used-in-a-multi-match-query/123023/2 "2018-04-05T08:39:44Z")

</div>

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