Skip to content

Commit

Permalink
Support search on multiple vectors (#218)
Browse files Browse the repository at this point in the history
Signed-off-by: xige-16 <[email protected]>
  • Loading branch information
xige-16 authored Dec 4, 2023
1 parent fbd21d2 commit 9d1acaf
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions proto/milvus.proto
Original file line number Diff line number Diff line change
Expand Up @@ -854,6 +854,26 @@ message SearchResults {
string collection_name = 3;
}

message SearchRequestV2 {
option (common.privilege_ext_obj) = {
object_type: Collection
object_privilege: PrivilegeSearch
object_name_index: 3
};
common.MsgBase base = 1; // must
string db_name = 2;
string collection_name = 3; // must
repeated string partition_names = 4; // must
repeated SearchRequest requests = 5;
repeated common.KeyValuePair rank_params = 6; // must
uint64 travel_timestamp = 7;
uint64 guarantee_timestamp = 8; // guarantee_timestamp
bool not_return_all_meta = 9;
repeated string output_fields = 10;
common.ConsistencyLevel consistency_level = 11;
bool use_default_consistency = 12;
}

message FlushRequest {
option (common.privilege_ext_obj) = {
object_type: Collection
Expand Down

0 comments on commit 9d1acaf

Please sign in to comment.