From f8e9b7f45f77f5dcf87887dfde6db7138bb17947 Mon Sep 17 00:00:00 2001 From: "zhenshan.cao" Date: Mon, 13 Jan 2025 17:36:51 +0800 Subject: [PATCH] enhance: add primary field name in SearchResutData and QueryResult (#397) Signed-off-by: zhenshan.cao --- proto/milvus.proto | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/proto/milvus.proto b/proto/milvus.proto index 1491a45..a4709f8 100644 --- a/proto/milvus.proto +++ b/proto/milvus.proto @@ -985,6 +985,8 @@ message SearchResults { schema.SearchResultData results = 2; string collection_name = 3; uint64 session_ts = 4; // for session-like operation like iterator + int64 collection_id = 5; + string db_name = 6; } message HybridSearchRequest { @@ -1056,6 +1058,8 @@ message QueryResults { repeated string output_fields = 4; uint64 session_ts = 5; // for session-like operation like iterator string primary_field_name = 6; + int64 collection_id = 7; + string db_name = 8; } message QueryCursor {