Description
When I use Scout search (with Elasticsearch), the total number of items returned in the to field of the search response does not seem consistent.
For example, if I have 20 users, I make this query:
{
“search”: {
“text”: {
“value”: “”
},
“page”: 1,
“limit”: 10
}
}
The REST API response returns:
“from”: 1,
“last_page”: 1,
“per_page”: 10,
“to”: 10,
“total”: 10,
Whereas I am expecting:
“from”: 1,
“last_page”: 2,
“per_page”: 10,
“to”: 10,
“total”: 20,