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

**URL:** <https://discuss.elastic.co/t/what-does-index-no-do-is-there-any-alternative-of-this/219122>\
**Category:** Elasticsearch\
**Created:** [February 13, 2020, 5:53am UTC](https://discuss.elastic.co/t/what-does-index-no-do-is-there-any-alternative-of-this/219122 "2020-02-13T05:53:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![prasad98](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prasad98/32/64837_2.png) [@prasad98](https://discuss.elastic.co/u/prasad98)\
**Post date:** [February 13, 2020, 5:53am UTC](https://discuss.elastic.co/t/what-does-index-no-do-is-there-any-alternative-of-this/219122/1 "2020-02-13T05:53:54Z")

</div>

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

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

```auto
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?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 13, 2020, 6:10am UTC](https://discuss.elastic.co/t/what-does-index-no-do-is-there-any-alternative-of-this/219122/2 "2020-02-13T06:10:49Z")

</div>

Have a look at [https://www.elastic.co/guide/en/elasticsearch/reference/5.6/breaking\_50\_mapping\_changes.html#\_literal\_index\_literal\_property](https://www.elastic.co/guide/en/elasticsearch/reference/5.6/breaking_50_mapping_changes.html#_literal_index_literal_property)

---

<div class="post-metadata">

**Author:** ![prasad98](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prasad98/32/64837_2.png) [@prasad98](https://discuss.elastic.co/u/prasad98)\
**Post date:** [February 13, 2020, 6:13am UTC](https://discuss.elastic.co/t/what-does-index-no-do-is-there-any-alternative-of-this/219122/3 "2020-02-13T06:13:01Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 12, 2020, 6:25am UTC](https://discuss.elastic.co/t/what-does-index-no-do-is-there-any-alternative-of-this/219122/4 "2020-03-12T06:25:12Z")

</div>

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