The total_records as reported by the cache should be the total number of results that lucene believes matches the query.
Expected
maxRecords=5 & lucene reports 81 total matches ==> total_records should be 81
Actual
maxRecords=5 & lucene reports 81 total matches ==> total_records is 5
Proposed Solution
The cache will use a 6th query to get an approximation of the total count. The cache will return a number between the number returned and 1000. Pagination will show up in Sinopia if total count > requested.
Description
The
total_records
as reported by the cache should be the total number of results that lucene believes matches the query.Expected
maxRecords=5
& lucene reports 81 total matches ==>total_records
should be 81Actual
maxRecords=5
& lucene reports 81 total matches ==>total_records
is 5Proposed Solution
The cache will use a 6th query to get an approximation of the total count. The cache will return a number between the number returned and 1000. Pagination will show up in Sinopia if total count > requested.