Skip to content

Commit

Permalink
Add consistency_level parameter in proto
Browse files Browse the repository at this point in the history
Signed-off-by: zhenshan.cao <[email protected]>
  • Loading branch information
czs007 committed May 29, 2023
1 parent ef84459 commit 2da1073
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 @@ -840,6 +840,8 @@ message SearchRequest {
uint64 guarantee_timestamp = 11; // guarantee_timestamp
int64 nq = 12;
bool not_return_all_meta = 13;
common.ConsistencyLevel consistency_level = 14;
bool use_default_consistency = 15;
}

message Hits {
Expand Down Expand Up @@ -889,6 +891,8 @@ message QueryRequest {
uint64 guarantee_timestamp = 8; // guarantee_timestamp
repeated common.KeyValuePair query_params = 9; // optional
bool not_return_all_meta = 10;
common.ConsistencyLevel consistency_level = 11;
bool use_default_consistency = 12;
}

message QueryResults {
Expand Down

0 comments on commit 2da1073

Please sign in to comment.