milvus-io/milvus

[Feature]: Search by ID

Open

#39,157 opened on 2025年1月10日

GitHub で見る
 (8 comments) (0 reactions) (3 assignees)Go (44,298 stars) (4,000 forks)batch import
good first issuekind/feature

説明

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe.

Given a ID, user want to retrieve it's vector and search topk of it.

query_ids = [3, 5] res = client.search( collection_name="my_collection", anns_field="vector", data=[query_ids], limit=3, search_params={"metric_type": "IP"} )

for hits in res: for hit in hits: print(hit)

Describe the solution you'd like.

No response

Describe an alternate solution.

No response

Anything else? (Additional Context)

No response

コントリビューターガイド

[Feature]: Search by ID · milvus-io/milvus#39157 | Good First Issue