Skip to content

Commit 9ffebd2

Browse files
committed
Swap point order to highlight ordering not preserved
1 parent 1672338 commit 9ffebd2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/reference/elasticsearch/mapping-reference/geo-point.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ of official GA features.
219219

220220
Synthetic source may sort `geo_point` fields (first by latitude and then
221221
longitude) and reduces them to their stored precision. Additionally, unlike most
222-
types, arrays of `geo_point` fields will not preserve order
222+
types, arrays of `geo_point` fields will not preserve order if
223223
`synthetic_source_keep` is set to `arrays`. For example:
224224

225225
$$$synthetic-source-geo-point-example$$$
@@ -248,8 +248,8 @@ PUT idx
248248
PUT idx/_doc/1
249249
{
250250
"point": [
251-
{"lat":-90, "lon":-80},
252-
{"lat":10, "lon":30}
251+
{"lat":10, "lon":30},
252+
{"lat":-90, "lon":-80}
253253
]
254254
}
255255
```

0 commit comments

Comments
 (0)