-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: cai.zhang <[email protected]>
- Loading branch information
1 parent
9d21a35
commit 06f545d
Showing
8 changed files
with
1,245 additions
and
714 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
syntax = "proto3"; | ||
package milvus.proto.feder; | ||
option go_package = "github.com/milvus-io/milvus-proto/go-api/federpb"; | ||
|
||
import "common.proto"; | ||
|
||
message SegmentIndexData { | ||
int64 segmentID = 1; | ||
string index_data = 2; // data from knownwhere | ||
} | ||
|
||
message FederSegmentSearchResult { | ||
int64 segmentID = 1; | ||
string visit_info = 2; | ||
} | ||
|
||
message ListIndexedSegmentRequest { | ||
common.MsgBase base = 1; | ||
string collection_name = 2; | ||
string index_name = 3; | ||
} | ||
|
||
message ListIndexedSegmentResponse { | ||
common.Status status = 1; | ||
repeated int64 segmentIDs = 2; | ||
} | ||
|
||
message DescribeSegmentIndexDataRequest { | ||
common.MsgBase base = 1; | ||
string collection_name = 2; | ||
string index_name = 3; | ||
repeated int64 segmentsIDs = 4; | ||
} | ||
|
||
message DescribeSegmentIndexDataResponse { | ||
common.Status status = 1; | ||
// segmentID => segmentIndexData | ||
map<int64, feder.SegmentIndexData> index_data = 2; | ||
repeated common.KeyValuePair index_params = 3; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters