Possible `groupBy` Bug and Unintentional Result Disappearance
TLDR Bruno identified a potential bug with groupBy
that could be causing some results to vanish. Jason agreed to discuss privately and Bruno flagged important considerations about parameters affecting pagination.
1
Aug 06, 2021 (30 months ago)
Bruno
04:52 PMgroupBy
making some results disappear. It could be related to our dataset. I have here some screenshots and examples, but perhaps it's best to discuss this in private rather than on a GitHub bug?Jason
04:53 PMBruno
05:33 PMgroupLimit
parameter, because it defaults to 3.Also, when grouping is in use,
perPage
will apply to the number of groups found, not total rows, so that pagination works properly. Mr. Bosco was awesome helping me with this.1
Typesense
Indexed 3005 threads (79% resolved)
Similar Threads
Issue with `found` Value in `group_by` Function
Fernando has a question regarding the `found` value in `group_by` function. Jason advises opening a Github issue requesting this feature.
Bug Discovery and Resolution in Collection Admin Panel
Bruno reported a bug regarding the collection admin panel and posted it on GitHub. Jason replicated the issue and determined it was due to duplicated keys in a collection. Bruno agreed to delete the problematic collections.
Pagination of Data with Different Page Sizes
Jameshwart inquires about pagination with different page sizes. Jason advises on pagination using 'per_page', 'found', and 'modulo'. Kishore Nallan suggests using 'offset' and 'limit' for flexible pagination.