From 01b2aa525a1b4e3bcd7b4acaebd28675b3a6b009 Mon Sep 17 00:00:00 2001 From: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Date: Thu, 3 Nov 2022 20:26:31 -0400 Subject: [PATCH] Adds GeoJSON format to geopoint (#1806) Signed-off-by: Fanit Kolchina Signed-off-by: Fanit Kolchina --- _opensearch/supported-field-types/geo-point.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/_opensearch/supported-field-types/geo-point.md b/_opensearch/supported-field-types/geo-point.md index 4dc1482c..8f9866a0 100644 --- a/_opensearch/supported-field-types/geo-point.md +++ b/_opensearch/supported-field-types/geo-point.md @@ -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.