Skip to content

Commit 2cf5c5c

Browse files
committed
Docs should use type specific synthetic_source_keep
1 parent 2ceb106 commit 2cf5c5c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,15 +231,17 @@ PUT idx
231231
"index": {
232232
"mapping": {
233233
"source": {
234-
"mode": "synthetic",
235-
"synthetic_source_keep": "arrays"
234+
"mode": "synthetic"
236235
}
237236
}
238237
}
239238
},
240239
"mappings": {
241240
"properties": {
242-
"point": { "type": "geo_point" }
241+
"point": {
242+
"type": "geo_point",
243+
"synthetic_source_keep": "arrays"
244+
}
243245
}
244246
}
245247
}

0 commit comments

Comments
 (0)