Elasticsearch - Mappings and Data Types
What is wrong with this Elasticsearch mapping for a geo_shape field named area?
{
"properties": {
"area": {
"type": "geo_point"
}
}
}The data to be stored is a polygon shape.
What is wrong with this Elasticsearch mapping for a geo_shape field named area?
{
"properties": {
"area": {
"type": "geo_point"
}
}
}The data to be stored is a polygon shape.
geo_shape type, not geo_point.geo_point which only supports single points, so it cannot store polygons.geo_shape to store polygons. -> Option A15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions