Skip to content
This repository has been archived by the owner on May 13, 2021. It is now read-only.

Add multiple php versions during CI tests #82

Merged
merged 1 commit into from
Jan 27, 2021
Merged

Conversation

curquiza
Copy link
Member

No description provided.

@curquiza curquiza changed the title Add multiple php version during CI tests Add multiple php versions during CI tests Jan 27, 2021
@curquiza curquiza merged commit 7109189 into master Jan 27, 2021
@curquiza curquiza deleted the fix-linter-ci branch January 27, 2021 11:26
bors bot added a commit that referenced this pull request Jan 27, 2021
80: Fix getTotalCount() method r=curquiza a=curquiza

Remove `nbHits` usage because this is not reliable information.

The Meili team is aware of this. Here are the different issues and comments about it to explain why it's confusing, and why we should not use it:
- meilisearch/meilisearch#1120
- meilisearch/documentation#561
- meilisearch/meilisearch-php#119 (comment)

TLDR;
`nbHits` is not reliable for pagination because can be exhaustive or not, depending on the value of `exhaustiveNbHits` that MeiliSearch returns which is always `false` for the moment.

We are sorry for this. We all hope this confusion will be fixed asap in MeiliSearch.

⚠️ The linter error in the CI will be fixed with #82  

Co-authored-by: Clémentine Urquizar <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant