Index not_analyzed not working in elasticsearch version 6.1

In elasticsearch 6.1 , while defining mappings explicitly , I want to create field searchable field without analysing for exact matches using term query, example email field. But in elasticsearch index attribute only accepts boolean value , setting it to false will not allow searching on that field.. Thanks for advance. Sorry I am beginner in this field.

Use type: keyword

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