Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
None
-
None
-
1
-
CET: Bojack (22 - 28 Feb 22), CET: Cheshire Cat (1-7 Mar 22)
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" |
}
|
}
|
}
|
}
|