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

[10.x] Check for default total count return in meilisearch #900

Merged
merged 1 commit into from
Jan 18, 2025

Conversation

Boorinio
Copy link
Contributor

As per meilisearch documentation:
By default, Meilisearch only returns an estimate of the total number of search results in a query: estimatedTotalHits. This happens because Meilisearch prioritizes relevancy and performance over providing an exhaustive number of search results. When working with estimatedTotalHits, use offset and limit to navigate between search results.

Fixes
#895

@Boorinio Boorinio changed the title Check for default total count return in meilisearch [10.x] Check for default total count return in meilisearch Jan 18, 2025
@taylorotwell taylorotwell merged commit d0c0ae3 into laravel:10.x Jan 18, 2025
19 checks passed
@crynobone crynobone linked an issue Jan 22, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pagination throws error Undefined array key "totalHits"
2 participants