Query about Search API's Result Details
TLDR Shawn asked if the search API returns total pages. Jason clarified that it does not, yet it provides data necessary for the calculation.
Jan 19, 2023 (9 months ago)
foundparameter which is the total number of results founds. Using that, and the
per_pageparameter (which defaults to 10) you should be able to calculate the total number of pages
Indexed 2779 threads (79% resolved)
Identifying Last Page of Search Results via API
TJ asked if there was a way to know when he's reached the last page of a search result. Jason suggested using the 'found' and 'page' parameters in the API response.
Calculating Total Pages in Search Request Results
Laura asked how to calculate total pages of search results. Jason suggested using `found / per_page`.
Retrieving Number of Pages and Total Hits from API Documentation
AK asked about retrieving page count and total hits from API documentation. Kishore Nallan guided them to the "found" field in the response.