Interface RegisterCategoryFacetActionCreatorPayload

interface RegisterCategoryFacetActionCreatorPayload {
    activeTab?: string;
    basePath?: string[];
    delimitingCharacter?: string;
    facetId: string;
    field: string;
    filterByBasePath?: boolean;
    filterFacetCount?: boolean;
    injectionDepth?: number;
    numberOfValues?: number;
    sortCriteria?: CategoryFacetSortCriterion;
    tabs?: { excluded?: string[]; included?: string[] };
}

Properties

activeTab?: string

The currently active tab.

basePath?: string[]

The base path shared by all values for the facet.

[]

delimitingCharacter?: string

The character that specifies the hierarchical dependency.

;

facetId: string

A unique identifier for the facet.

field: string

The field whose values you want to display in the facet.

filterByBasePath?: boolean

Whether to use basePath as a filter for the results.

true

filterFacetCount?: boolean

Whether to exclude the parents of folded results when estimating the result count for each facet value.

Note: Resulting count is only an estimation, in some cases this value could be incorrect.

true

injectionDepth?: number

The maximum number of results to scan in the index to ensure that the facet lists all potential facet values.

Note: A high injectionDepth may negatively impact the facet request performance.

Minimum: 0

1000

numberOfValues?: number

The number of values to request for this facet. Also determines the number of additional values to request each time this facet is expanded, and the number of values to display when this facet is collapsed.

Minimum: 1

5

The criterion to use for sorting returned facet values.

occurrences

tabs?: { excluded?: string[]; included?: string[] }

The tabs on which the facet should be enabled or disabled.