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 (15 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 2779 threads (79% resolved)
Similar Threads
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.
Querying Typesense API with Boolean Operators
JOCSELINE asked about boolean operators in Typesense API's search feature. Jason clarified that Typesense doesn't support boolean operators in the 'q' parameter and suggested a solution. JOCSELINE confirmed the solution worked.