# What are the ways to make a field of an index , not indexed but stored?

**URL:** https://discuss.elastic.co/t/what-are-the-ways-to-make-a-field-of-an-index-not-indexed-but-stored/287808
**Category:** Elasticsearch
**Created:** [October 27, 2021, 2:22pm UTC](https://discuss.elastic.co/t/what-are-the-ways-to-make-a-field-of-an-index-not-indexed-but-stored/287808 "2021-10-27T14:22:48Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![shi](https://avatars.discourse-cdn.com/v4/letter/s/f14d63/32.png) [@shi](https://discuss.elastic.co/u/shi)
#### Post date: [October 27, 2021, 2:22pm UTC](https://discuss.elastic.co/t/what-are-the-ways-to-make-a-field-of-an-index-not-indexed-but-stored/287808/1 "2021-10-27T14:22:48Z")

</div>

what are the ways to make a field of an index , not indexed but stored?.

\*Is it by not defining the filed and type explicitly and then defining dynamic : runtime ?

\*Are there any other methods?

Is it possible to to make a field of an index, not indexed but stored with a specific data type according to our choice, while saving the row/document into the index?

When it is stored , is it avilable only in the \_source field?

Is it is not indexed , can we search based on it without making it a runtime field?  
regards  
shiny?

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [October 27, 2021, 9:26pm UTC](https://discuss.elastic.co/t/what-are-the-ways-to-make-a-field-of-an-index-not-indexed-but-stored/287808/2 "2021-10-27T21:26:02Z")

</div>

Yes, see [index | Elasticsearch Guide [7.15] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/7.15/mapping-index.html)

---

<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: [November 24, 2021, 9:26pm UTC](https://discuss.elastic.co/t/what-are-the-ways-to-make-a-field-of-an-index-not-indexed-but-stored/287808/3 "2021-11-24T21:26:59Z")

</div>

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