I'm seeing that duplicate fields (same exact name) are allowed/created in my mapping.
Background: I'm running ES 1.7.2, and I created a template that causes mappings (with a certain name, in a certain index) to have a specific field as a "double" data type. This works fine. I've tested that out. So, as documents are saved, that field is populated properly (BUT only if the field is numeric and not-quoted).
BUT, if I pass in a "2", or anything quoted, I'm seeing a duplicate field is created in my mapping (with the same exact name) with data type "string". I didn't think that was possible in ES. Is there a way to prevent that?
The reason I added the template in the first place was to force the field's data type.