SearchConfigurationActions

This is for:

Developer

The search configuration action creators.

Loader Function

loadSearchConfigurationActions

Loads the necessary reducers and returns possible action creators.

Parameters

  • engine: RecommendationEngine | SearchEngine

    The headless engine.

Returns SearchConfigurationActionCreators: The search configuration action creators.

SearchConfigurationActionCreators

updateSearchConfiguration

Updates the search configuration.

Parameters

Returns PayloadAction<UpdateSearchConfigurationActionCreatorPayload>: A dispatchable action.

UpdateSearchConfigurationActionCreatorPayload

Properties

  • authenticationProviders?: string[]

    Specifies the name of the authentication providers to use to perform queries.

  • locale?: string

    The locale of the current user. Must comply with IETF’s BCP 47 definition: https://www.rfc-editor.org/rfc/bcp/bcp47.txt.

  • pipeline?: string

    The name of the query pipeline to use for the query (e.g., External Search).

  • proxyBaseUrl?: string

    The base URL to use to proxy Coveo search requests (e.g., https://example.com/search).

    This is an advanced option that you should only set if you need to proxy Coveo searchrequests through your own server. In most cases, you should not set this option.

  • searchHub?: string

    The first level of origin of the request, typically the identifier of the graphical search interface from which the request originates (e.g., ExternalSearch).

  • timezone?: string

    The tz database identifier of the time zone of the user.