I am getting this error after my upgrade to 6.0 GA
[2017-11-16T11:16:50,464][DEBUG][o.e.a.b.TransportShardBulkAction] [logs.web-2017.11.01][0] failed to execute bulk item (index) BulkShardRequest [[logs.web-2017.11.01][0]] containing [index {[...]}] org.elasticsearch.index.mapper.MapperParsingException: failed to parse at org.elasticsearch.index.mapper.DocumentParser.wrapInMapperParsingException(DocumentParser.java:175) ~[elasticsearch-6.0.0.jar:6.0.0] [...]Caused by: java.lang.IllegalArgumentException: Could not convert [useragent.index] to boolean at org.elasticsearch.common.xcontent.support.XContentMapValues.nodeBooleanValue(XContentMapValues.java:433) ~[elasticsearch-6.0.0.jar:6.0.0] [...] Caused by: java.lang.IllegalArgumentException: Failed to parse value [no] as only [true] or [false] are allowed. at org.elasticsearch.common.Booleans.parseBoolean(Booleans.java:73) ~[elasticsearch-6.0.0.jar:6.0.0]
I initially thought it might be caused by a template containing this
{ "useragent": { "path_match": "web.useragent", "mapping": { "type": "keyword", "index": "no" } } }
but I have updated the template to make that "false" instead of of "no", restarted es, and I still get the same error.
A GET on that template in dev tools / console shows it had been updated with a new version number and the value "false". I am at a loss as to where to look next.