Clarification on Faceting and Grouping in Typesense
TLDR Carlo asked about faceting and grouping in Typesense. Kishore Nallan clarified their operation, suggesting they account for grouping while calculating on the whole set.
1
Oct 17, 2023 (1 month ago)
Carlo
08:48 AMKishore Nallan
01:53 PM1
Oct 23, 2023 (1 month ago)
Carlo
07:35 AMI have 15k records, which have a field "owner" which has ~ 1000 distinct values. I want the top 1, grouped by this owner, and then get the facet values based on this, but from what I read here:
https://threads.typesense.org/kb/t/grouping-and-aggregation-in-typesense/2K62a0
facets are always running before grouping, not after. Is there a way to get faceted search running on the grouped resultset? (or an alternative way to do this)
Oct 24, 2023 (1 month ago)
Kishore Nallan
09:57 AMTypesense
Indexed 3015 threads (79% resolved)
Similar Threads
Understanding Facet Results in Typesense
Prabhu had difficulty understanding the count results of his facet results in Typesense. Kishore Nallan explained the behaviour and suggested creating a Github issue for a feature request to modify count behaviour.
Querying and Updating Facets in Typesense
Hafiz asked about sum/average of records, hourly grouping, and data formatting in Typesense. Kishore Nallan advised on using `facet_by`, grouping methods, and bulk update options. Hafiz was unable to get sum by group but was advised to store records pre-grouped.
Grouping and Aggregation in Typesense
kam asked about grouping and summing in Typesense. Jason explained that Typesense supports grouping, but aggregations are done on the entire resultset.