Querying Search Results Without Pagination
TLDR 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.
Dec 26, 2022 (9 months ago)
Indexed 2764 threads (79% resolved)
Avoiding Pagination in Search Results and Fetching Counts
Jainil asked about avoiding pagination and fetching counts. Jason suggested using export and multi_search endpoints, and setting per_page to 0 for counts.
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.
Disabling Pagination Limit on Returned Hits
Radi asked if the hits limit could be removed, but Jason stated that the only way was to use the documents export endpoint which is not quite what Radi required, resulting in a decision to adjust the pagination limit.
Retrieving All Documents in a Collection with Pagination
ohm was seeking to retrieve all documents of a collection with pagination, without filters. Kishore Nallan suggested a wildcard search.