Skip to content

Commit

Permalink
enhance: add primary field name in SearchResutData and QueryResult (m…
Browse files Browse the repository at this point in the history
…ilvus-io#397)

Signed-off-by: zhenshan.cao <[email protected]>
  • Loading branch information
czs007 authored and MrPresent-Han committed Jan 13, 2025
1 parent 45bab09 commit f8e9b7f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions proto/milvus.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit f8e9b7f

Please sign in to comment.