# Wrong value for index 'false'

**URL:** <https://discuss.elastic.co/t/wrong-value-for-index-false/16832>\
**Category:** Elasticsearch\
**Created:** [April 6, 2014, 12:46am UTC](https://discuss.elastic.co/t/wrong-value-for-index-false/16832 "2014-04-06T00:46:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Sokolov](https://avatars.discourse-cdn.com/v4/letter/m/41988e/32.png) [@Michael\_Sokolov](https://discuss.elastic.co/u/Michael_Sokolov)\
**Post date:** [April 6, 2014, 12:46am UTC](https://discuss.elastic.co/t/wrong-value-for-index-false/16832/1 "2014-04-06T00:46:47Z")

</div>

If you configure a mapping using YAML, and you use the documented value  
"no," but neglect to quote it, the value gets converted to a boolean  
false, and this isn't recognized in TypeParsers.parseIndex. Example:

meta\_ss:  
type: string  
index: "no"  
store: true

works OK, but

meta\_ss:  
type: string  
index: no  
store: true

does not

seems like a bug to me ...

-Mike

--  
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/CAGUSZHDAULdhS4OQeOVY-TFryxTjdL382KKTJRJk%2Bw9Jtz7Bog%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAGUSZHDAULdhS4OQeOVY-TFryxTjdL382KKTJRJk%2Bw9Jtz7Bog%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, 1:37am UTC](https://discuss.elastic.co/t/wrong-value-for-index-false/16832/2 "2017-07-06T01:37:57Z")

</div>


