# Disable indexing on all fields

**URL:** <https://discuss.elastic.co/t/disable-indexing-on-all-fields/100893>\
**Category:** Elasticsearch\
**Created:** [September 18, 2017, 2:58pm UTC](https://discuss.elastic.co/t/disable-indexing-on-all-fields/100893 "2017-09-18T14:58:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bharath\_phatak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bharath_phatak/32/66252_2.png) [@bharath\_phatak](https://discuss.elastic.co/u/bharath_phatak)\
**Post date:** [September 18, 2017, 2:58pm UTC](https://discuss.elastic.co/t/disable-indexing-on-all-fields/100893/1 "2017-09-18T14:58:01Z")

</div>

Hi All,

The documents contains around 30+ fields.I want to indexing to be done only on 4 fields and disable indexing on all fields.

Please can some one point me what would the template ?

Thanks,  
Bharath

---

<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:** [October 16, 2017, 2:58pm UTC](https://discuss.elastic.co/t/disable-indexing-on-all-fields/100893/2 "2017-10-16T14:58:28Z")

</div>

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