# Match query is not supporting "or" in between the words

**URL:** <https://discuss.elastic.co/t/match-query-is-not-supporting-or-in-between-the-words/25613>\
**Category:** Elasticsearch\
**Created:** [July 15, 2015, 10:29am UTC](https://discuss.elastic.co/t/match-query-is-not-supporting-or-in-between-the-words/25613 "2015-07-15T10:29:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anusha6](https://avatars.discourse-cdn.com/v4/letter/a/a5b964/32.png) [@anusha6](https://discuss.elastic.co/u/anusha6)\
**Post date:** [July 15, 2015, 10:29am UTC](https://discuss.elastic.co/t/match-query-is-not-supporting-or-in-between-the-words/25613/1 "2015-07-15T10:29:10Z")

</div>

Hi,  
Am using match query as shown below,

GET ymme/ymme\_type/\_search  
{  
"size": 40,  
"query": {  
"match": {  
"\_all":  
{  
"query": "2012 or 1912 astont martini",  
"operator": "and",  
"fuzziness": 2,  
"prefix\_length": 4

```
}

```

}  
}  
}  
Where I would like to perform or operation in between the two values "2012" and "1912", when am executing the above query getting no response. How can I achieve "or" operation in between those two values in match query?????

---

<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:** [July 6, 2017, 12:01am UTC](https://discuss.elastic.co/t/match-query-is-not-supporting-or-in-between-the-words/25613/2 "2017-07-06T00:01:19Z")

</div>


