Product Selector

Fusion 5.12
    Fusion 5.12

    Parameterized Boosting Stage

    Table of Contents

    The Parameterized Boosting query pipeline stage reads the boostValues (in List<DocumentResult> format) from the context variable (added by a Rollup Aggregation stage or a JavaScript Query Stage), and adds boosts to the main query using bq or boost based on the stage configuration. The weights for the boost values can also be scaled.

    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.

    Boosting stage that can boost based on context params or results from sub-query stage.

    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.

    key - stringrequired

    The key name to read from context for boost id and values.

    boostFieldName - stringrequired

    The field name to boost the values on.

    boostingMethod - stringrequired

    The boost method to use. query-parser should be chosen if defType!=edismax for main query.

    Default: query-param

    Allowed values: query-paramquery-parser

    boostingParam - stringrequired

    ’Boost' multiplies scores by the boost values whereas 'bq' adds optional clauses to main query.

    Default: boost

    Allowed values: boostbq

    scaleRange - Scale Boosts

    Scale the boost values to a [min,max] range

    scaleMin - number

    scaleMax - number