"index" : "not_analyzed"

In current releases of Elasticsearch, can a template be configured to not analyze an index? In a 4-year old blog post I saw someone had used: "index" : "not_analyzed". Does this functionality still exist? I can not find anything about it in current documentation.

Hey Tony,

In Elasticsearch 6 onwards there were changes to string fields to avoid confusion. Instead of having a string field with either analyzed or not_analyzed there are now two distinct fields:

text -- Used for full text search, replacing the old analyzed
keyword -- Used for keyword search, replacing the old not_analyzed

https://www.elastic.co/blog/strings-are-dead-long-live-strings has the full details

Hope that helps

Cheers,
Mike

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