milvus-io / milvus-sdk-go

Go SDK for Milvus.
Apache License 2.0
310 stars 104 forks source link

[Bug]: The query outputs sparse vector but the vector dim is always 0 #769

Open ThreadDao opened 1 month ago

ThreadDao commented 1 month ago

Is there an existing issue for this?

Current Behavior

Insert sparse vector and query output sparse vector, the dim of inserted sparse vector dim is int(se.positions[se.len-1]) + 1, the dim of query output vector is always 0

# inserted sparse vector:
 dim: (int) 42,
 len: (int) 21

# output sparse vector:
dim: (int) 0,
len: (int) 21

Expected Behavior

No response

Steps To Reproduce

No response

Environment

No response

Anything else?

No response

ThreadDao commented 1 month ago

/assign @congqixia