PipelineActions (Search Engine) (Deprecated)

This is for:

Developer
Warning

Headless v1 has been deprecated. We recommend using the latest version of the Coveo Headless library.

The pipeline action creators.

Loader Function

loadPipelineActions

Loads the pipeline reducer and returns possible action creators.

Parameters

  • engine: CoreEngine

    The headless engine.

Returns PipelineActionCreators: The pipeline action creators.

PipelineActionCreators

setPipeline

Sets the query pipeline.

Parameters

  • pipeline: string

    The query pipeline to set (may be empty).

Returns PayloadAction<string>: A dispatchable action.