最近更新时间:2026-11-11 10:30:20
get-vectors 命令用于查询向量数据。
ks3util vectors-api get-vectors --vector-bucket-name value --index-name value --keys value [options]参数 | 说明 |
|---|---|
--vector-bucket-name | 向量桶名称。 |
--index-name | 向量索引名称。 |
--index-krn | 向量索引 KRN,与 --vector-bucket-name + --index-name 二选一。 |
--keys | 目标向量主键列表,逗号分隔,1-100 个,如 key1,key2。 |
--return-data | 返回向量数据,默认不返回。 |
--return-metadata | 返回向量元数据,默认不返回。 |
按 key 查询向量数据。
ks3util vectors-api get-vectors --vector-bucket-name examplebucket --index-name index1 --keys k1,k2按 key 查询并返回向量数据与元数据。
ks3util vectors-api get-vectors --vector-bucket-name examplebucket --index-name index1 --keys k1,k2 --return-data --return-metadata按索引 KRN 查询向量数据。
ks3util vectors-api get-vectors --index-krn krn:ksc:ks3vectors:beijing:uid:bucket/examplebucket/index/index1 --keys k1,k2
纯净模式
