Skip to main content
Required ACL: search
  • By default, facet values are sorted by decreasing count. You can adjust this with the sortFacetValueBy parameter.
  • Searching for facet values doesn’t work if you have more than 65 searchable facets and searchable attributes combined.

Usage

// Initialize the client
var client = new SearchClient(new SearchConfig("ALGOLIA_APPLICATION_ID", "ALGOLIA_API_KEY"));

// Call the API
var response = await client.SearchForFacetValuesAsync("<YOUR_INDEX_NAME>", "facetName");
// >LOG

See the full API reference

For more details about input parameters and response fields.
I