Azure Search - be able to retrieve just the facets for any query
It seems that currently you can only retrieve the Facets for any search query, by executing the search in full. It would be really useful to be able to retrieve the Facets for a top level query, but execute a search that's filtered. This enables us to handle the Facets in our own way.
Step 1: Users goes to top level category 'Bikes'. This returns all the available Facets, i.e. colours, styles, sizes, etc.
Step 2. User filters by one colour, Blue. The returned Facets for colours is Blue only - not the rest of the available colours, so to see Blue and Red bikes, the user must switch between the two colours, rather than have them both visible at the same time.
In an ideal world, you'd be able to ask for Facets for the 'Bikes' top level category, but execute searches with filters. This would provide an easier to manage Facets area.
I apologise if this feature already exists but I can't find it within the documentation.
I think you can get the behavior you want be setting the "top" parameter of your search request to zero. Top exists to support paging, but the counts and facets data returned are for results across all pages.