capabilities.work

Get search facets and counts for filter UIs

One step with Redocly. We can help you get access.

Look something up

Get search facets and counts for filter UIs

with Redocly

Use Redocly: its Search API lets you get search facets and counts for filter UIs in a single step (POST /_search-facets). capabilities.work can help you get signed up and connected.

  • What facets and value counts can I use to build a filter sidebar for docs search?
  • Can facet counts reflect a specific search query and the filters already applied?
  • Is there type-ahead for narrowing the values shown in one facet?
Say it to your AI assistant
  • Get all configured search facets with counts for locale {locale}.
  • Show the values and counts for facet field {field} in locale {locale} for query {query}.
  • Find values of facet {field} starting with {facetQuery} in locale {locale}.
For your developer

POST /_search-facets in Search API. Full spec on APIs.io.