Skip to content

The total number of paginated results is wrong #390

@Anbool

Description

@Anbool

Description
The total number of paginated results is wrong

Expected behavior
The total number of correct query results returned.

Current behavior
Hello, it took me a few days to replace our ES with meilisearch. At present, everything is well tested, but we use the JAVA SDK provided by meilisearch. By querying the results returned by meilisearch, we found that there is a problem with the statistical number of paginated query results. Each last page of 's is automatically incremented by 1 offset. This will cause the total number of query results to be more than 20 results!
Screenshots or Logs
If applicable, add screenshots or logs to help explain your problem.

Environment (please complete the following information):

  • OS: CentOS 8
  • Meilisearch version: 0.27.1
  • meilisearch-java version: 0.7.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    supportIssues related to support questions.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions