2024-05-31 01:47:47 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package milvus.proto.cgo;
|
2025-01-10 02:49:01 +00:00
|
|
|
option go_package="github.com/milvus-io/milvus/pkg/proto/cgopb";
|
2024-05-31 01:47:47 +00:00
|
|
|
|
|
|
|
import "schema.proto";
|
|
|
|
|
|
|
|
message LoadIndexInfo {
|
|
|
|
int64 collectionID = 1;
|
|
|
|
int64 partitionID = 2;
|
|
|
|
int64 segmentID = 3;
|
|
|
|
schema.FieldSchema field = 5;
|
|
|
|
bool enable_mmap = 6;
|
|
|
|
string mmap_dir_path = 7;
|
|
|
|
int64 indexID = 8;
|
|
|
|
int64 index_buildID = 9;
|
|
|
|
int64 index_version = 10;
|
|
|
|
map<string, string> index_params = 11;
|
|
|
|
repeated string index_files = 12;
|
|
|
|
string uri = 13;
|
|
|
|
int64 index_store_version = 14;
|
|
|
|
int32 index_engine_version = 15;
|
2024-10-09 09:35:19 +00:00
|
|
|
int64 index_file_size = 16;
|
2024-05-31 01:47:47 +00:00
|
|
|
}
|
2025-01-14 02:33:06 +00:00
|
|
|
|
|
|
|
message IndexStats {
|
|
|
|
int64 mem_size = 1;
|
|
|
|
repeated SerializedIndexFileInfo serialized_index_infos = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message SerializedIndexFileInfo {
|
|
|
|
string file_name = 1;
|
|
|
|
int64 file_size = 2;
|
|
|
|
}
|