SearchConfigurationActions
SearchConfigurationActions
|
|
Note
This component was introduced in version |
The search configuration action creators.
See Dispatch Actions.
Loader Function
loadSearchConfigurationActions
Loads the necessary reducers and returns possible action creators.
Parameters
-
engine:
RecommendationEngine | SearchEngineThe headless engine.
Returns SearchConfigurationActionCreators: The search configuration action creators.
SearchConfigurationActionCreators
updateSearchConfiguration
Updates the search configuration.
Parameters
-
payload:
UpdateSearchConfigurationActionCreatorPayloadThe action creator payload.
Returns PayloadAction<UpdateSearchConfigurationActionCreatorPayload>: A dispatchable action.
Related types
UpdateSearchConfigurationActionCreatorPayload
Properties
-
apiBaseUrl?:
stringThe Search API base URL to use (for example,
https://platform.cloud.coveo.com/rest/search/v2). -
authenticationProviders?:
string[]Specifies the name of the authentication providers to use to perform queries.
See SAML Authentication.
-
locale?:
stringThe locale of the current user. Must comply with IETF’s BCP 47 definition: https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
-
pipeline?:
stringThe name of the query pipeline to use for the query (for example,
External Search). -
searchHub?:
stringThe first level of origin of the request, typically the identifier of the graphical search interface from which the request originates (for example,
ExternalSearch). -
timezone?:
stringThe tz database identifier of the time zone of the user.