When creating an index with a field of type geo_shape that uses the term strategy, I've observed some strange behaviors (this is in hosted 6.3.0):
Issuing this command in Kibana dev tools is successful (though takes 30 seconds to respond)
PUT /example
{
"mappings": {
"doc": {
"properties": {
"location": {
"type": "geo_shape",
"tree": "quadtree",
"precision": "10m",
"strategy": "term"
}
}
}
}
}
But when you subsequently attempt to change the Index settings this happens
PUT /example/_settings
{
"settings": {"refresh_interval": "-1"}
}
Response:
{
"error": {
"root_cause": [
{
"type": "mapper_parsing_exception",
"reason": "Mapping definition for [location] has unsupported parameters: [points_only : true]"
}
],
"type": "mapper_parsing_exception",
"reason": "Failed to parse mapping [doc]: Mapping definition for [location] has unsupported parameters: [points_only : true]",
"caused_by": {
"type": "mapper_parsing_exception",
"reason": "Mapping definition for [location] has unsupported parameters: [points_only : true]"
}
},
"status": 400
}
Everything works fine if you change the strategy to recursive