# Field mapping

**URL:** <https://discuss.elastic.co/t/field-mapping/7023>\
**Category:** Elasticsearch\
**Created:** [March 15, 2012, 11:54pm UTC](https://discuss.elastic.co/t/field-mapping/7023 "2012-03-15T23:54:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![android](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@android](https://discuss.elastic.co/u/android)\
**Post date:** [March 15, 2012, 11:54pm UTC](https://discuss.elastic.co/t/field-mapping/7023/1 "2012-03-15T23:54:51Z")

</div>

hey guys,

I'd like to index a document. And I want some fields to be indexable, and some fields to be storable, so that when I search for a field it will search through the indexable ones, and return the storable fields in the result set. Is it possible to do this in ES?

---

<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:** [March 16, 2012, 5:28pm UTC](https://discuss.elastic.co/t/field-mapping/7023/2 "2012-03-16T17:28:21Z")

</div>

Yes see index and store option in mapping.

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

David 😉  
@dadoonet

Le 16 mars 2012 à 00:54, android [orcunsimsek@gmail.com](mailto:orcunsimsek@gmail.com) a écrit :

> hey guys,
> 
> I'd like to index a document. And I want some fields to be indexable, and  
> some fields to be storable, so that when I search for a field it will search  
> through the indexable ones, and return the storable fields in the result  
> set. Is it possible to do this in ES?
> 
> --  
> View this message in context: [http://elasticsearch-users.115913.n3.nabble.com/field-mapping-tp3830453p3830453.html](http://elasticsearch-users.115913.n3.nabble.com/field-mapping-tp3830453p3830453.html)  
> Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [March 20, 2012, 9:46am UTC](https://discuss.elastic.co/t/field-mapping/7023/3 "2012-03-20T09:46:18Z")

</div>

Store field mapping is one option, though note that by default the whole  
json document provided is stored under \_source, and you can ask for  
specific "paths" out of it when providing fields in the search request.

On Fri, Mar 16, 2012 at 7:28 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:

> Yes see index and store option in mapping.
> 
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/mapping/core-types.html)
> 
> David 😉  
> @dadoonet
> 
> Le 16 mars 2012 à 00:54, android [orcunsimsek@gmail.com](mailto:orcunsimsek@gmail.com) a écrit :
> 
> > hey guys,
> > 
> > I'd like to index a document. And I want some fields to be indexable, and  
> > some fields to be storable, so that when I search for a field it will  
> > search  
> > through the indexable ones, and return the storable fields in the result  
> > set. Is it possible to do this in ES?
> > 
> > --  
> > View this message in context:  
> > [http://elasticsearch-users.115913.n3.nabble.com/field-mapping-tp3830453p3830453.html](http://elasticsearch-users.115913.n3.nabble.com/field-mapping-tp3830453p3830453.html)  
> > Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).

---

<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:35am UTC](https://discuss.elastic.co/t/field-mapping/7023/4 "2017-07-06T03:35:32Z")

</div>


