Hi team, There is a search parameter i see as `per...
# community-help
a
Hi team, There is a search parameter i see as
per_page
defined as
Copy code
per_page	no	Number of hits to fetch.
When group_by is used, per_page refers to the number of groups to fetch per page, in order to properly preserve pagination.
Default: 10
NOTE: Only upto 250 hits (or **groups of hits when using group_by**) can be fetched per page.
According to definition , using group_by hits should be on group level, but its happening on document level.
Copy code
'found': 38,
 'found_docs': 250,
this was returned when
per_page was set to 250
, here the
group hits were 38
and
document hits 250
is it behaving as expected or if its not working and could be a bug?
k
Hmm this sounds like a bug. Is it trivially reproduceable with some dummy /sample records?
s
Hi @Kishore Nallan, I am facing the same issue, is the issue identified on per_page on group_by ?
k
Not yet, please share a minimally reproducible example so we can investigate.
s
sure, will DM you