GeoShape Query(地理形状查询)
Inline Shape Definition(内联形状定义)
PUT /example
{
"mappings": {
"doc": {
"properties": {
"location": {
"type": "geo_shape"
}
}
}
}
}
POST /example/doc?refresh
{
"name": "Wind & Wetter, Berlin, Germany",
"location": {
"type": "point",
"coordinates": [13.400544, 52.530286]
}
}Pre-Indexed Shape(预索引形状)
Spatial Relations(空间关系)
Ignore Unmapped(忽略映射)
Last updated