Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
1
Description
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" |
}
|
}
|
}
|
}
|