Retrieving Facets of a Collection
TLDR Digamber inquired about retrieving all facets of a collection. Kishore Nallan suggested using the collection summary endpoint, looping through the fields, and caching the results.
Sep 21, 2022 (13 months ago)
Digamber
10:39 AMIs there a way to retrieve all the facets of a collection
Kishore Nallan
10:41 AMfacet: true
Digamber
10:52 AMMaybe an idea for the future ?
Kishore Nallan
10:56 AMDigamber
10:56 AMKishore Nallan
10:57 AMDigamber
10:58 AMTypesense
Indexed 2779 threads (79% resolved)
Similar Threads
List of Facets in Collection and Version Update
arif wants to get a list of all facets in a collection. Jason suggests using `facet_by: *` and clarifies that removing all records with a particular attribute won't remove the field from the schema. Upgrading to the latest version should be scheduled manually.
Updating Collections Strategy and Faceting New Field
Nithin asked about strategies for updating collections and faceting new fields. Kishore Nallan suggested creating another collection, indexing in the background and using aliases to switch live traffic over, and shared details about the upcoming release.
Faceting on All Fields in Algolia
Dipankar inquired about faceting on all fields in Algolia, paralleling a need Viji also had. Kishore Nallan confirmed this feature isn't currently available and requested an issue be created on Github, to which Dipankar complied.