Hi Team, We are trying to use faceting support on...
# community-help
a
Hi Team, We are trying to use faceting support on joined collection in
typesense/typesense:30.0.rca35
. But, facing an issue with returned facet counts. On running multisearch, faceting on joined collection fields
($collection(field))
returns incorrect facet counts. It appears to be counting unique facet values (2 distinct types) rather than the actual document counts per facet value. Faceting on native fields works correctly, it returns correct facet counts. Our Usecase: There are two collections, Collection A and Collection B, with a one-to-many relationship from A to B, where the foreign key/reference is stored in Collection B. Our queries are executed on Collection B, joined with Collection A, and specific fields from Collection A are exposed as facets.
h
Hi @Aakansha J, could you post a small reproducible example like this?