Wrong value for index 'false'


(Michael Sokolov) #1

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAGUSZHDAULdhS4OQeOVY-TFryxTjdL382KKTJRJk%2Bw9Jtz7Bog%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(system) #2