# Match query with altered AND operator

**URL:** <https://discuss.elastic.co/t/match-query-with-altered-and-operator/203891>\
**Category:** Elasticsearch\
**Created:** [October 16, 2019, 5:09pm UTC](https://discuss.elastic.co/t/match-query-with-altered-and-operator/203891 "2019-10-16T17:09:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matthijs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matthijs/32/45030_2.png) [@Matthijs](https://discuss.elastic.co/u/Matthijs)\
**Post date:** [October 16, 2019, 5:09pm UTC](https://discuss.elastic.co/t/match-query-with-altered-and-operator/203891/1 "2019-10-16T17:09:47Z")

</div>

Hello,

I would like to perform a query where I only match against results, where my query contains all the words in the given result. The existing AND operator does a similar thing, but demands that all of the words in the query are present in the result, which is the opposite of what I want.

Thanks

---

<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:** [November 13, 2019, 5:09pm UTC](https://discuss.elastic.co/t/match-query-with-altered-and-operator/203891/2 "2019-11-13T17:09:47Z")

</div>

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