-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Atlas
-
1
In this doc page, the geo example has an extra type: "document" at the top. It should have a field name before that or it should be removed
https://docs.atlas.mongodb.com/atlas-search/index-definitions/#geo
I believe the part in red should be removed.
{ "mappings": { "dynamic": false, "fields": { {color:#DE350B}"type": "document"{color}, "<field-name>": { "indexShapes": true|false, "type": "geo" } } } }