Largest Per Page Number and Include Fields in TS
TLDR Jameshwart asked about the largest per page number and using include_fields. Jason provided answers and helped with the UI.


Apr 14, 2023 (5 months ago)
Jameshwart
02:35 AMJason
02:43 AMJameshwart
02:44 AMJason
02:45 AMJason
02:45 AMJameshwart
02:46 AMJameshwart
02:46 AMJason
02:46 AMJameshwart
02:46 AMJason
02:46 AMJameshwart
02:46 AMJameshwart
02:47 AM
Jameshwart
02:47 AMJason
02:47 AMJameshwart
02:49 AM
Typesense
Indexed 2764 threads (79% resolved)
Similar Threads
Maximum Number of Fields in a Document
Rodrigo inquired about the maximum number of fields a document can have. Kishore Nallan assured there's no limit.

Efficiently Retrieving Facets in Typesense
Todd asked if using an empty string for `include_fields` returns facets. Jason and Dan suggested using `0` for `per_page` to limit results.



Pagination of Data with Different Page Sizes
Jameshwart inquires about pagination with different page sizes. Jason advises on pagination using 'per_page', 'found', and 'modulo'. Kishore Nallan suggests using 'offset' and 'limit' for flexible pagination.
How to Check Next Page Existence When Paginating
Patrik inquired about checking next page when paginating. Jason suggested using the 'found' field from the response and 'per_page' query value.


Pagination and Determining Next Page
Gustavo asked about pagination and determining the next page. Jason suggested using the `found`, `per_page`, and `page` keys to calculate the total number of pages.