I need some help -
i'm trying to configure dynamic templates to pick up GeoJSON format in
order to use the better map in Kibana 3.x
BUT the parser throws exceptions:
java.lang.RuntimeException: indexing error MapperParsingException[failed to
parse]; nested: ElasticsearchParseException[geo_point expected];
my document looks like this :
{
"inner":{
"field1":"somevalue",
"field2":"somevalue",
"geo_location": [0, 0]
}
}
and the mapping template looks like this
{
"mappings": {
"default": {
"_source": {
"includes": [
"*"
]
},
"dynamic_templates": [
{
"geo_data": {
"path_match": "inner.geo_location",
"mapping": {
"type": "geo_point"
}
}
}
],
"properties": {
"inner": {
"type": "object",
"properties": {
"meta": {
"include_in_all": true,
"type": "object"
}
}
}
}
}
}
}
am i doing something wrong? am i missing something?
--
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/7e7846c3-ace3-4f0e-92f4-9509ccb1a52d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.