Product Selector

Fusion 5.12
    Fusion 5.12

    Solr Subquery Stage

    Table of Contents

    The Solr Subquery query pipeline stage is used to query external collections. The Solr Subquery stage runs a query and adds the results to the pipeline Context object, which is part of the Request object. The query must return results in JSON format, so that they can be added to the query pipeline.

    This stage supports asynchronous processing.

    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.

    Solr query to another collection. Returned results can be used to join results or boost main results

    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.

    asyncConfig - Asynchronous Execution Config

    enabled - boolean

    Run the expensive data loading or processing part of this stage in a separate thread allowing the pipeline to continue executing. The results of this asynchronous execution can be merged into the pipeline request using a downstream "Merge Async Results" stage.

    Default: false

    asyncId - string

    A unique value to use as reference in downstream "Merge Async Results" stages.

    key - stringrequired

    The key used to join these results onto the pipeline context.

    Default: subquery-results

    collection - stringrequired

    handler - stringrequired

    Default: select

    method - stringrequired

    Default: GET

    Allowed values: GETPOST

    parentParams - array[string]

    rollupKeys - array[string]

    params - array[object]required

    object attributes:{key required : {
     display name: Parameter Name
     type: string
    }
    value : {
     display name: Parameter Value
     type: string
    }
    }

    headers - array[object]

    object attributes:{key required : {
     display name: Parameter Name
     type: string
    }
    value : {
     display name: Parameter Value
     type: string
    }
    }