We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
16:30:34 milvus_client.go:14: (ApiRequest): func [DescribeIndex], args: [context.Background.WithDeadline(2024-03-29 16:34:18.036644095 +0800 CST m=+240.003684713 [3m43.604197212s]) aFfC floatVec []] 2024/03/29 16:30:34 milvus_client.go:21: (ApiResponse): func [DescribeIndex], results: [[{{HNSW floatVec} map[index_type:HNSW metric_type:L2 params:{"M":"8","efConstruction":"96"}]} {{BIN_IVF_FLAT binaryVec} map[index_type:BIN_IVF_FLAT metric_type:JACCARD params:{"nlist":"64"}]} {{HNSW fp16Vec} map[index_type:HNSW metric_type:L2 params:{"M":"8","efConstruction":"96"}]} {{HNSW bf16Vec} map[index_type:HNSW metric_type:L2 params:{"M":"8","efConstruction":"96"}]}]] 2024/03/29 16:30:34 index_test.go:124: map[index_type:HNSW metric_type:L2 params:{"M":"8","efConstruction":"96"}] HNSW 2024/03/29 16:30:34 index_test.go:124: map[index_type:BIN_IVF_FLAT metric_type:JACCARD params:{"nlist":"64"}] BIN_IVF_FLAT 2024/03/29 16:30:34 index_test.go:124: map[index_type:HNSW metric_type:L2 params:{"M":"8","efConstruction":"96"}] HNSW 2024/03/29 16:30:34 index_test.go:124: map[index_type:HNSW metric_type:L2 params:{"M":"8","efConstruction":"96"}] HNSW
func TestDescribeIndexMultiVectors(t *testing.T) { ctx := createContext(t, time.Second*common.DefaultTimeout*2) // connect mc := createMilvusClient(ctx, t) // create -> insert [0, 3000) -> flush -> index -> load cp := CollectionParams{CollectionFieldsType: AllFields, AutoID: false, EnableDynamicField: true, ShardsNum: common.DefaultShards, Dim: common.DefaultDim} dp := DataParams{DoInsert: true, CollectionFieldsType: AllFields, start: 0, nb: common.DefaultNb * 2, dim: common.DefaultDim, EnableDynamicField: true} // create index for all vector fields ips := GenDefaultIndexParamsForAllVectors() collName := prepareCollection(ctx, t, mc, cp, WithDataParams(dp), WithIndexParams(ips), WithCreateOption(client.WithConsistencyLevel(entity.ClStrong))) indexes, err := mc.DescribeIndex(ctx, collName, common.DefaultFloatVecFieldName) common.CheckErr(t, err, true) for _, idx := range indexes { log.Println(idx.Params(), idx.IndexType()) } }
No response
4am pods: zong-go-master-2-etcd-0 1/1 Running 0 24h zong-go-master-2-kafka-0 1/1 Running 0 24h zong-go-master-2-kafka-1 1/1 Running 0 24h zong-go-master-2-kafka-2 1/1 Running 0 24h zong-go-master-2-kafka-zookeeper-0 1/1 Running 0 24h zong-go-master-2-kafka-zookeeper-1 1/1 Running 0 24h zong-go-master-2-kafka-zookeeper-2 1/1 Running 0 24h zong-go-master-2-milvus-standalone-dbc9cf5b4-6k222 1/1 Running 3 (45m ago) 24h zong-go-master-2-minio-669b58dcd8-gw7zz 1/1 Running 0 24h
### Anything else? _No response_
The text was updated successfully, but these errors were encountered:
/assign @congqixia
Sorry, something went wrong.
fix: Filter index info base on provided field name
fac629c
See also milvus-io#689 Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
fix: Filter index info base on provided field name (#690)
3eabbb5
See also #689 Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
fixed
congqixia
No branches or pull requests
Is there an existing issue for this?
Current Behavior
Expected Behavior
No response
Steps To Reproduce
No response
Environment
The text was updated successfully, but these errors were encountered: