Class CustomRankingParams (0.20.1)

CustomRankingParams(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Configuration parameters for the Custom Ranking feature.

Attribute

Name Description
expressions_to_precompute MutableSequence[str]
Optional. A list of ranking expressions (see ranking_expression for the syntax documentation) to evaluate. The evaluation results will be returned in SearchResponse.SearchResult.rank_signals.precomputed_expression_values field.