Search for facets

Hi Folks,

How can I duplicate the “Search for Facets” functionality you have in Algolia Admin for the index page? Thank you!

@uabbasi welcome to the community!

Do you mean the list of facets and their values displayed alongside the data on the main Index page? I didn’t see anything specifically named ‘Search for Facets’ but I may have missed it.

Happy to help further, let us know! Thanks!

Hi Michael,

Attaching a screenshot with highlighted section for reference. Thank you!

@uabbasi ah I see, thanks for the screenshot! The indices I had looked at didn’t have that but I was able to find one that did.

I did some facet searches, and there weren’t any network requests so it looks like it’s being done client-side. If I were to guess, they are dynamically generating the facets being displayed. As you type into the search box, if the facet name doesn’t contain the query, it’ll hide it.

Happy to help further, let us know! Thanks!