# Disabling \_all field from Index

**URL:** <https://discuss.elastic.co/t/disabling--all-field-from-index/62394>\
**Category:** Elasticsearch\
**Created:** [October 6, 2016, 2:30pm UTC](https://discuss.elastic.co/t/disabling--all-field-from-index/62394 "2016-10-06T14:30:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhishekanand100](https://avatars.discourse-cdn.com/v4/letter/a/a9adbd/32.png) [@abhishekanand100](https://discuss.elastic.co/u/abhishekanand100)\
**Post date:** [October 6, 2016, 2:30pm UTC](https://discuss.elastic.co/t/disabling--all-field-from-index/62394/1 "2016-10-06T14:30:32Z")

</div>

is it worth a shot to disable the \_all field and reindex all the data? We are seeing huge latencies while indexing/updating documents. Could this improve the performance?

in our use case we do not query the \_all field, so disabling it completely in the mapping won't affect our searches, constant score is what we use mostly, just that since \_all is indexed so I assume disabling it completely would save up some time and reduce latency. Can someone please advise.

---

<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 7, 2016, 3:00am UTC](https://discuss.elastic.co/t/disabling--all-field-from-index/62394/2 "2016-10-07T03:00:24Z")

</div>

It'd be worth trying, only by testing can you say if it'll help.

---

<div class="post-metadata">

**Author:** ![suanmeiguo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/suanmeiguo/32/11758_2.png) [@suanmeiguo](https://discuss.elastic.co/u/suanmeiguo)\
**Post date:** [October 7, 2016, 11:18pm UTC](https://discuss.elastic.co/t/disabling--all-field-from-index/62394/3 "2016-10-07T23:18:02Z")

</div>

Well, if you disable \_all you're saving like 50% of your disk space. That'll also mean more records to hold in memory. I think it'll help your performance.

Definitely try it.

---

<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 8, 2016, 12:08am UTC](https://discuss.elastic.co/t/disabling--all-field-from-index/62394/4 "2016-10-08T00:08:46Z")

</div>

> [@suanmeiguo](#):
>
> you're saving like 50% of your disk space

That's a wild guess really.

> [@suanmeiguo](#):
>
> That'll also mean more records to hold in memory

Except ES doesn't hold records in memory.

---

<div class="post-metadata">

**Author:** ![shakunvohra](https://avatars.discourse-cdn.com/v4/letter/s/4af34b/32.png) [@shakunvohra](https://discuss.elastic.co/u/shakunvohra)\
**Post date:** [May 19, 2017, 8:54pm UTC](https://discuss.elastic.co/t/disabling--all-field-from-index/62394/5 "2017-05-19T20:54:11Z")

</div>

What was the outcome of disabling \_all?

---

<div class="post-metadata">

**Author:** ![abhishekanand100](https://avatars.discourse-cdn.com/v4/letter/a/a9adbd/32.png) [@abhishekanand100](https://discuss.elastic.co/u/abhishekanand100)\
**Post date:** [May 20, 2017, 7:24am UTC](https://discuss.elastic.co/t/disabling--all-field-from-index/62394/6 "2017-05-20T07:24:59Z")

</div>

> shakunvohra [https://discuss.elastic.co/u/shakunvohra](https://discuss.elastic.co/u/shakunvohra)  
> May 19
> 
> ## What was the outcome of disabling \_all?
> 
> Visit Topic  
> [https://discuss.elastic.co/t/disabling--all-field-from-index/62394/5](https://discuss.elastic.co/t/disabling--all-field-from-index/62394/5) or  
> reply to this email to respond.
> 
> To unsubscribe from these emails, click here  
> [https://discuss.elastic.co/email/unsubscribe/10b55ab69798dba61c2b02223bcf3e8c045961f29ceb3e05c0bf2dcf9903259a](https://discuss.elastic.co/email/unsubscribe/10b55ab69798dba61c2b02223bcf3e8c045961f29ceb3e05c0bf2dcf9903259a)  
> .

~30% saving on the size of index

---

<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 5, 2017, 10:00pm UTC](https://discuss.elastic.co/t/disabling--all-field-from-index/62394/7 "2017-07-05T22:00:13Z")

</div>


