# How to disable \_all field in production mode?

**URL:** <https://discuss.elastic.co/t/how-to-disable-all-field-in-production-mode/110945>\
**Category:** Elasticsearch\
**Created:** [December 9, 2017, 10:20pm UTC](https://discuss.elastic.co/t/how-to-disable-all-field-in-production-mode/110945 "2017-12-09T22:20:31Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![lfernandes](https://avatars.discourse-cdn.com/v4/letter/l/b2d939/32.png) [@lfernandes](https://discuss.elastic.co/u/lfernandes)\
**Post date:** [December 21, 2017, 1:40pm UTC](https://discuss.elastic.co/t/how-to-disable-all-field-in-production-mode/110945/4 "2017-12-21T13:40:08Z")

</div>

I have the same issue. I'm trying to disable `_all` to update to ES 6.1 but i get this error:

```
{"type":"illegal_argument_exception","reason":"mapper [_all] enabled is true now encountering false"}
```

---

_[View the full topic](https://discuss.elastic.co/t/how-to-disable-all-field-in-production-mode/110945)._
