Query object for the search results that will serve as the base for this facet. The searchQuery is used to fetch the options of the facet and will be filtered once one or more facet options are selected. The searchQuery must have at least one parameter.
Optional emptyParameterQuery: QueryemptyParameterQuery is used instead of searchQuery when the searchQuery parameters are all empty. If no emptyParameterQuery is passed, searchQuery is fetched with empty parameters.
Optional modifiers: Query[]Optional list of allowed modifiers. If not given, all modifiers will be allowed.
Protected _filtersAdd a facet to the FilteredSearch object.
Add a filter to the FilteredSearch object.
the Filter to be added or a Query object, from which a SimpleFilter or ParameterizedFilter will be deduced
Get the Query objects to retrieve the facet options.
name of the facet endpoint to fetch options for
will skip applying the active modifier
keep the active facet filter for which options should be fetched in the query stack. Use when requesting RequestType.Options
Overwrite the entire state with the values in the passed Query stack.
typically retrieved from a URL query parameter and then parsed with parseQueries
Generated using TypeDoc
Associate Query objects with each other in a faceted search setup.
Deprecated
use FilteredSearch, a generalization of FacetedSearch