# Chaining and boosting multi\_match queries

**URL:** https://discuss.elastic.co/t/chaining-and-boosting-multi-match-queries/39064
**Category:** Elasticsearch
**Created:** [January 13, 2016, 7:01am UTC](https://discuss.elastic.co/t/chaining-and-boosting-multi-match-queries/39064 "2016-01-13T07:01:48Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![siegdubhy](https://avatars.discourse-cdn.com/v4/letter/s/e19b73/32.png) [@siegdubhy](https://discuss.elastic.co/u/siegdubhy)
#### Post date: [January 13, 2016, 7:01am UTC](https://discuss.elastic.co/t/chaining-and-boosting-multi-match-queries/39064/1 "2016-01-13T07:01:48Z")

</div>

Hi,  
I need a query that does something like this:  
query: {  
multi\_match: { //(may be a should)  
... ,  
operator: and,  
boost: 10  
},  
multi\_match: { //(may be a must)  
... ,  
operator: or  
}  
}

I can't seem to be able to build a bool query with multi\_matches nor can I do anything similar. (I'm not sure if it is not possible or if I'm just screwing up the syntax/logic)

The query is to be used for address searching (2 identical index fields with full address, one hooked up to edge ngram 3:25, and the other to an exact matcher) by a single query string (which may also contain full address). What I would like to achieve here is boosting the documents that match full tokens.

---

<div class="post-metadata">

### Author: ![javanna](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/javanna/32/4698_2.png) [@javanna](https://discuss.elastic.co/u/javanna)
#### Post date: [January 13, 2016, 4:09pm UTC](https://discuss.elastic.co/t/chaining-and-boosting-multi-match-queries/39064/2 "2016-01-13T16:09:40Z")

</div>

Bool query seems the way to go. Can you post what you have tried please?

---

<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 5, 2017, 11:24pm UTC](https://discuss.elastic.co/t/chaining-and-boosting-multi-match-queries/39064/3 "2017-07-05T23:24:51Z")

</div>


