Product Selector

Fusion 5.9
    Fusion 5.9

    Call Pipeline Index Stage

    Table of Contents

    The Call Pipeline index stage calls another index pipeline. You can use this stage to reuse pipeline logic across multiple pipelines. You can also use it to index certain data separately from the rest, update a data model, or distribute indexing across multiple collections or pods.

    In the context of an index pipeline, the Call Pipeline stage creates a "fork" that runs another pipeline in parallel with the main pipeline. The called pipeline does not return any data to the pipeline that called it, so it should end with a stage that writes the output to a collection, a data model, or some other endpoint. Note that this is different than Call Pipeline stages in query pipelines, where the called pipeline does return its output to the pipeline that called it.

    In this example, the main pipeline calls a pipeline that indexes some metadata separately from the main document collection:

    An index pipeline that calls another pipeline

    As another example, multiple index pipelines can end with a Call Pipeline stage, and the called pipeline can perform some final processing before indexing the documents; this is a way to reuse pipeline logic so that data from different datasources can be indexed in the same consistent format:

    Three index pipelines that all call the same auxiliary pipeline

    Use a naming convention for your pipelines that lets you easily differentiate between your main pipelines and the ones you are using as call pipelines. For example, you can add a suffix like _cpl to differentiate your call pipelines from other pipelines.

    Lucidworks offers free training to help you get started with Fusion. Check out the Using Call Pipelines quick learning, which focuses on how the Call Pipeline stage works differently in index pipelines versus query pipelines and how to use it in both:

    Using Call Pipelines

    Visit the LucidAcademy to see the full training catalog.

    Lucidworks offers free training to help you get started with Fusion. Check out the Call Pipelines course, which focuses on how to implement reusable pipelines and call them from other pipelines:

    Call Pipelines

    Visit the LucidAcademy to see the full training catalog.

    Configuration

    When entering configuration values in the UI, use unescaped characters, such as \t for the tab character. When entering configuration values in the API, use escaped characters, such as \\t for the tab character.

    Call another Fusion indexing pipeline

    skip - boolean

    Set to true to skip this stage.

    Default: false

    label - string

    A unique label for this stage.

    <= 255 characters

    condition - string

    Define a conditional script that must result in true or false. This can be used to determine if the stage should process or not.

    collection - stringrequired

    pipeline - stringrequired