Exact match search on text field

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"
			}
		}
	}
}

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

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