Peter Morawiec
02/15/2022, 2:49 AMField 'cpvIndex' must be an int32.
This field (and others) can be null
. My schema looks as follows:
fields: [
{name: '.*', type: 'auto', optional: true},
{
name: 'cpvIndex',
type: 'int32',
facet: false,
optional: true, // <-- should allow null vals?
},
...
Kishore Nallan
02/15/2022, 2:50 AMKishore Nallan
02/15/2022, 2:51 AMPeter Morawiec
02/15/2022, 2:52 AMnull
Peter Morawiec
02/15/2022, 2:55 AMnull
key vals from the document, i'm getting Field cpvIndex has been declared in the schema, but is not found in the document.
Peter Morawiec
02/15/2022, 2:56 AM0
since this would be incorrect data for us 😞Kishore Nallan
02/15/2022, 2:58 AMKishore Nallan
02/15/2022, 2:58 AMPeter Morawiec
02/15/2022, 2:58 AMKishore Nallan
02/15/2022, 2:59 AMPeter Morawiec
02/15/2022, 3:00 AMTypesense v0.23.0.rc21
(Jason bumped me up, to allow string-based sort)Kishore Nallan
02/15/2022, 3:17 AMKishore Nallan
02/15/2022, 3:20 AM/collections
end-point and check the exact schema that Typesense has stored for this collection?Peter Morawiec
02/15/2022, 3:23 AM"facet": false,
"index": true,
"name": "cpvIndex",
"optional": true,
"type": "int32"
Kishore Nallan
02/15/2022, 3:23 AMPeter Morawiec
02/15/2022, 3:24 AMKishore Nallan
02/15/2022, 6:09 AM