Azure Search - Smaller Facet Counts Not Returning From Index Azure Search - Smaller Facet Counts Not Returning From Index azure azure

Azure Search - Smaller Facet Counts Not Returning From Index


The default facet count is 10. You can specify a larger count using the count parameter as part of the facet expression. For example, assuming you're using the REST API with an HTTP GET request:

facet=myfield,count:100

If you're using the .NET SDK:

var parameters =    new SearchParameters()    {        Facets = new[] { "myfield,count:100" }    };var results = indexClient.Documents.Search("*", parameters);

You can find more details about the facet expression syntax in the Azure Search REST API Reference.