Get all facets and values

I’m looking for an API call to get all the facets in an index and preferably all values within a particular facet. Is that possible?




You can use the facets attributes and pass * to it and leave the query empty.

Here is the related doc:

Does it return what you expect?

Sorry, my question was not clear. I’m not looking for docs but facet names present in all docs.

My question is how we can increase the number of facets item display on menu like if i have Brands as facets they are more than 30 brands but at my page i can see only 10 brands at a time i have also try to increase the maxFacetHits to 30 but nothing happen can you please help me out in this i really very urgent