Class Ranking (1.67.0)

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

Attribute

Name Description
alpha float
Optional. Alpha value controls the weight between dense and sparse vector search results. The range is [0, 1], while 0 means sparse vector search only and 1 means dense vector search only. The default value is 0.5 which balances sparse and dense vector search equally. This field is a member of oneof_ _alpha.

Methods

Ranking

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