Slackbot
09/29/2023, 9:59 PMJason Bosco
09/29/2023, 10:00 PMJamshid Hashimi
09/29/2023, 10:03 PM2023-09-29 21:56:16 replication-orchestrator > Schema validation errors found for stream xxxx. Error messages: [$.has_profile: null found, string expected, $.have_dependent_children: null found, string expected, $.country_of_residence: null found, string expected, $.meta_noc: null found, string expected, ........]
a bunch more of the exact same messaging as above.
Now I wonder why that is. Why not accept null and expecting string.
Any immediate thoughts?Jason Bosco
09/29/2023, 10:08 PMoptional: true in the collection schemaJason Bosco
09/29/2023, 10:09 PMJamshid Hashimi
09/29/2023, 10:09 PM{
"facet": false,
"index": true,
"infix": false,
"locale": "",
"name": "has_profile",
"optional": true,
"sort": false,
"type": "string"
},Jason Bosco
09/29/2023, 10:09 PMJamshid Hashimi
09/29/2023, 10:10 PMJamshid Hashimi
09/29/2023, 10:11 PMJason Bosco
09/29/2023, 10:12 PMJason Bosco
09/29/2023, 10:12 PMJamshid Hashimi
09/29/2023, 10:13 PMJamshid Hashimi
09/29/2023, 10:20 PMrecord type fields and now all 50K records are synced. Definitely something about them.Jamshid Hashimi
09/29/2023, 10:30 PMJason Bosco
10/02/2023, 1:00 AMJamshid Hashimi
10/02/2023, 5:56 PMJason Bosco
10/02/2023, 7:48 PMWere there any changes on the Cloud that may caused this?We do not change Typesense versions automatically, except in very rare cases to restore cluster stability.
Jason Bosco
10/02/2023, 7:49 PMJamshid Hashimi
10/02/2023, 9:58 PM{
"created_at": 1696283162,
"default_sorting_field": "",
"enable_nested_fields": true,
"fields": [
{
"facet": false,
"index": true,
"infix": false,
"locale": "",
"name": "work",
"optional": true,
"sort": false,
"type": "object[]"
},
{
"facet": false,
"index": true,
"infix": false,
"locale": "",
"name": "work.to",
"optional": true,
"sort": false,
"type": "string[]"
},
{
"facet": false,
"index": true,
"infix": false,
"locale": "",
"name": "work.job_title",
"optional": true,
"sort": false,
"type": "string[]"
},
.....
.....
}
which looks okay to me.Jason Bosco
10/02/2023, 10:39 PMJamshid Hashimi
10/03/2023, 4:33 PM"enable_nested_fields": true, will be useless. I wonder if there is a way to change the data type after the sync happens to typesense from string to object[] or if there is any alternative solutions.Jason Bosco
10/03/2023, 5:00 PMJason Bosco
10/03/2023, 5:02 PMJason Bosco
10/03/2023, 5:02 PMJason Bosco
10/03/2023, 5:03 PMJamshid Hashimi
10/03/2023, 5:09 PMJason Bosco
10/04/2023, 4:13 PMJason Bosco
10/04/2023, 4:13 PMJason Bosco
10/04/2023, 4:13 PM