# Storing a field w/o indexing it

**URL:** https://discuss.elastic.co/t/storing-a-field-w-o-indexing-it/5102
**Category:** Elasticsearch
**Created:** [August 9, 2011, 11:36pm UTC](https://discuss.elastic.co/t/storing-a-field-w-o-indexing-it/5102 "2011-08-09T23:36:07Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![mrg](https://avatars.discourse-cdn.com/v4/letter/m/85e7bf/32.png) [@mrg](https://discuss.elastic.co/u/mrg)
#### Post date: [August 9, 2011, 11:36pm UTC](https://discuss.elastic.co/t/storing-a-field-w-o-indexing-it/5102/1 "2011-08-09T23:36:07Z")

</div>

hello - is it possible to have a field that is ignored in the index, but returned as part of the doc?

eg.

"long\_mime\_encoded\_string" : "xxxx...xx",

What steps or magical incantation enables this setup? Put Mapping API looks like the sort-of maybe solution.

thanks in advance!

---

<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: [July 6, 2017, 3:57am UTC](https://discuss.elastic.co/t/storing-a-field-w-o-indexing-it/5102/2 "2017-07-06T03:57:41Z")

</div>


