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 (15 months ago)
Is there a way to retrieve all the facets of a collection
Kishore Nallan10:41 AM
Maybe an idea for the future ?
Kishore Nallan10:56 AM
Kishore Nallan10:57 AM
Indexed 3015 threads (79% resolved)
Counting Facets within a Nested Object using Filters
Narayan asked how to get facet counts in a nested object, with filtering, and whether you can facet by an object. Jason suggested using `filter_by` and shared new features supporting this.
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.