Retrieving All Items from Client Search
TLDR Coffee inquired about fetching all items from a client search. Kishore Nallan suggested using
page=X parameter for pagination but warned of performance impact.
Feb 20, 2022 (23 months ago)
Kishore Nallan11:55 AM
page=Xparameter to access further pages, but that will have a performance impact. Typesense is a search so it's optimized for fetching top relevant results fast.
The export end-point supports exporting documents based on a filter condition. But it does not support a
Indexed 3011 threads (79% resolved)
Retrieving All Documents: Challenges and Considerations
Masahiro asked about retrieving all documents in one query. Harisaran suggested increasing the `per_page` parameter. Kishore Nallan clarified that getting all results is possible via pagination or export, but implementing query + export feature is in the backlog. It was also discussed that extensively scrolling through search results can cause slower performance.
Discussion on the Use of `TypesenseInstantSearchAdapter`
DavidLo sought advice to retrieve search results using `TypesenseInstantSearchAdapter`. Carl and Jason advised using `typesense-js` and features like `documents/export`, `documents/search`, `multisearch`, and pagination. The potential server-side solution and bundle size issues concerning the exposure of the search client were also discussed.
Moving from Algolia to Typesense: Questions and Answers
Juan sought advice from Kishore Nallan about moving from Algolia to Typesense, handling MultiSearch, setting parameters, checking imported documents, and a specific syntax query.