Testing Facet Requests

The Facet Request group box enables you to test and isolate specific facets. For example, you can find those that contain no search results in certain scenarios, or compare facet counts to attribute counts.

This group box can be automatically loaded with all valid facets for the selected search category by selecting the Get Facets button.

Field or Control Description

Minimum Doc Count

Enables you to control the facets that display based on their count. For example, you can display facets that contain zero results, or only those which contain at least 10.

Maximum Facet Children

This applies to all facet requests. This determines the maximum number of facet nodes (facet values) returned by the API.

The default is -1 where in all the children will be displayed.

Maximum Tree Facet Nodes

Enables you to control the nodes that display for hierarchical facets. The default value is 1000, which is configured on the Search Options page.

You can override the value configured on the Search Options page by entering a new value.

Facet Name

Select the name of the facet you want to test.

Facet Path

This applies to all facet requests. The results will be filtered by the facet values specified in the path. In the case of hierarchical facets, the path can have the hierarchy information. For example,

United States/CA/Pleasanton

Additional Details

Enables you to select or deselect the Allow Multi Select check box that controls the selecting of multiple facet values on the Results page.

Return Count

Select to display the number of documents the facet contains.

Sort By

You can sort facets alphabetically or by count in ascending or descending order.