boostValues
(in List<DocumentResult>
format) from the context variable (added by a Rollup Aggregation stage or a JavaScript 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.
Query pipeline stage condition examples
Stages can be triggered conditionally when a script in the Condition field evaluates to true. Some examples are shown below. Run this stage only for mobile clients: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.