Hi folks,
I just updated to 0.20.6 and I'm getting the following exception that I
didn't used to get:
org.elasticsearch.ElasticSearchIllegalArgumentException: unknown property [
badv]
at org.elasticsearch.index.mapper.core.StringFieldMapper.parseCreateField(
StringFieldMapper.java:276)
at org.elasticsearch.index.mapper.core.StringFieldMapper.parseCreateField(
StringFieldMapper.java:46)
at org.elasticsearch.index.mapper.core.AbstractFieldMapper.parse(
AbstractFieldMapper.java:307)
This "badv" property is a particular field in the document that is not
explicitly defined in the schema, but there are a bunch of fields that fall
into this category so I have the following in my schema:
'dynamic_templates': [
{
'all_fields': {
'match': '*',
'mapping': {
'type': 'string'
}
}
}
],
Previously this would catch any field in the doc that was not explicitly
defined in the schema and just index it as a string. Now I seems to not be
working.
Any idea why I would now be getting this error?
(P.S. I upgraded from 0.19.12 because of an NPE within ES so can't really
go back)
Both the schema and the document being indexed are attached.
--
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.
For more options, visit https://groups.google.com/groups/opt_out.