QueryActions
QueryActions
In this article
The query action creators.
See Dispatch Actions.
Loader Function
loadQueryActions
Loads the query
reducer and returns possible action creators.
Parameters
-
engine:
SearchEngine
The headless engine.
Returns QueryActionCreators
: The query action creators.
QueryActionCreators
updateQuery
Updates the basic query expression.
Parameters
-
payload:
UpdateQueryActionCreatorPayload
The action creator payload.
Returns PayloadAction<UpdateQueryActionCreatorPayload>
: A dispatchable action.
Related Types
UpdateQueryActionCreatorPayload
Properties
-
enableQuerySyntax?:
boolean
Whether to interpret advanced Coveo Cloud query syntax in the query.
-
q?:
string
The basic query expression (for example,
acme tornado seeds
).