Solving Bool Field Filtering Issue in Typesense
TLDR 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.
2
1
Jan 18, 2023 (9 months ago)
Guillermo
07:06 PMJason
07:07 PMJason
07:08 PMsearchParameters
and gets passed to the Typesense client?Guillermo
07:08 PM {
"facet": true,
"index": true,
"infix": false,
"locale": "",
"name": "isFeatured",
"optional": true,
"sort": false,
"type": "bool"
},
Guillermo
07:10 PM{q: *, query_by: name, filter_by: isFeatured: true, sort_by: geolocation(-34.6213324,-58.3796079):asc, per_page: 10, page: 1}
Jason
07:11 PMisFeatured:true
works? (No space before true
)Jason
07:12 PMGuillermo
07:13 PMGuillermo
07:13 PMJason
07:14 PMisFeatured:true
?Guillermo
07:16 PMGuillermo
07:16 PMGuillermo
07:16 PMJason
07:17 PMJason
07:18 PMGuillermo
07:21 PM1
Guillermo
07:22 PMGuillermo
07:27 PMThe problem was that I forgot to add that field in the configuration of the firebase-typesense extension 😅
1
1
Typesense
Indexed 2779 threads (79% resolved)
Similar Threads
Nested Objects Issue in Firebase & Typesense Integration
Shaun encountered issues with nested objects being flattened in Typesense. Jason found the root issue and provided a solution involving updating the Firebase extension to 1.0.3.
Troubleshooting 400 Error When Upgrading Typesense Firestore Extension
Orion experienced a `400` error after updating the Typesense Firestore extension, causing issues with cloud functions. They traced the issue back to a data type conflict in their Typesense collection schema after updating. With help from Jason and Kishore Nallan, they resolved the issue by recreating the collection.
Sorting Results in Typesense and Handling Errors
Ramees asks about sorting results by distance in Typesense, entering a list of strings as a field, and resolving an error with `fields` format. Kishore Nallan assists with these issues and advises on storing timestamps and proper authentication.
Troubleshooting Typesense Filter_by Parameter Issue
Sagar had trouble with the filter_by parameter in Typesense. Kishore Nallan identified issue related to indexing, which resolved part of the issue. Guidance was given for handling null values.
Understanding and Implementing Typesense Dart Library with Flutter
Alexandro sought help with the Typesense Dart library. Jason explained that the library is in progress, discussed utilizing other HTTP libraries, and provided detailed instructions on utilizing Typesense with Flutter. Alexandro provided feedback on the Typesense UI and expressed interest in creating a tutorial video.