-
Notifications
You must be signed in to change notification settings - Fork 60
/
feder.proto
40 lines (33 loc) · 928 Bytes
/
feder.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
syntax = "proto3";
package milvus.proto.feder;
option go_package = "github.com/milvus-io/milvus-proto/go-api/v2/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;
}