Canceling Search Requests in Typesense with Swift on iOS
TLDR Davide requested information on canceling search requests in Typesense with Swift. Sabesh confirmed it's currently unsupported but welcomed pull requests or raised issues on their GitHub repo.
May 26, 2023 (6 months ago)
Davide
07:43 AMis possible to cancel a search request? Or cancel any active search calls? The scenario is this:
I have an input field where user starts to input a key to search, with a debounce delay of 500ms, but the problem is that I wish to cancel any active search call and get data only from the very last one.
I saw the library for iOS but I do not see any function like "cancel" (or "remove", "delete", "reset") that stops the current request.
Is this going to be implemented in the future or what can you suggest to do to achieve my goal? Thanks 1k
Jason
05:37 PMSabesh
06:14 PMDavide
11:57 PMMay 27, 2023 (6 months ago)
Sabesh
06:36 AMDavide
10:14 AMTypesense
Indexed 3005 threads (79% resolved)
Similar Threads
Discussion on Typesense Server Version Causing Issue
Davide had issues with queries on dev server, which worked fine on prod. After investigating, Kishore Nallan and Shaun suggested updating server versions. Once updated, queries started working fine in both environments.
Querying from iOS app using Typesense search on Firestore
clem queries about using Typesense with Firestore on iOS. Jason confirms calling Typesense's REST API directly and mentions an upcoming Swift client in development.
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.