# Compound Must Matches Not Working for Me

**URL:** <https://discuss.elastic.co/t/compound-must-matches-not-working-for-me/146226>\
**Category:** Elasticsearch\
**Created:** [August 27, 2018, 6:39pm UTC](https://discuss.elastic.co/t/compound-must-matches-not-working-for-me/146226 "2018-08-27T18:39:09Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![abdon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abdon/32/9195_2.png) [@abdon](https://discuss.elastic.co/u/abdon)\
**Post date:** [August 28, 2018, 5:06pm UTC](https://discuss.elastic.co/t/compound-must-matches-not-working-for-me/146226/4 "2018-08-28T17:06:30Z")

</div>

I'm not sure what the first `match` clause is supposed to do. Why search for an empty string with `fuzziness` set to `0` and the `operator` set to `and`? If I execute that query agains the document that you posted it does not match the document. This clause is the cause of the entire query not matching your document.

```auto
GET bupstest9/_search
{
  "query": {
    "match": {
      "source": {
        "query": "",
        "fuzziness": "0",
        "operator": "and"
      }
    }
  }
}

```

PS Please format the code that you post here, as described [here](https://discuss.elastic.co/t/about-the-elasticsearch-category/21). It makes it much easier to read. 🙂

---

_[View the full topic](https://discuss.elastic.co/t/compound-must-matches-not-working-for-me/146226)._
