Filtering by Boolean in JS SDK
TLDR Gustavo had trouble filtering by boolean in JS SDK. Kishore Nallan suggested using 'bool' instead of 'boolean', which resolved the issue.
Jun 04, 2023 (6 months ago)
filter_by: 'blocked', and none of them worked. Why?
Jun 05, 2023 (6 months ago)
Kishore Nallan01:44 PM
> RequestMalformed: Request failed with HTTP code 400 | Server said: Error with filter field
blocked: Unidentified field data type, see docs for supported data types.
Kishore Nallan02:15 PM
Kishore Nallan02:29 PM
Indexed 3011 threads (79% resolved)
Resolving Error with JSON Boolean Field
GM faced an error with a JSON boolean field, Jason suggested checking the field definition. After using curl commands, GM realized the issue and discussed improving error messages.
Setting Typesense Schema to Return Boolean in Firestore
Rude needed help to make his firestore's typesense schema return boolean 'profileFinished' as true. Jason provided the correct instructions and resolved the issue.
Import Failure Issue with Booleans in Schema
Todd faced issues with document import due to booleans in the schema. Kishore Nallan helped diagnose the problem, which was solved by explicitly declaring the boolean in the schema.
Solving Bool Field Filtering Issue in Typesense
Guillermo was struggling with filtering by a bool field in Typesense. Jason assisted, and realized that Guillermo forgot to add the relevant field in the firebase-typesense extension configuration.
Sorting by Boolean Values in Typesense
Andrew sought to sort documents by Boolean value in Typesense. Jason indicated this is possible from `v0.24.0.rcn25` and recommended an upgrade for Typesense Cloud users.