@coveo/headless
    Preparing search index...

    Interface FilterSuggestionsGeneratorAlpha

    The FilterSuggestionsGenerator controller is responsible for generating filter suggestions controllers for a given commerce engine.

    This controller relies on a Commerce API functionality that is not yet generally available. If you wish to use this feature in an implementation, please contact your Coveo representative.

    interface FilterSuggestionsGenerator {
        filterSuggestions: GeneratedFilterSuggestionsControllers;
        state: FieldSuggestionsFacet[];
        subscribe(listener: () => void): Unsubscribe;
    }

    Hierarchy (View Summary)

    Index

    Methods

    Properties

    The filter suggestions controllers created by the filter suggestions generator.

    The state of the filter suggestions generator.