# Exact match search on text field

**URL:** <https://discuss.elastic.co/t/exact-match-search-on-text-field/133754>\
**Category:** Elasticsearch\
**Created:** [May 29, 2018, 8:47pm UTC](https://discuss.elastic.co/t/exact-match-search-on-text-field/133754 "2018-05-29T20:47:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![iluvcode](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/iluvcode/32/24929_2.png) [@iluvcode](https://discuss.elastic.co/u/iluvcode)\
**Post date:** [May 29, 2018, 8:47pm UTC](https://discuss.elastic.co/t/exact-match-search-on-text-field/133754/1 "2018-05-29T20:47:21Z")

</div>

I have a text field (nodeText) with snowball analyzer and i would like to find the exact match on the node text field.  
for example: if nodeText field has "drum stick tape" document, searching on nodeText.custom field with match query with "tape" is returning the document which is a partial match. how can I get the exact match on text field?

//mapping

```
{
	"navigationpage": {
		"properties": {
			"contentTypeId": {
				"type": "keyword"
			},
			"hasMoreRecord": {
				"type": "keyword"
			},
			"id": {
				"type": "long"
			},
			"nodeText": {
				"type": "text",
				"fields": {
					"custom": {
						"type": "text",
						"analyzer": "pluralwordsAnalyzer"
					}
				}
			},
			"token": {
				"type": "keyword"
			}
		}
	}
}
```

---

<div class="post-metadata">

**Author:** ![iluvcode](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/iluvcode/32/24929_2.png) [@iluvcode](https://discuss.elastic.co/u/iluvcode)\
**Post date:** [May 29, 2018, 9:37pm UTC](https://discuss.elastic.co/t/exact-match-search-on-text-field/133754/2 "2018-05-29T21:37:01Z")

</div>

I found the solution. Added Keyword tokenizer on nodeText field.

---

<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:** [June 26, 2018, 9:37pm UTC](https://discuss.elastic.co/t/exact-match-search-on-text-field/133754/3 "2018-06-26T21:37:02Z")

</div>

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