Product Selector

Fusion 5.12
    Fusion 5.12

    Result Document Field Sorting Query Stage

    Table of Contents

    Re-order results returned from Solr by the value in a document field.

    This stage is used in the default query pipeline that enables Smart Answers. See Detailed Pipeline Setup for configuration guidelines.

    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.

    Re-orders results returned from Solr by the value in a document field

    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.

    sortField - stringrequired

    Which result document field to sort based on

    Default: ensemble_score

    sortOrder - stringrequired

    (asc)ending / (desc)ending

    Default: desc

    Allowed values: descasc

    failOnError - boolean

    Flag to indicate if this stage should throw an exception if an error occurs.

    Default: false