interface FacetSearch {
    clear(): void;
    exclude(value: SpecificFacetSearchResult): void;
    search(): void;
    select(value: SpecificFacetSearchResult): void;
    showMoreResults(): void;
    singleExclude(value: SpecificFacetSearchResult): void;
    singleSelect(value: SpecificFacetSearchResult): void;
    updateCaptions(captions: Record<string, string>): void;
    updateText(text: string): void;
}

Methods

  • Resets the query and empties the values.

    Returns void

  • Excludes a facet search result.

    Parameters

    Returns void

  • Performs a facet search.

    Returns void

  • Selects a facet search result.

    Parameters

    Returns void

  • Shows more facet search results.

    Returns void

  • Excludes a search result while including facet values.

    Parameters

    Returns void

  • Selects a search result while deselecting facet values.

    Parameters

    Returns void

  • Updates the facet value captions.

    Parameters

    • captions: Record<string, string>

      A dictionary that maps index field values to facet value display names.

    Returns void

  • Updates the facet search query.

    Parameters

    • text: string

      The query to search.

    Returns void