Adds GeoJSON format to geopoint (#1806)
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
This commit is contained in:
parent
7d49496097
commit
01b2aa525a
|
@ -80,6 +80,17 @@ PUT testindex1/_doc/5
|
|||
}
|
||||
```
|
||||
|
||||
- GeoJSON format, where the `coordinates` are in the [`longitude`, `latitude`] format
|
||||
|
||||
```json
|
||||
PUT testindex1/_doc/6
|
||||
{
|
||||
"point": {
|
||||
"type": "Point",
|
||||
"coordinates": [74.00, 40.71]
|
||||
}
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
The following table lists the parameters accepted by geopoint field types. All parameters are optional.
|
||||
|
|
Loading…
Reference in New Issue