Setting Typesense Schema to Return Boolean in Firestore
TLDR Rude needed help to make his firestore's typesense schema return boolean 'profileFinished' as true. Jason provided the correct instructions and resolved the issue.
Jul 12, 2022 (18 months ago)
Rude
05:13 PMJason
05:14 PMtype: boolean
in the schema. And then when doing a search, you want to set filter_by: profileFinished:true
Jason
05:14 PMRude
06:22 PMTypesense
Indexed 3005 threads (79% resolved)
Similar Threads
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.
Specific Collection Backfill and Schema Config in Firebase Extension
Loic asked Jason about backfilling specific collections with the Firebase Extension and configuring collection schemas. The latter explained current limitations and gave advices about handling attributes for search/filtering, storage, and return.