2021-06-15 14:43:57 +08:00
|
|
|
syntax = "proto3";
|
|
|
|
package milvus.proto.segcore;
|
|
|
|
|
|
|
|
option go_package = "github.com/milvus-io/milvus/internal/proto/segcorepb";
|
|
|
|
import "schema.proto";
|
2023-04-26 10:14:41 +08:00
|
|
|
import "common.proto";
|
2021-06-15 14:43:57 +08:00
|
|
|
|
|
|
|
message RetrieveResults {
|
|
|
|
schema.IDs ids = 1;
|
2021-07-16 17:19:55 +08:00
|
|
|
repeated int64 offset = 2;
|
|
|
|
repeated schema.FieldData fields_data = 3;
|
2024-03-28 06:33:11 +08:00
|
|
|
int64 all_retrieve_count = 4;
|
2024-05-30 17:51:44 +08:00
|
|
|
bool has_more_result = 5;
|
2021-06-15 14:43:57 +08:00
|
|
|
}
|
|
|
|
|
2021-06-19 17:38:11 +08:00
|
|
|
message LoadFieldMeta {
|
2021-07-16 17:19:55 +08:00
|
|
|
int64 min_timestamp = 1;
|
|
|
|
int64 max_timestamp = 2;
|
|
|
|
int64 row_count = 3;
|
2021-06-19 17:38:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
message LoadSegmentMeta {
|
2021-07-16 17:19:55 +08:00
|
|
|
// TODOs
|
|
|
|
repeated LoadFieldMeta metas = 1;
|
|
|
|
int64 total_size = 2;
|
2021-06-19 17:38:11 +08:00
|
|
|
}
|
2022-04-29 13:35:49 +08:00
|
|
|
|
|
|
|
message InsertRecord {
|
|
|
|
repeated schema.FieldData fields_data = 1;
|
|
|
|
int64 num_rows = 2;
|
2023-04-26 10:14:41 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
message FieldIndexMeta {
|
|
|
|
int64 fieldID = 1;
|
|
|
|
int64 collectionID = 2;
|
|
|
|
string index_name = 3;
|
|
|
|
repeated common.KeyValuePair type_params = 4;
|
|
|
|
repeated common.KeyValuePair index_params = 5;
|
|
|
|
bool is_auto_index = 6;
|
|
|
|
repeated common.KeyValuePair user_index_params = 7;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CollectionIndexMeta {
|
|
|
|
int64 maxIndexRowCount = 1;
|
|
|
|
repeated FieldIndexMeta index_metas = 2;
|
2022-04-29 13:35:49 +08:00
|
|
|
}
|