Associate Query objects with each other in a filtered search setup, using Filter definitions.

This class is a backwards-compatible wrapper around the plain state helpers. New framework-specific integrations should prefer storing FilteredSearchState directly and updating it with the with* functions exported from this module.

Hierarchy (view full)

Constructors

Properties

Accessors

Methods

  • Parameters

    • endpoint: string
    • type: FacetType = FacetType.single
    • resetOnQueryChange: boolean = true
    • filterEndpointPostfix: string = ':FILTER'
    • filterEndpointParameterName: string = 'value'

    Returns void

  • Parameters

    • filterEndpoint: string
    • resetOnQueryChange: boolean = true
    • filterParameterName: string = 'value'

    Returns void

  • Parameters

    • filterEndpoint: string

    Returns void

  • Parameters

    • Optionalendpoint: string

    Returns void

  • Parameters

    • name: string
    • value: string

    Returns void