Aakansha J
12/24/2025, 10:47 AMtypesense/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.Hayden Hoang
12/24/2025, 2:12 PM