Milvus, similarity search by vector id

Viewed 23

I am trying to conduct a vector similarity search via vector's raw id (VarChar type).

For example, a vector consists of three fields :
auto_id (int64), userId (VarChar), vectorField (FloatVector).

One possible solution in my mind is like:

  1. Retrieve the vector field vector1 of user1 by a query;
  2. Conduct another search operation over vector to retrieve the topK vectors in milvus.

Is is possible that, given userId = "uid1", retrieve the topK vectors by a single query/search

1 Answers

milvus does not currently support search by id.

Mainly milvus is used to do ann calculation, search by id function is more suitable for key-value database

Related