Skip to content

Commit 9e2c66f

Browse files
authored
Merge pull request #306 from MITLibraries/gdt-116-update-location-field
Update geopoint to geoshape
2 parents 4a49d30 + 2728c43 commit 9e2c66f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

config/opensearch_mappings.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,9 @@
259259
"type": "nested",
260260
"include_in_parent": "true",
261261
"properties": {
262-
"geopoint": {
263-
"type": "geo_point"
262+
"geoshape": {
263+
"type": "geo_shape",
264+
"doc_values": "false"
264265
},
265266
"kind": {
266267
"type": "keyword",
@@ -400,4 +401,4 @@
400401
}
401402
}
402403
}
403-
}
404+
}

0 commit comments

Comments
 (0)