Getting Facet Stats in Typesense Angular Application
TLDR Hariharan asked about obtaining facet stats in Typesense Angular app. Jason suggested specifying the field in
facet_by query param for facet counts.
Feb 27, 2023 (9 months ago)
facet_byquery param, you’ll get facet counts in the API response
Indexed 3005 threads (79% resolved)
Typesense Facet Query Issue and Resolution
Stefan wanted to have typesense return count: 0 for filtered out facets, which was not supported. They shared a workaround using a server data call. The solution involved adding "facets: [this.filterConfig.attribute]," for the server adapter to work. Kishore Nallan acknowledged the resolution.
Setting dynamic range faceting in Typesense
Jacob requested dynamic range faceting in Typesense, and explanation for fetching max/min values. Kishore Nallan clarified pricing bucket sizes were user dependent and explained the stats return as part of facet results.
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.