Text VS Keyword

You should also set index: false in the mapping for these fields; this means that the field will not be indexed for search, but will still be stored as part of the _source document returned.

2 Likes