Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to get the exact number of records? #443

Closed
elizavetabyn opened this issue May 30, 2023 · 2 comments
Closed

Is it possible to get the exact number of records? #443

elizavetabyn opened this issue May 30, 2023 · 2 comments
Labels
support Issues related to support questions.

Comments

@elizavetabyn
Copy link

I know that there is an "estimatedTotalHits" parameter, but it shows the wrong value, sometimes even twice as much, so how can I get the exact number of rows in this case? Or if it is not possible, are there alternatives, the exact number of lines is needed for pagination.

@alallema alallema added the support Issues related to support questions. label May 31, 2023
@oluademola
Copy link

Hello @atanassia. It is possible to get the exact number of search results by using the hitsPerPage parameter in your search query. You can find more information in this guide

@alallema
Copy link
Contributor

alallema commented Jun 1, 2023

Thanks @oluademola, as the question has been answered I'm closing this issue.

@alallema alallema closed this as completed Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Issues related to support questions.
Projects
None yet
Development

No branches or pull requests

3 participants