Typesense Error: Field must be a string
TLDR Aboo encountered an error in Typesense regarding a boolean field. Kishore Nallan suggested checking the schema and made sure the field is defined as boolean.
Jun 20, 2023 (5 months ago)
I am new to typesense, working on application using typesense, I am getting below error, can anyone please help on this
xxxmust be a string.// as this field is boolean, getting this error while indexing
Note: not able to find documentation on this
Thanks in advance
Kishore Nallan07:31 AM
Let me check that once again
Indexed 3015 threads (79% resolved)
Troubleshooting Typesense 400 Error with Null Fields
sonu was encountering a 400 error due to null fields during Typesense indexing. Jason suggested upgrading to a recent version, removing null fields, and marking potentially null fields as `optional: true`. gab shared a similar issue and workaround.
Querying Empty Strings in Typesense Cloud - Collection Search
Loic wanted to query empty strings in Typesense, but Jason explained this needs to be done when indexing as Typesense doesn't support querying blank keys.
Querying Null and String Values in Typesense.
Andrew wondered if they could look for non-null and string values in Typesense, but Jason explained a workaround by creating a new boolean field at indexing time.