Slackbot
09/28/2023, 4:56 PMJason Bosco
09/28/2023, 4:57 PMJamshid Hashimi
09/28/2023, 4:59 PMsame_country field:
{
"fields": [
{
"name": "same_country",
"drop": true
},
{
"facet": true,
"index": true,
"infix": false,
"locale": "",
"name": "same_country",
"optional": true,
"sort": false,
"type": "string"
},
]
}
after click the update button, the facet is now set as true for that field.
I have to do this for every field that I want to set as facet true.Jason Bosco
09/28/2023, 5:37 PMJamshid Hashimi
09/28/2023, 6:06 PMJamshid Hashimi
09/28/2023, 6:26 PMError: e: Request failed with HTTP code 400 | Server said: Schema change is incompatible with the type of documents already stored in this collection. Existing data for field `education.country` cannot be coerced into an array of string.
I am actually not doing anything with education.country.Jason Bosco
09/28/2023, 6:35 PMJamshid Hashimi
09/28/2023, 8:09 PM