QueryActions (Search Engine)

This is for:

Developer

The query action creators.

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

Returns PayloadAction<UpdateQueryActionCreatorPayload>: A dispatchable action.

UpdateQueryActionCreatorPayload

Properties

  • enableQuerySyntax?: boolean

    Whether to interpret advanced Coveo Cloud query syntax in the query.

  • q?: string

    The basic query expression (e.g., acme tornado seeds).