# Set index.query.parse.allow\_unmapped\_fields = false for a single index

**URL:** https://discuss.elastic.co/t/set-index-query-parse-allow-unmapped-fields-false-for-a-single-index/23073
**Category:** Elasticsearch
**Created:** [April 2, 2015, 9:55pm UTC](https://discuss.elastic.co/t/set-index-query-parse-allow-unmapped-fields-false-for-a-single-index/23073 "2015-04-02T21:55:07Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Todd\_Nine](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/todd_nine/32/778_2.png) [@Todd\_Nine](https://discuss.elastic.co/u/Todd_Nine)
#### Post date: [April 2, 2015, 9:55pm UTC](https://discuss.elastic.co/t/set-index-query-parse-allow-unmapped-fields-false-for-a-single-index/23073/1 "2015-04-02T21:55:07Z")

</div>

Hey guys,  
We're running ES as a core service, so I can't guarantee that my  
application will be the only one using the cluster. Is it possible to  
disallow unmapped fields explicitly for an index without modifying the  
global setting?

Thanks,  
Todd

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/19b5a2f9-88f4-4100-809d-3e258e24f6af%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/19b5a2f9-88f4-4100-809d-3e258e24f6af%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Todd\_Nine](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/todd_nine/32/778_2.png) [@Todd\_Nine](https://discuss.elastic.co/u/Todd_Nine)
#### Post date: [April 2, 2015, 10:14pm UTC](https://discuss.elastic.co/t/set-index-query-parse-allow-unmapped-fields-false-for-a-single-index/23073/2 "2015-04-02T22:14:32Z")

</div>

Figured this out (derp). So my next question, is how can I disable dynamic  
mappings so that they don't occur?

Thanks,  
Todd

On Thursday, April 2, 2015 at 3:55:07 PM UTC-6, Todd Nine wrote:

> Hey guys,  
> We're running ES as a core service, so I can't guarantee that my  
> application will be the only one using the cluster. Is it possible to  
> disallow unmapped fields explicitly for an index without modifying the  
> global setting?
> 
> Thanks,  
> Todd

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/29f0c5e3-068d-4e19-9a3b-6cd38ec60e08%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/29f0c5e3-068d-4e19-9a3b-6cd38ec60e08%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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: [April 2, 2015, 10:26pm UTC](https://discuss.elastic.co/t/set-index-query-parse-allow-unmapped-fields-false-for-a-single-index/23073/3 "2015-04-02T22:26:44Z")

</div>

You can use index.mapper.dynamic: false

​See

> **[Mapper | Elasticsearch Guide \[8.11\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules-mapper.html#_dynamic_mappings)**

​

On 3 April 2015 at 09:14, Todd Nine [tnine@apigee.com](mailto:tnine@apigee.com) wrote:

> Figured this out (derp). So my next question, is how can I disable  
> dynamic mappings so that they don't occur?
> 
> Thanks,  
> Todd
> 
> On Thursday, April 2, 2015 at 3:55:07 PM UTC-6, Todd Nine wrote:
> 
> > Hey guys,  
> > We're running ES as a core service, so I can't guarantee that my  
> > application will be the only one using the cluster. Is it possible to  
> > disallow unmapped fields explicitly for an index without modifying the  
> > global setting?
> > 
> > Thanks,  
> > Todd
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/29f0c5e3-068d-4e19-9a3b-6cd38ec60e08%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/29f0c5e3-068d-4e19-9a3b-6cd38ec60e08%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/29f0c5e3-068d-4e19-9a3b-6cd38ec60e08%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/29f0c5e3-068d-4e19-9a3b-6cd38ec60e08%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .
> 
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEYi1X9pcUgD0oSEPFS-UWAOjjX8JqKbmVfaa0DC0PcZKtspvw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEYi1X9pcUgD0oSEPFS-UWAOjjX8JqKbmVfaa0DC0PcZKtspvw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 12:21am UTC](https://discuss.elastic.co/t/set-index-query-parse-allow-unmapped-fields-false-for-a-single-index/23073/4 "2017-07-06T00:21:56Z")

</div>


