表示数据查询权重配置。
数据结构
message QueryFlowWeight {
optional string index_name = 1;
optional int32 weight = 2;
}名称 | 类型 | 是否必选 | 描述 |
index_name | string | 是 | 多元索引名称。 |
weight | int32 | 是 | 为该多元索引配置的查询权重。源索引和灰度索引的权重累加值为100。 |
相关操作
DescribeSearchIndex
表示数据查询权重配置。
message QueryFlowWeight {
optional string index_name = 1;
optional int32 weight = 2;
}名称 | 类型 | 是否必选 | 描述 |
index_name | string | 是 | 多元索引名称。 |
weight | int32 | 是 | 为该多元索引配置的查询权重。源索引和灰度索引的权重累加值为100。 |
DescribeSearchIndex
在GetStreamRecord的响应消息中表示操作类型。 枚举取值列表
表示单个统计聚合配置。 数据结构 message Aggregation { optional string name = 1; optional AggregationType type = 2;
表示单个统计聚合Aggregation的返回信息。 数据结构 message AggregationResult { optional string name = 1; optional Aggregatio
表示统计聚合配置。 数据结构 message Aggregations { repeated Aggregation aggs = 1; }
表示统计聚合中Aggregation的返回信息。 数据结构 message AggregationsResult { repeated AggregationResult agg_results = 1; }
表示统计聚合类型。 枚举取值列表 AGG_AVG表示求平均值。 AGG_DISTINCT_COUNT表示去重统计行数,