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.
Oct 17, 2023 (1 month ago)
Kishore Nallan01:53 PM
Oct 23, 2023 (1 month ago)
I 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:
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 Nallan09:57 AM
Indexed 3015 threads (79% resolved)
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.