# Full-text "match" query versus term search in Discovery

**URL:** https://discuss.elastic.co/t/full-text-match-query-versus-term-search-in-discovery/44865
**Category:** Kibana
**Created:** [March 18, 2016, 8:33pm UTC](https://discuss.elastic.co/t/full-text-match-query-versus-term-search-in-discovery/44865 "2016-03-18T20:33:41Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jhendric98](https://avatars.discourse-cdn.com/v4/letter/j/90ced4/32.png) [@jhendric98](https://discuss.elastic.co/u/jhendric98)
#### Post date: [March 18, 2016, 8:33pm UTC](https://discuss.elastic.co/t/full-text-match-query-versus-term-search-in-discovery/44865/1 "2016-03-18T20:33:41Z")

</div>

I'm interested in performing a Full-text search on an analyzed field in my index. I Sense it looks like this:

GET /sample/\_search/  
{  
"explain":false,  
"query": {  
"match": {  
"MerchKeyBest.merchant\_name": {  
"query": "jones sports",  
"operator": "and"  
}  
}  
}  
}

As I undertand it, the query terms will be run through the search query analyzer, then be matched against the analyzer tokens created during indexing with the index analyzer.

I don't seem to get the same results from Kibana Discover leading me to wonder if a term search is being done over a match search.

Kibana search:  
MerchKeyBest.merchant\_name: "jones" AND "sports"

---

<div class="post-metadata">

### Author: ![tbragin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tbragin/32/45166_2.png) [@tbragin](https://discuss.elastic.co/u/tbragin)
#### Post date: [March 25, 2016, 3:27am UTC](https://discuss.elastic.co/t/full-text-match-query-versus-term-search-in-discovery/44865/2 "2016-03-25T03:27:08Z")

</div>

> [@jhendric98](#):
>
> Kibana search:MerchKeyBest.merchant\_name: "jones" AND "sports"

You need to use Lucene query syntax, so I think it will look something like this:

`MerchKeyBest.merchant_name:"jones sports"`

I have tried a similar approach with a different full text search on my data and got the same number of results in Sense and Discover

 ![](https://us1.discourse-cdn.com/elastic/original/2X/f/fc283b6f4c544604b02fb3cb00ea7d198df8c76a.png)

 ![](https://us1.discourse-cdn.com/elastic/original/2X/c/c2475de1e37014976f51215d1ec747fd5a24bdbb.png)

---

<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, 1:57pm UTC](https://discuss.elastic.co/t/full-text-match-query-versus-term-search-in-discovery/44865/3 "2017-07-06T13:57:47Z")

</div>


