The response can be interpreted as the following outcome:
total=1131
, more=false
- Indicates that total number of hits is 1131. The UI can show up to 31 results as part of the first page and provide pagination for the next three pages. You can also use this implementation to display a descriptive text like “1131 results found”.
total=1131
, more=true
- Indicates that the total number of hits is greater than 1131 and the exact count is not known. The UI can show up to 31 as part of the first page and provide pagination for the next 31 pages. You can also use this to display a text like “more than1131 results found”. As the user goes to the next pages calls made to the Query Builder would increase the limit of guessTotal
and also of the offset
and limit
parameters.
Arun Patidar