Avoiding Pagination in Search Results and Fetching Counts
TLDR Jainil asked about avoiding pagination and fetching counts. Jason suggested using export and multi_search endpoints, and setting per_page to 0 for counts.
3
Apr 07, 2023 (6 months ago)
Jainil
05:01 PMJason
05:09 PM1
Jason
05:10 PM1
Jainil
07:19 PMApr 08, 2023 (6 months ago)
Jason
05:57 AM1
Typesense
Indexed 2779 threads (79% resolved)
Similar Threads
Querying Search Results Without Pagination
Krish inquired about fetching all search documents at once without pagination. Jason confirmed it's not possible and suggested opening a GitHub issue for the feature.
Disabling Pagination and Retrieving Large Data Sets
Mohsen was looking to disable pagination and retrieve over 250 items. Jason explained that it cannot be disabled for performance reasons but offered an alternative solution using the documents/export endpoint.
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.