# Some Field should be indexed or some field should not indexed

**URL:** <https://discuss.elastic.co/t/some-field-should-be-indexed-or-some-field-should-not-indexed/7963>\
**Category:** Elasticsearch\
**Created:** [June 4, 2012, 12:34pm UTC](https://discuss.elastic.co/t/some-field-should-be-indexed-or-some-field-should-not-indexed/7963 "2012-06-04T12:34:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sumit\_Guptaa](https://avatars.discourse-cdn.com/v4/letter/s/e8c25b/32.png) [@Sumit\_Guptaa](https://discuss.elastic.co/u/Sumit_Guptaa)\
**Post date:** [June 4, 2012, 12:34pm UTC](https://discuss.elastic.co/t/some-field-should-be-indexed-or-some-field-should-not-indexed/7963/1 "2012-06-04T12:34:15Z")

</div>

hi all,

suppose we have an index and we have 10 field in this index and we want to indexed five field and we don't want indexed other five filed....can anybody tell me how we can implement this in Elastic Search...

thax in advance

Regards,  
Sumit Gupta

---

<div class="post-metadata">

**Author:** ![Igor\_Motov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/igor_motov/32/45193_2.png) [@Igor\_Motov](https://discuss.elastic.co/u/Igor_Motov)\
**Post date:** [June 4, 2012, 2:03pm UTC](https://discuss.elastic.co/t/some-field-should-be-indexed-or-some-field-should-not-indexed/7963/2 "2012-06-04T14:03:54Z")

</div>

You can control indexing of individual fields by explicitly specifying  
field mapping during index creation or by using Put Mapping API. See  
[Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/mapping/index.html) for  
more information.

On Monday, June 4, 2012 8:34:15 AM UTC-4, Sumit Gupta wrote:

> hi all,
> 
> suppose we have an index and we have 10 field in this index and we want to  
> indexed five field and we don't want indexed other five filed....can  
> anybody tell me how we can implement this in Elastic Search...
> 
> thax in advance
> 
> Regards,  
> Sumit Gupta
> 
> --  
> View this message in context:  
> [http://elasticsearch-users.115913.n3.nabble.com/Some-Field-should-be-indexed-or-some-field-should-not-indexed-tp4018771.html](http://elasticsearch-users.115913.n3.nabble.com/Some-Field-should-be-indexed-or-some-field-should-not-indexed-tp4018771.html)  
> Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![Sumit\_Guptaa](https://avatars.discourse-cdn.com/v4/letter/s/e8c25b/32.png) [@Sumit\_Guptaa](https://discuss.elastic.co/u/Sumit_Guptaa)\
**Post date:** [June 6, 2012, 7:01am UTC](https://discuss.elastic.co/t/some-field-should-be-indexed-or-some-field-should-not-indexed/7963/3 "2012-06-06T07:01:43Z")

</div>

Thanx Igor Motov..

---

<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:25am UTC](https://discuss.elastic.co/t/some-field-should-be-indexed-or-some-field-should-not-indexed/7963/4 "2017-07-06T03:25:29Z")

</div>


