What does "index": "no" do? Is there any alternative of this?

Hi, I'm currently working on the elasticsearch migration from v2.4 to v7.5.

In v2.4, there is field property like this:

custom_key_field: {
    "type": "text",
    "index": "no"

What does "index": "no" means? Is it similar to the not_analyzed ?

This is no longer supported in the elasticsearch v7.5. What alternative should I use for this?

Have a look at https://www.elastic.co/guide/en/elasticsearch/reference/5.6/breaking_50_mapping_changes.html#_literal_index_literal_property

1 Like

Thank you! I didn't saw this link. Really helpful :slight_smile:

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