# Multi\_match fuzzy in filter

**URL:** <https://discuss.elastic.co/t/multi-match-fuzzy-in-filter/117122>\
**Category:** Elasticsearch\
**Created:** [January 25, 2018, 9:18pm UTC](https://discuss.elastic.co/t/multi-match-fuzzy-in-filter/117122 "2018-01-25T21:18:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mgvarley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mgvarley/32/687_2.png) [@mgvarley](https://discuss.elastic.co/u/mgvarley)\
**Post date:** [January 25, 2018, 9:18pm UTC](https://discuss.elastic.co/t/multi-match-fuzzy-in-filter/117122/1 "2018-01-25T21:18:56Z")

</div>

I am trying to execute an elasticsearch query (I am using 2.4.6) with a bool filter that includes a multimatch query over best\_fields with fuzziness set to 1 however the query only yields a match with exact spelling. As far as I can see in the docs there is nothing to suggest that fuzziness is not allowed in filters. Any advice would be much appreciated, I have been working at this for hours and trawling forums but I cannot see what I am doing wrong. A subset of my query is below. Many thanks.

```
{
  "query": {
    "bool": {
      "must": [
        ...
      ],
      "should": [
        ...
      ],
      "filter": [
        {
          "bool": {
            "must": [
              {
                "bool": {
                  "should": [
                    {
                      "multi_match": {
                        "query": "HIGH STREEET",
                        "fields": [
                          "organisation*",
                          "building_name*",
                          "building_group*",
                          "*street*",
                          "*locality*"
                        ],
                        "type": "best_fields",
                        "operator": "and",
                        "fuzziness": 1,
                        "prefix_length": 3
                      }
                    },
                    {
                      ...
                    }
                  ]
                }
              },
              {
              ....
              }
            ]
          }
        }
      ]
    }
  }
}
```

---

<div class="post-metadata">

**Author:** ![mgvarley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mgvarley/32/687_2.png) [@mgvarley](https://discuss.elastic.co/u/mgvarley)\
**Post date:** [January 25, 2018, 9:30pm UTC](https://discuss.elastic.co/t/multi-match-fuzzy-in-filter/117122/2 "2018-01-25T21:30:19Z")

</div>

Please ignore this, the issue is not with the fuzzy query in a filter but a custom analyzer, please disregard

---

<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:** [February 22, 2018, 9:30pm UTC](https://discuss.elastic.co/t/multi-match-fuzzy-in-filter/117122/3 "2018-02-22T21:30:38Z")

</div>

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