Fix crash error when search

Signed-off-by: xige-16 <xi.ge@zilliz.com>
pull/4973/head^2
xige-16 2021-02-20 10:14:03 +08:00 committed by yefu.chen
parent a6442cb600
commit f62078c027
23 changed files with 1760 additions and 429 deletions

View File

@ -17,6 +17,7 @@ type IndexService interface {
BuildIndex(BuildIndexRequest) (BuildIndexResponse, error)
GetIndexStates(IndexStatesRequest) (IndexStatesResponse, error)
GetIndexFilePaths(IndexFilePathRequest) (IndexFilePathsResponse, error)
DropIndex(DropIndexRequest) (Status, error)
GetTimeTickChannel() (StringResponse, error)
GetStatisticsChannel() (StringResponse, error)
NotifyTaskState(TaskStateNotification) error
@ -104,6 +105,14 @@ type IndexFilePathsResponse struct {
}
```
* *DropIndex*
```go
type DropIndexRequest struct {
IndexID UniqueID
}
```
#### 8.3 Index Node Interface

View File

@ -95,6 +95,7 @@ type ProxyNode interface {
CreateIndex(req CreateIndexRequest) error
DescribeIndex(DescribeIndexRequest) (DescribeIndexResponse, error)
GetIndexState(IndexStateRequest) (IndexStateResponse, error)
DropIndex(DropIndexRequest) (Status, error)
Insert(req InsertRequest) (InsertResponse, error)
Search(req SearchRequest) (SearchResults, error)
@ -203,6 +204,10 @@ See *Master API* for detailed definitions.
See *Master API* for detailed definitions.
* *DropIndex*
See *Master API* for detailed definitions.
* *Insert*
```go

View File

@ -26,6 +26,7 @@ type Master interface {
CreateIndex(req CreateIndexRequest) error
DescribeIndex(DescribeIndexRequest) (DescribeIndexResponse, error)
DropIndex(DropIndexRequest) (Status, error)
AllocTimestamp(req TsoRequest) (TsoResponse, error)
AllocID(req IDRequest) (IDResponse, error)
@ -218,6 +219,18 @@ type DescribeIndexResponse struct {
}
```
* *DropIndex*
```go
type DropIndexRequest struct {
MsgBase
DbName string
CollectionName string
FieldName string
IndexName string
}
```
* *AllocTimestamp*
```go

View File

@ -251,7 +251,7 @@ GetDistancesOfQueryResult(CIndexQueryResult res, float* distances) {
}
CStatus
DeleteQueryResult(CIndexQueryResult res) {
DeleteIndexQueryResult(CIndexQueryResult res) {
auto status = CStatus();
try {
auto c_res = (milvus::indexbuilder::IndexWrapper::QueryResult*)res;

View File

@ -90,7 +90,7 @@ void
GetDistancesOfQueryResult(CIndexQueryResult res, float* distances);
CStatus
DeleteQueryResult(CIndexQueryResult res);
DeleteIndexQueryResult(CIndexQueryResult res);
#ifdef __cplusplus
};

View File

@ -247,33 +247,33 @@ const char descriptor_table_protodef_common_2eproto[] PROTOBUF_SECTION_VARIABLE(
"NOT_DELETE_FILE\020\024\022\025\n\021BUILD_INDEX_ERROR\020\025"
"\022\021\n\rILLEGAL_NLIST\020\026\022\027\n\023ILLEGAL_METRIC_TY"
"PE\020\027\022\021\n\rOUT_OF_MEMORY\020\030\022\024\n\017DD_REQUEST_RA"
"CE\020\350\007*N\n\nIndexState\022\010\n\004NONE\020\000\022\014\n\010UNISSUE"
"CE\020\350\007*[\n\nIndexState\022\010\n\004NONE\020\000\022\014\n\010UNISSUE"
"D\020\001\022\016\n\nINPROGRESS\020\002\022\014\n\010FINISHED\020\003\022\n\n\006FAI"
"LED\020\004*o\n\014SegmentState\022\017\n\013SegmentNone\020\000\022\023"
"\n\017SegmentNotExist\020\001\022\022\n\016SegmentGrowing\020\002\022"
"\021\n\rSegmentSealed\020\003\022\022\n\016SegmentFlushed\020\004*\204"
"\006\n\007MsgType\022\t\n\005kNone\020\000\022\025\n\021kCreateCollecti"
"on\020d\022\023\n\017kDropCollection\020e\022\022\n\016kHasCollect"
"ion\020f\022\027\n\023kDescribeCollection\020g\022\024\n\020kShowC"
"ollections\020h\022\022\n\016kGetSysConfigs\020i\022\023\n\017kLoa"
"dCollection\020j\022\026\n\022kReleaseCollection\020k\022\025\n"
"\020kCreatePartition\020\310\001\022\023\n\016kDropPartition\020\311"
"\001\022\022\n\rkHasPartition\020\312\001\022\027\n\022kDescribePartit"
"ion\020\313\001\022\024\n\017kShowPartitions\020\314\001\022\023\n\016kLoadPar"
"tition\020\315\001\022\026\n\021kReleasePartition\020\316\001\022\021\n\014kSh"
"owSegment\020\372\001\022\025\n\020kDescribeSegment\020\373\001\022\021\n\014k"
"CreateIndex\020\254\002\022\023\n\016kDescribeIndex\020\255\002\022\014\n\007k"
"Insert\020\220\003\022\014\n\007kDelete\020\221\003\022\013\n\006kFlush\020\222\003\022\014\n\007"
"kSearch\020\364\003\022\022\n\rkSearchResult\020\365\003\022\023\n\016kGetIn"
"dexState\020\366\003\022\035\n\030kGetCollectionStatistics\020"
"\367\003\022\034\n\027kGetPartitionStatistics\020\370\003\022\021\n\014kSeg"
"mentInfo\020\330\004\022\016\n\tkTimeTick\020\260\t\022\024\n\017kQueryNod"
"eStats\020\261\t\022\017\n\nkLoadIndex\020\262\t\022\017\n\nkRequestID"
"\020\263\t\022\020\n\013kRequestTSO\020\264\t\022\025\n\020kAllocateSegmen"
"t\020\265\t\022\027\n\022kSegmentStatistics\020\266\t\022\026\n\021kSegmen"
"tFlushDone\020\267\tBBZ@github.com/zilliztech/m"
"ilvus-distributed/internal/proto/commonp"
"bb\006proto3"
"LED\020\004\022\013\n\007DELETED\020\005*o\n\014SegmentState\022\017\n\013Se"
"gmentNone\020\000\022\023\n\017SegmentNotExist\020\001\022\022\n\016Segm"
"entGrowing\020\002\022\021\n\rSegmentSealed\020\003\022\022\n\016Segme"
"ntFlushed\020\004*\204\006\n\007MsgType\022\t\n\005kNone\020\000\022\025\n\021kC"
"reateCollection\020d\022\023\n\017kDropCollection\020e\022\022"
"\n\016kHasCollection\020f\022\027\n\023kDescribeCollectio"
"n\020g\022\024\n\020kShowCollections\020h\022\022\n\016kGetSysConf"
"igs\020i\022\023\n\017kLoadCollection\020j\022\026\n\022kReleaseCo"
"llection\020k\022\025\n\020kCreatePartition\020\310\001\022\023\n\016kDr"
"opPartition\020\311\001\022\022\n\rkHasPartition\020\312\001\022\027\n\022kD"
"escribePartition\020\313\001\022\024\n\017kShowPartitions\020\314"
"\001\022\023\n\016kLoadPartition\020\315\001\022\026\n\021kReleasePartit"
"ion\020\316\001\022\021\n\014kShowSegment\020\372\001\022\025\n\020kDescribeSe"
"gment\020\373\001\022\021\n\014kCreateIndex\020\254\002\022\023\n\016kDescribe"
"Index\020\255\002\022\014\n\007kInsert\020\220\003\022\014\n\007kDelete\020\221\003\022\013\n\006"
"kFlush\020\222\003\022\014\n\007kSearch\020\364\003\022\022\n\rkSearchResult"
"\020\365\003\022\023\n\016kGetIndexState\020\366\003\022\035\n\030kGetCollecti"
"onStatistics\020\367\003\022\034\n\027kGetPartitionStatisti"
"cs\020\370\003\022\021\n\014kSegmentInfo\020\330\004\022\016\n\tkTimeTick\020\260\t"
"\022\024\n\017kQueryNodeStats\020\261\t\022\017\n\nkLoadIndex\020\262\t\022"
"\017\n\nkRequestID\020\263\t\022\020\n\013kRequestTSO\020\264\t\022\025\n\020kA"
"llocateSegment\020\265\t\022\027\n\022kSegmentStatistics\020"
"\266\t\022\026\n\021kSegmentFlushDone\020\267\tBBZ@github.com"
"/zilliztech/milvus-distributed/internal/"
"proto/commonpbb\006proto3"
;
static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_common_2eproto_deps[1] = {
};
@ -289,7 +289,7 @@ static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_com
static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_common_2eproto_once;
static bool descriptor_table_common_2eproto_initialized = false;
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_common_2eproto = {
&descriptor_table_common_2eproto_initialized, descriptor_table_protodef_common_2eproto, "common.proto", 2009,
&descriptor_table_common_2eproto_initialized, descriptor_table_protodef_common_2eproto, "common.proto", 2022,
&descriptor_table_common_2eproto_once, descriptor_table_common_2eproto_sccs, descriptor_table_common_2eproto_deps, 7, 0,
schemas, file_default_instances, TableStruct_common_2eproto::offsets,
file_level_metadata_common_2eproto, 7, file_level_enum_descriptors_common_2eproto, file_level_service_descriptors_common_2eproto,
@ -348,6 +348,7 @@ bool IndexState_IsValid(int value) {
case 2:
case 3:
case 4:
case 5:
return true;
default:
return false;

View File

@ -149,12 +149,13 @@ enum IndexState : int {
INPROGRESS = 2,
FINISHED = 3,
FAILED = 4,
DELETED = 5,
IndexState_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min(),
IndexState_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max()
};
bool IndexState_IsValid(int value);
constexpr IndexState IndexState_MIN = NONE;
constexpr IndexState IndexState_MAX = FAILED;
constexpr IndexState IndexState_MAX = DELETED;
constexpr int IndexState_ARRAYSIZE = IndexState_MAX + 1;
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* IndexState_descriptor();

View File

@ -156,6 +156,10 @@ class IndexStateResponseDefaultTypeInternal {
public:
::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<IndexStateResponse> _instance;
} _IndexStateResponse_default_instance_;
class DropIndexRequestDefaultTypeInternal {
public:
::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<DropIndexRequest> _instance;
} _DropIndexRequest_default_instance_;
class InsertRequestDefaultTypeInternal {
public:
::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<InsertRequest> _instance;
@ -418,6 +422,21 @@ static void InitDefaultsscc_info_DropCollectionRequest_milvus_2eproto() {
{{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsscc_info_DropCollectionRequest_milvus_2eproto}, {
&scc_info_MsgBase_common_2eproto.base,}};
static void InitDefaultsscc_info_DropIndexRequest_milvus_2eproto() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
{
void* ptr = &::milvus::proto::milvus::_DropIndexRequest_default_instance_;
new (ptr) ::milvus::proto::milvus::DropIndexRequest();
::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
}
::milvus::proto::milvus::DropIndexRequest::InitAsDefaultInstance();
}
::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_DropIndexRequest_milvus_2eproto =
{{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsscc_info_DropIndexRequest_milvus_2eproto}, {
&scc_info_MsgBase_common_2eproto.base,}};
static void InitDefaultsscc_info_DropPartitionRequest_milvus_2eproto() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
@ -929,7 +948,7 @@ static void InitDefaultsscc_info_StringResponse_milvus_2eproto() {
{{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsscc_info_StringResponse_milvus_2eproto}, {
&scc_info_Status_common_2eproto.base,}};
static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_milvus_2eproto[47];
static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_milvus_2eproto[48];
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* file_level_enum_descriptors_milvus_2eproto[1];
static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_milvus_2eproto = nullptr;
@ -1196,6 +1215,16 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_milvus_2eproto::offsets[] PROT
PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::IndexStateResponse, status_),
PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::IndexStateResponse, state_),
~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::DropIndexRequest, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::DropIndexRequest, base_),
PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::DropIndexRequest, db_name_),
PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::DropIndexRequest, collection_name_),
PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::DropIndexRequest, field_name_),
PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::DropIndexRequest, index_name_),
~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::InsertRequest, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
@ -1359,21 +1388,22 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOB
{ 237, -1, sizeof(::milvus::proto::milvus::DescribeIndexResponse)},
{ 244, -1, sizeof(::milvus::proto::milvus::IndexStateRequest)},
{ 254, -1, sizeof(::milvus::proto::milvus::IndexStateResponse)},
{ 261, -1, sizeof(::milvus::proto::milvus::InsertRequest)},
{ 272, -1, sizeof(::milvus::proto::milvus::InsertResponse)},
{ 280, -1, sizeof(::milvus::proto::milvus::PlaceholderValue)},
{ 288, -1, sizeof(::milvus::proto::milvus::PlaceholderGroup)},
{ 294, -1, sizeof(::milvus::proto::milvus::SearchRequest)},
{ 305, -1, sizeof(::milvus::proto::milvus::Hits)},
{ 313, -1, sizeof(::milvus::proto::milvus::SearchResults)},
{ 320, -1, sizeof(::milvus::proto::milvus::FlushRequest)},
{ 328, -1, sizeof(::milvus::proto::milvus::PersistentSegmentInfo)},
{ 342, -1, sizeof(::milvus::proto::milvus::PersistentSegmentInfoRequest)},
{ 350, -1, sizeof(::milvus::proto::milvus::PersistentSegmentInfoResponse)},
{ 357, -1, sizeof(::milvus::proto::milvus::QuerySegmentInfo)},
{ 369, -1, sizeof(::milvus::proto::milvus::QuerySegmentInfoRequest)},
{ 377, -1, sizeof(::milvus::proto::milvus::QuerySegmentInfoResponse)},
{ 384, -1, sizeof(::milvus::proto::milvus::RegisterLinkResponse)},
{ 261, -1, sizeof(::milvus::proto::milvus::DropIndexRequest)},
{ 271, -1, sizeof(::milvus::proto::milvus::InsertRequest)},
{ 282, -1, sizeof(::milvus::proto::milvus::InsertResponse)},
{ 290, -1, sizeof(::milvus::proto::milvus::PlaceholderValue)},
{ 298, -1, sizeof(::milvus::proto::milvus::PlaceholderGroup)},
{ 304, -1, sizeof(::milvus::proto::milvus::SearchRequest)},
{ 315, -1, sizeof(::milvus::proto::milvus::Hits)},
{ 323, -1, sizeof(::milvus::proto::milvus::SearchResults)},
{ 330, -1, sizeof(::milvus::proto::milvus::FlushRequest)},
{ 338, -1, sizeof(::milvus::proto::milvus::PersistentSegmentInfo)},
{ 352, -1, sizeof(::milvus::proto::milvus::PersistentSegmentInfoRequest)},
{ 360, -1, sizeof(::milvus::proto::milvus::PersistentSegmentInfoResponse)},
{ 367, -1, sizeof(::milvus::proto::milvus::QuerySegmentInfo)},
{ 379, -1, sizeof(::milvus::proto::milvus::QuerySegmentInfoRequest)},
{ 387, -1, sizeof(::milvus::proto::milvus::QuerySegmentInfoResponse)},
{ 394, -1, sizeof(::milvus::proto::milvus::RegisterLinkResponse)},
};
static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = {
@ -1409,6 +1439,7 @@ static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] =
reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::milvus::proto::milvus::_DescribeIndexResponse_default_instance_),
reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::milvus::proto::milvus::_IndexStateRequest_default_instance_),
reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::milvus::proto::milvus::_IndexStateResponse_default_instance_),
reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::milvus::proto::milvus::_DropIndexRequest_default_instance_),
reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::milvus::proto::milvus::_InsertRequest_default_instance_),
reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::milvus::proto::milvus::_InsertResponse_default_instance_),
reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::milvus::proto::milvus::_PlaceholderValue_default_instance_),
@ -1525,126 +1556,132 @@ const char descriptor_table_protodef_milvus_2eproto[] PROTOBUF_SECTION_VARIABLE(
"ame\030\005 \001(\t\"q\n\022IndexStateResponse\022+\n\006statu"
"s\030\001 \001(\0132\033.milvus.proto.common.Status\022.\n\005"
"state\030\002 \001(\0162\037.milvus.proto.common.IndexS"
"tate\"\275\001\n\rInsertRequest\022*\n\004base\030\001 \001(\0132\034.m"
"ilvus.proto.common.MsgBase\022\017\n\007db_name\030\002 "
"\001(\t\022\027\n\017collection_name\030\003 \001(\t\022\026\n\016partitio"
"n_name\030\004 \001(\t\022+\n\010row_data\030\005 \003(\0132\031.milvus."
"proto.common.Blob\022\021\n\thash_keys\030\006 \003(\r\"e\n\016"
"InsertResponse\022+\n\006status\030\001 \001(\0132\033.milvus."
"proto.common.Status\022\023\n\013rowID_begin\030\002 \001(\003"
"\022\021\n\trowID_end\030\003 \001(\003\"c\n\020PlaceholderValue\022"
"\013\n\003tag\030\001 \001(\t\0222\n\004type\030\002 \001(\0162$.milvus.prot"
"o.milvus.PlaceholderType\022\016\n\006values\030\003 \003(\014"
"\"O\n\020PlaceholderGroup\022;\n\014placeholders\030\001 \003"
"(\0132%.milvus.proto.milvus.PlaceholderValu"
"e\"\246\001\n\rSearchRequest\022*\n\004base\030\001 \001(\0132\034.milv"
"us.proto.common.MsgBase\022\017\n\007db_name\030\002 \001(\t"
"\022\027\n\017collection_name\030\003 \001(\t\022\027\n\017partition_n"
"ames\030\004 \003(\t\022\013\n\003dsl\030\005 \001(\t\022\031\n\021placeholder_g"
"roup\030\006 \001(\014\"5\n\004Hits\022\013\n\003IDs\030\001 \003(\003\022\020\n\010row_d"
"ata\030\002 \003(\014\022\016\n\006scores\030\003 \003(\002\"J\n\rSearchResul"
"ts\022+\n\006status\030\001 \001(\0132\033.milvus.proto.common"
".Status\022\014\n\004hits\030\002 \003(\014\"e\n\014FlushRequest\022*\n"
"\004base\030\001 \001(\0132\034.milvus.proto.common.MsgBas"
"e\022\017\n\007db_name\030\002 \001(\t\022\030\n\020collection_names\030\003"
" \003(\t\"\351\001\n\025PersistentSegmentInfo\022\021\n\tsegmen"
"tID\030\001 \001(\003\022\024\n\014collectionID\030\002 \001(\003\022\023\n\013parti"
"tionID\030\003 \001(\003\022\021\n\topen_time\030\004 \001(\004\022\023\n\013seale"
"d_time\030\005 \001(\004\022\024\n\014flushed_time\030\006 \001(\004\022\020\n\010nu"
"m_rows\030\007 \001(\003\022\020\n\010mem_size\030\010 \001(\003\0220\n\005state\030"
"\t \001(\0162!.milvus.proto.common.SegmentState"
"\"r\n\034PersistentSegmentInfoRequest\022*\n\004base"
"\030\001 \001(\0132\034.milvus.proto.common.MsgBase\022\016\n\006"
"dbName\030\002 \001(\t\022\026\n\016collectionName\030\003 \001(\t\"\207\001\n"
"\035PersistentSegmentInfoResponse\022+\n\006status"
"\030\001 \001(\0132\033.milvus.proto.common.Status\0229\n\005i"
"nfos\030\002 \003(\0132*.milvus.proto.milvus.Persist"
"entSegmentInfo\"\231\001\n\020QuerySegmentInfo\022\021\n\ts"
"egmentID\030\001 \001(\003\022\024\n\014collectionID\030\002 \001(\003\022\023\n\013"
"partitionID\030\003 \001(\003\022\020\n\010mem_size\030\004 \001(\003\022\020\n\010n"
"um_rows\030\005 \001(\003\022\022\n\nindex_name\030\006 \001(\t\022\017\n\007ind"
"exID\030\007 \001(\003\"m\n\027QuerySegmentInfoRequest\022*\n"
"\004base\030\001 \001(\0132\034.milvus.proto.common.MsgBas"
"e\022\016\n\006dbName\030\002 \001(\t\022\026\n\016collectionName\030\003 \001("
"\t\"}\n\030QuerySegmentInfoResponse\022+\n\006status\030"
"\001 \001(\0132\033.milvus.proto.common.Status\0224\n\005in"
"fos\030\002 \003(\0132%.milvus.proto.milvus.QuerySeg"
"mentInfo\"r\n\024RegisterLinkResponse\022-\n\007addr"
"ess\030\001 \001(\0132\034.milvus.proto.common.Address\022"
"+\n\006status\030\002 \001(\0132\033.milvus.proto.common.St"
"atus*@\n\017PlaceholderType\022\010\n\004NONE\020\000\022\021\n\rVEC"
"TOR_BINARY\020d\022\020\n\014VECTOR_FLOAT\020e2\353\022\n\rMilvu"
"sService\022_\n\020CreateCollection\022,.milvus.pr"
"oto.milvus.CreateCollectionRequest\032\033.mil"
"vus.proto.common.Status\"\000\022[\n\016DropCollect"
"ion\022*.milvus.proto.milvus.DropCollection"
"Request\032\033.milvus.proto.common.Status\"\000\022_"
"\n\rHasCollection\022).milvus.proto.milvus.Ha"
"sCollectionRequest\032!.milvus.proto.milvus"
".BoolResponse\"\000\022[\n\016LoadCollection\022*.milv"
"us.proto.milvus.LoadCollectionRequest\032\033."
"milvus.proto.common.Status\"\000\022a\n\021ReleaseC"
"ollection\022-.milvus.proto.milvus.ReleaseC"
"ollectionRequest\032\033.milvus.proto.common.S"
"tatus\"\000\022w\n\022DescribeCollection\022..milvus.p"
"roto.milvus.DescribeCollectionRequest\032/."
"milvus.proto.milvus.DescribeCollectionRe"
"sponse\"\000\022v\n\027GetCollectionStatistics\022+.mi"
"lvus.proto.milvus.CollectionStatsRequest"
"\032,.milvus.proto.milvus.CollectionStatsRe"
"sponse\"\000\022l\n\017ShowCollections\022*.milvus.pro"
"to.milvus.ShowCollectionRequest\032+.milvus"
".proto.milvus.ShowCollectionResponse\"\000\022]"
"\n\017CreatePartition\022+.milvus.proto.milvus."
"CreatePartitionRequest\032\033.milvus.proto.co"
"mmon.Status\"\000\022Y\n\rDropPartition\022).milvus."
"proto.milvus.DropPartitionRequest\032\033.milv"
"us.proto.common.Status\"\000\022]\n\014HasPartition"
"\022(.milvus.proto.milvus.HasPartitionReque"
"st\032!.milvus.proto.milvus.BoolResponse\"\000\022"
"Y\n\016LoadPartitions\022(.milvus.proto.milvus."
"LoadPartitonRequest\032\033.milvus.proto.commo"
"n.Status\"\000\022`\n\021ReleasePartitions\022,.milvus"
".proto.milvus.ReleasePartitionRequest\032\033."
"milvus.proto.common.Status\"\000\022s\n\026GetParti"
"tionStatistics\022*.milvus.proto.milvus.Par"
"titionStatsRequest\032+.milvus.proto.milvus"
".PartitionStatsResponse\"\000\022i\n\016ShowPartiti"
"ons\022).milvus.proto.milvus.ShowPartitionR"
"equest\032*.milvus.proto.milvus.ShowPartiti"
"onResponse\"\000\022U\n\013CreateIndex\022\'.milvus.pro"
"to.milvus.CreateIndexRequest\032\033.milvus.pr"
"oto.common.Status\"\000\022h\n\rDescribeIndex\022).m"
"ilvus.proto.milvus.DescribeIndexRequest\032"
"*.milvus.proto.milvus.DescribeIndexRespo"
"nse\"\000\022b\n\rGetIndexState\022&.milvus.proto.mi"
"lvus.IndexStateRequest\032\'.milvus.proto.mi"
"lvus.IndexStateResponse\"\000\022S\n\006Insert\022\".mi"
"lvus.proto.milvus.InsertRequest\032#.milvus"
".proto.milvus.InsertResponse\"\000\022R\n\006Search"
"\022\".milvus.proto.milvus.SearchRequest\032\".m"
"ilvus.proto.milvus.SearchResults\"\000\022I\n\005Fl"
"ush\022!.milvus.proto.milvus.FlushRequest\032\033"
".milvus.proto.common.Status\"\000\022Q\n\014GetDdCh"
"annel\022\032.milvus.proto.common.Empty\032#.milv"
"us.proto.milvus.StringResponse\"\000\022\203\001\n\030Get"
"PersistentSegmentInfo\0221.milvus.proto.mil"
"vus.PersistentSegmentInfoRequest\0322.milvu"
"s.proto.milvus.PersistentSegmentInfoResp"
"onse\"\000\022t\n\023GetQuerySegmentInfo\022,.milvus.p"
"roto.milvus.QuerySegmentInfoRequest\032-.mi"
"lvus.proto.milvus.QuerySegmentInfoRespon"
"se\"\0002g\n\014ProxyService\022W\n\014RegisterLink\022\032.m"
"ilvus.proto.common.Empty\032).milvus.proto."
"milvus.RegisterLinkResponse\"\000BBZ@github."
"com/zilliztech/milvus-distributed/intern"
"al/proto/milvuspbb\006proto3"
"tate\"\220\001\n\020DropIndexRequest\022*\n\004base\030\001 \001(\0132"
"\034.milvus.proto.common.MsgBase\022\017\n\007db_name"
"\030\002 \001(\t\022\027\n\017collection_name\030\003 \001(\t\022\022\n\nfield"
"_name\030\004 \001(\t\022\022\n\nindex_name\030\005 \001(\t\"\275\001\n\rInse"
"rtRequest\022*\n\004base\030\001 \001(\0132\034.milvus.proto.c"
"ommon.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collec"
"tion_name\030\003 \001(\t\022\026\n\016partition_name\030\004 \001(\t\022"
"+\n\010row_data\030\005 \003(\0132\031.milvus.proto.common."
"Blob\022\021\n\thash_keys\030\006 \003(\r\"e\n\016InsertRespons"
"e\022+\n\006status\030\001 \001(\0132\033.milvus.proto.common."
"Status\022\023\n\013rowID_begin\030\002 \001(\003\022\021\n\trowID_end"
"\030\003 \001(\003\"c\n\020PlaceholderValue\022\013\n\003tag\030\001 \001(\t\022"
"2\n\004type\030\002 \001(\0162$.milvus.proto.milvus.Plac"
"eholderType\022\016\n\006values\030\003 \003(\014\"O\n\020Placehold"
"erGroup\022;\n\014placeholders\030\001 \003(\0132%.milvus.p"
"roto.milvus.PlaceholderValue\"\246\001\n\rSearchR"
"equest\022*\n\004base\030\001 \001(\0132\034.milvus.proto.comm"
"on.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collectio"
"n_name\030\003 \001(\t\022\027\n\017partition_names\030\004 \003(\t\022\013\n"
"\003dsl\030\005 \001(\t\022\031\n\021placeholder_group\030\006 \001(\014\"5\n"
"\004Hits\022\013\n\003IDs\030\001 \003(\003\022\020\n\010row_data\030\002 \003(\014\022\016\n\006"
"scores\030\003 \003(\002\"J\n\rSearchResults\022+\n\006status\030"
"\001 \001(\0132\033.milvus.proto.common.Status\022\014\n\004hi"
"ts\030\002 \003(\014\"e\n\014FlushRequest\022*\n\004base\030\001 \001(\0132\034"
".milvus.proto.common.MsgBase\022\017\n\007db_name\030"
"\002 \001(\t\022\030\n\020collection_names\030\003 \003(\t\"\351\001\n\025Pers"
"istentSegmentInfo\022\021\n\tsegmentID\030\001 \001(\003\022\024\n\014"
"collectionID\030\002 \001(\003\022\023\n\013partitionID\030\003 \001(\003\022"
"\021\n\topen_time\030\004 \001(\004\022\023\n\013sealed_time\030\005 \001(\004\022"
"\024\n\014flushed_time\030\006 \001(\004\022\020\n\010num_rows\030\007 \001(\003\022"
"\020\n\010mem_size\030\010 \001(\003\0220\n\005state\030\t \001(\0162!.milvu"
"s.proto.common.SegmentState\"r\n\034Persisten"
"tSegmentInfoRequest\022*\n\004base\030\001 \001(\0132\034.milv"
"us.proto.common.MsgBase\022\016\n\006dbName\030\002 \001(\t\022"
"\026\n\016collectionName\030\003 \001(\t\"\207\001\n\035PersistentSe"
"gmentInfoResponse\022+\n\006status\030\001 \001(\0132\033.milv"
"us.proto.common.Status\0229\n\005infos\030\002 \003(\0132*."
"milvus.proto.milvus.PersistentSegmentInf"
"o\"\231\001\n\020QuerySegmentInfo\022\021\n\tsegmentID\030\001 \001("
"\003\022\024\n\014collectionID\030\002 \001(\003\022\023\n\013partitionID\030\003"
" \001(\003\022\020\n\010mem_size\030\004 \001(\003\022\020\n\010num_rows\030\005 \001(\003"
"\022\022\n\nindex_name\030\006 \001(\t\022\017\n\007indexID\030\007 \001(\003\"m\n"
"\027QuerySegmentInfoRequest\022*\n\004base\030\001 \001(\0132\034"
".milvus.proto.common.MsgBase\022\016\n\006dbName\030\002"
" \001(\t\022\026\n\016collectionName\030\003 \001(\t\"}\n\030QuerySeg"
"mentInfoResponse\022+\n\006status\030\001 \001(\0132\033.milvu"
"s.proto.common.Status\0224\n\005infos\030\002 \003(\0132%.m"
"ilvus.proto.milvus.QuerySegmentInfo\"r\n\024R"
"egisterLinkResponse\022-\n\007address\030\001 \001(\0132\034.m"
"ilvus.proto.common.Address\022+\n\006status\030\002 \001"
"(\0132\033.milvus.proto.common.Status*@\n\017Place"
"holderType\022\010\n\004NONE\020\000\022\021\n\rVECTOR_BINARY\020d\022"
"\020\n\014VECTOR_FLOAT\020e2\276\023\n\rMilvusService\022_\n\020C"
"reateCollection\022,.milvus.proto.milvus.Cr"
"eateCollectionRequest\032\033.milvus.proto.com"
"mon.Status\"\000\022[\n\016DropCollection\022*.milvus."
"proto.milvus.DropCollectionRequest\032\033.mil"
"vus.proto.common.Status\"\000\022_\n\rHasCollecti"
"on\022).milvus.proto.milvus.HasCollectionRe"
"quest\032!.milvus.proto.milvus.BoolResponse"
"\"\000\022[\n\016LoadCollection\022*.milvus.proto.milv"
"us.LoadCollectionRequest\032\033.milvus.proto."
"common.Status\"\000\022a\n\021ReleaseCollection\022-.m"
"ilvus.proto.milvus.ReleaseCollectionRequ"
"est\032\033.milvus.proto.common.Status\"\000\022w\n\022De"
"scribeCollection\022..milvus.proto.milvus.D"
"escribeCollectionRequest\032/.milvus.proto."
"milvus.DescribeCollectionResponse\"\000\022v\n\027G"
"etCollectionStatistics\022+.milvus.proto.mi"
"lvus.CollectionStatsRequest\032,.milvus.pro"
"to.milvus.CollectionStatsResponse\"\000\022l\n\017S"
"howCollections\022*.milvus.proto.milvus.Sho"
"wCollectionRequest\032+.milvus.proto.milvus"
".ShowCollectionResponse\"\000\022]\n\017CreateParti"
"tion\022+.milvus.proto.milvus.CreatePartiti"
"onRequest\032\033.milvus.proto.common.Status\"\000"
"\022Y\n\rDropPartition\022).milvus.proto.milvus."
"DropPartitionRequest\032\033.milvus.proto.comm"
"on.Status\"\000\022]\n\014HasPartition\022(.milvus.pro"
"to.milvus.HasPartitionRequest\032!.milvus.p"
"roto.milvus.BoolResponse\"\000\022Y\n\016LoadPartit"
"ions\022(.milvus.proto.milvus.LoadPartitonR"
"equest\032\033.milvus.proto.common.Status\"\000\022`\n"
"\021ReleasePartitions\022,.milvus.proto.milvus"
".ReleasePartitionRequest\032\033.milvus.proto."
"common.Status\"\000\022s\n\026GetPartitionStatistic"
"s\022*.milvus.proto.milvus.PartitionStatsRe"
"quest\032+.milvus.proto.milvus.PartitionSta"
"tsResponse\"\000\022i\n\016ShowPartitions\022).milvus."
"proto.milvus.ShowPartitionRequest\032*.milv"
"us.proto.milvus.ShowPartitionResponse\"\000\022"
"U\n\013CreateIndex\022\'.milvus.proto.milvus.Cre"
"ateIndexRequest\032\033.milvus.proto.common.St"
"atus\"\000\022h\n\rDescribeIndex\022).milvus.proto.m"
"ilvus.DescribeIndexRequest\032*.milvus.prot"
"o.milvus.DescribeIndexResponse\"\000\022b\n\rGetI"
"ndexState\022&.milvus.proto.milvus.IndexSta"
"teRequest\032\'.milvus.proto.milvus.IndexSta"
"teResponse\"\000\022Q\n\tDropIndex\022%.milvus.proto"
".milvus.DropIndexRequest\032\033.milvus.proto."
"common.Status\"\000\022S\n\006Insert\022\".milvus.proto"
".milvus.InsertRequest\032#.milvus.proto.mil"
"vus.InsertResponse\"\000\022R\n\006Search\022\".milvus."
"proto.milvus.SearchRequest\032\".milvus.prot"
"o.milvus.SearchResults\"\000\022I\n\005Flush\022!.milv"
"us.proto.milvus.FlushRequest\032\033.milvus.pr"
"oto.common.Status\"\000\022Q\n\014GetDdChannel\022\032.mi"
"lvus.proto.common.Empty\032#.milvus.proto.m"
"ilvus.StringResponse\"\000\022\203\001\n\030GetPersistent"
"SegmentInfo\0221.milvus.proto.milvus.Persis"
"tentSegmentInfoRequest\0322.milvus.proto.mi"
"lvus.PersistentSegmentInfoResponse\"\000\022t\n\023"
"GetQuerySegmentInfo\022,.milvus.proto.milvu"
"s.QuerySegmentInfoRequest\032-.milvus.proto"
".milvus.QuerySegmentInfoResponse\"\0002g\n\014Pr"
"oxyService\022W\n\014RegisterLink\022\032.milvus.prot"
"o.common.Empty\032).milvus.proto.milvus.Reg"
"isterLinkResponse\"\000BBZ@github.com/zilliz"
"tech/milvus-distributed/internal/proto/m"
"ilvuspbb\006proto3"
;
static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_milvus_2eproto_deps[2] = {
&::descriptor_table_common_2eproto,
&::descriptor_table_schema_2eproto,
};
static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_milvus_2eproto_sccs[47] = {
static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_milvus_2eproto_sccs[48] = {
&scc_info_BoolResponse_milvus_2eproto.base,
&scc_info_CollectionStatsRequest_milvus_2eproto.base,
&scc_info_CollectionStatsResponse_milvus_2eproto.base,
@ -1658,6 +1695,7 @@ static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_mil
&scc_info_DescribeSegmentRequest_milvus_2eproto.base,
&scc_info_DescribeSegmentResponse_milvus_2eproto.base,
&scc_info_DropCollectionRequest_milvus_2eproto.base,
&scc_info_DropIndexRequest_milvus_2eproto.base,
&scc_info_DropPartitionRequest_milvus_2eproto.base,
&scc_info_FlushRequest_milvus_2eproto.base,
&scc_info_HasCollectionRequest_milvus_2eproto.base,
@ -1696,10 +1734,10 @@ static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_mil
static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_milvus_2eproto_once;
static bool descriptor_table_milvus_2eproto_initialized = false;
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_milvus_2eproto = {
&descriptor_table_milvus_2eproto_initialized, descriptor_table_protodef_milvus_2eproto, "milvus.proto", 8465,
&descriptor_table_milvus_2eproto_once, descriptor_table_milvus_2eproto_sccs, descriptor_table_milvus_2eproto_deps, 47, 2,
&descriptor_table_milvus_2eproto_initialized, descriptor_table_protodef_milvus_2eproto, "milvus.proto", 8695,
&descriptor_table_milvus_2eproto_once, descriptor_table_milvus_2eproto_sccs, descriptor_table_milvus_2eproto_deps, 48, 2,
schemas, file_default_instances, TableStruct_milvus_2eproto::offsets,
file_level_metadata_milvus_2eproto, 47, file_level_enum_descriptors_milvus_2eproto, file_level_service_descriptors_milvus_2eproto,
file_level_metadata_milvus_2eproto, 48, file_level_enum_descriptors_milvus_2eproto, file_level_service_descriptors_milvus_2eproto,
};
// Force running AddDescriptors() at dynamic initialization time.
@ -14535,6 +14573,530 @@ void IndexStateResponse::InternalSwap(IndexStateResponse* other) {
}
// ===================================================================
void DropIndexRequest::InitAsDefaultInstance() {
::milvus::proto::milvus::_DropIndexRequest_default_instance_._instance.get_mutable()->base_ = const_cast< ::milvus::proto::common::MsgBase*>(
::milvus::proto::common::MsgBase::internal_default_instance());
}
class DropIndexRequest::_Internal {
public:
static const ::milvus::proto::common::MsgBase& base(const DropIndexRequest* msg);
};
const ::milvus::proto::common::MsgBase&
DropIndexRequest::_Internal::base(const DropIndexRequest* msg) {
return *msg->base_;
}
void DropIndexRequest::clear_base() {
if (GetArenaNoVirtual() == nullptr && base_ != nullptr) {
delete base_;
}
base_ = nullptr;
}
DropIndexRequest::DropIndexRequest()
: ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
SharedCtor();
// @@protoc_insertion_point(constructor:milvus.proto.milvus.DropIndexRequest)
}
DropIndexRequest::DropIndexRequest(const DropIndexRequest& from)
: ::PROTOBUF_NAMESPACE_ID::Message(),
_internal_metadata_(nullptr) {
_internal_metadata_.MergeFrom(from._internal_metadata_);
db_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
if (!from.db_name().empty()) {
db_name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.db_name_);
}
collection_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
if (!from.collection_name().empty()) {
collection_name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.collection_name_);
}
field_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
if (!from.field_name().empty()) {
field_name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.field_name_);
}
index_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
if (!from.index_name().empty()) {
index_name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.index_name_);
}
if (from.has_base()) {
base_ = new ::milvus::proto::common::MsgBase(*from.base_);
} else {
base_ = nullptr;
}
// @@protoc_insertion_point(copy_constructor:milvus.proto.milvus.DropIndexRequest)
}
void DropIndexRequest::SharedCtor() {
::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_DropIndexRequest_milvus_2eproto.base);
db_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
collection_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
field_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
index_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
base_ = nullptr;
}
DropIndexRequest::~DropIndexRequest() {
// @@protoc_insertion_point(destructor:milvus.proto.milvus.DropIndexRequest)
SharedDtor();
}
void DropIndexRequest::SharedDtor() {
db_name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
collection_name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
field_name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
index_name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
if (this != internal_default_instance()) delete base_;
}
void DropIndexRequest::SetCachedSize(int size) const {
_cached_size_.Set(size);
}
const DropIndexRequest& DropIndexRequest::default_instance() {
::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_DropIndexRequest_milvus_2eproto.base);
return *internal_default_instance();
}
void DropIndexRequest::Clear() {
// @@protoc_insertion_point(message_clear_start:milvus.proto.milvus.DropIndexRequest)
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
db_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
field_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
index_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
if (GetArenaNoVirtual() == nullptr && base_ != nullptr) {
delete base_;
}
base_ = nullptr;
_internal_metadata_.Clear();
}
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
const char* DropIndexRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
::PROTOBUF_NAMESPACE_ID::uint32 tag;
ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
CHK_(ptr);
switch (tag >> 3) {
// .milvus.proto.common.MsgBase base = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
ptr = ctx->ParseMessage(mutable_base(), ptr);
CHK_(ptr);
} else goto handle_unusual;
continue;
// string db_name = 2;
case 2:
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_db_name(), ptr, ctx, "milvus.proto.milvus.DropIndexRequest.db_name");
CHK_(ptr);
} else goto handle_unusual;
continue;
// string collection_name = 3;
case 3:
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_collection_name(), ptr, ctx, "milvus.proto.milvus.DropIndexRequest.collection_name");
CHK_(ptr);
} else goto handle_unusual;
continue;
// string field_name = 4;
case 4:
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_field_name(), ptr, ctx, "milvus.proto.milvus.DropIndexRequest.field_name");
CHK_(ptr);
} else goto handle_unusual;
continue;
// string index_name = 5;
case 5:
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) {
ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_index_name(), ptr, ctx, "milvus.proto.milvus.DropIndexRequest.index_name");
CHK_(ptr);
} else goto handle_unusual;
continue;
default: {
handle_unusual:
if ((tag & 7) == 4 || tag == 0) {
ctx->SetLastTag(tag);
goto success;
}
ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
CHK_(ptr != nullptr);
continue;
}
} // switch
} // while
success:
return ptr;
failure:
ptr = nullptr;
goto success;
#undef CHK_
}
#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
bool DropIndexRequest::MergePartialFromCodedStream(
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
::PROTOBUF_NAMESPACE_ID::uint32 tag;
// @@protoc_insertion_point(parse_start:milvus.proto.milvus.DropIndexRequest)
for (;;) {
::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
tag = p.first;
if (!p.second) goto handle_unusual;
switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) {
// .milvus.proto.common.MsgBase base = 1;
case 1: {
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) {
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage(
input, mutable_base()));
} else {
goto handle_unusual;
}
break;
}
// string db_name = 2;
case 2: {
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (18 & 0xFF)) {
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString(
input, this->mutable_db_name()));
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->db_name().data(), static_cast<int>(this->db_name().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE,
"milvus.proto.milvus.DropIndexRequest.db_name"));
} else {
goto handle_unusual;
}
break;
}
// string collection_name = 3;
case 3: {
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (26 & 0xFF)) {
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString(
input, this->mutable_collection_name()));
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->collection_name().data(), static_cast<int>(this->collection_name().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE,
"milvus.proto.milvus.DropIndexRequest.collection_name"));
} else {
goto handle_unusual;
}
break;
}
// string field_name = 4;
case 4: {
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (34 & 0xFF)) {
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString(
input, this->mutable_field_name()));
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->field_name().data(), static_cast<int>(this->field_name().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE,
"milvus.proto.milvus.DropIndexRequest.field_name"));
} else {
goto handle_unusual;
}
break;
}
// string index_name = 5;
case 5: {
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (42 & 0xFF)) {
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString(
input, this->mutable_index_name()));
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->index_name().data(), static_cast<int>(this->index_name().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE,
"milvus.proto.milvus.DropIndexRequest.index_name"));
} else {
goto handle_unusual;
}
break;
}
default: {
handle_unusual:
if (tag == 0) {
goto success;
}
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SkipField(
input, tag, _internal_metadata_.mutable_unknown_fields()));
break;
}
}
}
success:
// @@protoc_insertion_point(parse_success:milvus.proto.milvus.DropIndexRequest)
return true;
failure:
// @@protoc_insertion_point(parse_failure:milvus.proto.milvus.DropIndexRequest)
return false;
#undef DO_
}
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
void DropIndexRequest::SerializeWithCachedSizes(
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const {
// @@protoc_insertion_point(serialize_start:milvus.proto.milvus.DropIndexRequest)
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// .milvus.proto.common.MsgBase base = 1;
if (this->has_base()) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteMessageMaybeToArray(
1, _Internal::base(this), output);
}
// string db_name = 2;
if (this->db_name().size() > 0) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->db_name().data(), static_cast<int>(this->db_name().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"milvus.proto.milvus.DropIndexRequest.db_name");
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased(
2, this->db_name(), output);
}
// string collection_name = 3;
if (this->collection_name().size() > 0) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->collection_name().data(), static_cast<int>(this->collection_name().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"milvus.proto.milvus.DropIndexRequest.collection_name");
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased(
3, this->collection_name(), output);
}
// string field_name = 4;
if (this->field_name().size() > 0) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->field_name().data(), static_cast<int>(this->field_name().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"milvus.proto.milvus.DropIndexRequest.field_name");
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased(
4, this->field_name(), output);
}
// string index_name = 5;
if (this->index_name().size() > 0) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->index_name().data(), static_cast<int>(this->index_name().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"milvus.proto.milvus.DropIndexRequest.index_name");
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased(
5, this->index_name(), output);
}
if (_internal_metadata_.have_unknown_fields()) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields(
_internal_metadata_.unknown_fields(), output);
}
// @@protoc_insertion_point(serialize_end:milvus.proto.milvus.DropIndexRequest)
}
::PROTOBUF_NAMESPACE_ID::uint8* DropIndexRequest::InternalSerializeWithCachedSizesToArray(
::PROTOBUF_NAMESPACE_ID::uint8* target) const {
// @@protoc_insertion_point(serialize_to_array_start:milvus.proto.milvus.DropIndexRequest)
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// .milvus.proto.common.MsgBase base = 1;
if (this->has_base()) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
InternalWriteMessageToArray(
1, _Internal::base(this), target);
}
// string db_name = 2;
if (this->db_name().size() > 0) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->db_name().data(), static_cast<int>(this->db_name().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"milvus.proto.milvus.DropIndexRequest.db_name");
target =
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray(
2, this->db_name(), target);
}
// string collection_name = 3;
if (this->collection_name().size() > 0) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->collection_name().data(), static_cast<int>(this->collection_name().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"milvus.proto.milvus.DropIndexRequest.collection_name");
target =
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray(
3, this->collection_name(), target);
}
// string field_name = 4;
if (this->field_name().size() > 0) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->field_name().data(), static_cast<int>(this->field_name().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"milvus.proto.milvus.DropIndexRequest.field_name");
target =
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray(
4, this->field_name(), target);
}
// string index_name = 5;
if (this->index_name().size() > 0) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->index_name().data(), static_cast<int>(this->index_name().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"milvus.proto.milvus.DropIndexRequest.index_name");
target =
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray(
5, this->index_name(), target);
}
if (_internal_metadata_.have_unknown_fields()) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields(), target);
}
// @@protoc_insertion_point(serialize_to_array_end:milvus.proto.milvus.DropIndexRequest)
return target;
}
size_t DropIndexRequest::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:milvus.proto.milvus.DropIndexRequest)
size_t total_size = 0;
if (_internal_metadata_.have_unknown_fields()) {
total_size +=
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::ComputeUnknownFieldsSize(
_internal_metadata_.unknown_fields());
}
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// string db_name = 2;
if (this->db_name().size() > 0) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->db_name());
}
// string collection_name = 3;
if (this->collection_name().size() > 0) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->collection_name());
}
// string field_name = 4;
if (this->field_name().size() > 0) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->field_name());
}
// string index_name = 5;
if (this->index_name().size() > 0) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->index_name());
}
// .milvus.proto.common.MsgBase base = 1;
if (this->has_base()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
*base_);
}
int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
SetCachedSize(cached_size);
return total_size;
}
void DropIndexRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:milvus.proto.milvus.DropIndexRequest)
GOOGLE_DCHECK_NE(&from, this);
const DropIndexRequest* source =
::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<DropIndexRequest>(
&from);
if (source == nullptr) {
// @@protoc_insertion_point(generalized_merge_from_cast_fail:milvus.proto.milvus.DropIndexRequest)
::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
} else {
// @@protoc_insertion_point(generalized_merge_from_cast_success:milvus.proto.milvus.DropIndexRequest)
MergeFrom(*source);
}
}
void DropIndexRequest::MergeFrom(const DropIndexRequest& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:milvus.proto.milvus.DropIndexRequest)
GOOGLE_DCHECK_NE(&from, this);
_internal_metadata_.MergeFrom(from._internal_metadata_);
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
(void) cached_has_bits;
if (from.db_name().size() > 0) {
db_name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.db_name_);
}
if (from.collection_name().size() > 0) {
collection_name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.collection_name_);
}
if (from.field_name().size() > 0) {
field_name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.field_name_);
}
if (from.index_name().size() > 0) {
index_name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.index_name_);
}
if (from.has_base()) {
mutable_base()->::milvus::proto::common::MsgBase::MergeFrom(from.base());
}
}
void DropIndexRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:milvus.proto.milvus.DropIndexRequest)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void DropIndexRequest::CopyFrom(const DropIndexRequest& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:milvus.proto.milvus.DropIndexRequest)
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool DropIndexRequest::IsInitialized() const {
return true;
}
void DropIndexRequest::InternalSwap(DropIndexRequest* other) {
using std::swap;
_internal_metadata_.Swap(&other->_internal_metadata_);
db_name_.Swap(&other->db_name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
GetArenaNoVirtual());
collection_name_.Swap(&other->collection_name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
GetArenaNoVirtual());
field_name_.Swap(&other->field_name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
GetArenaNoVirtual());
index_name_.Swap(&other->index_name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
GetArenaNoVirtual());
swap(base_, other->base_);
}
::PROTOBUF_NAMESPACE_ID::Metadata DropIndexRequest::GetMetadata() const {
return GetMetadataStatic();
}
// ===================================================================
void InsertRequest::InitAsDefaultInstance() {
@ -20784,6 +21346,9 @@ template<> PROTOBUF_NOINLINE ::milvus::proto::milvus::IndexStateRequest* Arena::
template<> PROTOBUF_NOINLINE ::milvus::proto::milvus::IndexStateResponse* Arena::CreateMaybeMessage< ::milvus::proto::milvus::IndexStateResponse >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::milvus::IndexStateResponse >(arena);
}
template<> PROTOBUF_NOINLINE ::milvus::proto::milvus::DropIndexRequest* Arena::CreateMaybeMessage< ::milvus::proto::milvus::DropIndexRequest >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::milvus::DropIndexRequest >(arena);
}
template<> PROTOBUF_NOINLINE ::milvus::proto::milvus::InsertRequest* Arena::CreateMaybeMessage< ::milvus::proto::milvus::InsertRequest >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::milvus::InsertRequest >(arena);
}

View File

@ -50,7 +50,7 @@ struct TableStruct_milvus_2eproto {
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[47]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[48]
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
@ -99,6 +99,9 @@ extern DescribeSegmentResponseDefaultTypeInternal _DescribeSegmentResponse_defau
class DropCollectionRequest;
class DropCollectionRequestDefaultTypeInternal;
extern DropCollectionRequestDefaultTypeInternal _DropCollectionRequest_default_instance_;
class DropIndexRequest;
class DropIndexRequestDefaultTypeInternal;
extern DropIndexRequestDefaultTypeInternal _DropIndexRequest_default_instance_;
class DropPartitionRequest;
class DropPartitionRequestDefaultTypeInternal;
extern DropPartitionRequestDefaultTypeInternal _DropPartitionRequest_default_instance_;
@ -218,6 +221,7 @@ template<> ::milvus::proto::milvus::DescribeIndexResponse* Arena::CreateMaybeMes
template<> ::milvus::proto::milvus::DescribeSegmentRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::DescribeSegmentRequest>(Arena*);
template<> ::milvus::proto::milvus::DescribeSegmentResponse* Arena::CreateMaybeMessage<::milvus::proto::milvus::DescribeSegmentResponse>(Arena*);
template<> ::milvus::proto::milvus::DropCollectionRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::DropCollectionRequest>(Arena*);
template<> ::milvus::proto::milvus::DropIndexRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::DropIndexRequest>(Arena*);
template<> ::milvus::proto::milvus::DropPartitionRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::DropPartitionRequest>(Arena*);
template<> ::milvus::proto::milvus::FlushRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::FlushRequest>(Arena*);
template<> ::milvus::proto::milvus::HasCollectionRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::HasCollectionRequest>(Arena*);
@ -5430,6 +5434,192 @@ class IndexStateResponse :
};
// -------------------------------------------------------------------
class DropIndexRequest :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.DropIndexRequest) */ {
public:
DropIndexRequest();
virtual ~DropIndexRequest();
DropIndexRequest(const DropIndexRequest& from);
DropIndexRequest(DropIndexRequest&& from) noexcept
: DropIndexRequest() {
*this = ::std::move(from);
}
inline DropIndexRequest& operator=(const DropIndexRequest& from) {
CopyFrom(from);
return *this;
}
inline DropIndexRequest& operator=(DropIndexRequest&& from) noexcept {
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
if (this != &from) InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
return GetMetadataStatic().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return GetMetadataStatic().reflection;
}
static const DropIndexRequest& default_instance();
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const DropIndexRequest* internal_default_instance() {
return reinterpret_cast<const DropIndexRequest*>(
&_DropIndexRequest_default_instance_);
}
static constexpr int kIndexInFileMessages =
32;
friend void swap(DropIndexRequest& a, DropIndexRequest& b) {
a.Swap(&b);
}
inline void Swap(DropIndexRequest* other) {
if (other == this) return;
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline DropIndexRequest* New() const final {
return CreateMaybeMessage<DropIndexRequest>(nullptr);
}
DropIndexRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<DropIndexRequest>(arena);
}
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
void CopyFrom(const DropIndexRequest& from);
void MergeFrom(const DropIndexRequest& from);
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
#else
bool MergePartialFromCodedStream(
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
void SerializeWithCachedSizes(
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
inline void SharedCtor();
inline void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(DropIndexRequest* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "milvus.proto.milvus.DropIndexRequest";
}
private:
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
return nullptr;
}
inline void* MaybeArenaPtr() const {
return nullptr;
}
public:
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
private:
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
}
public:
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kDbNameFieldNumber = 2,
kCollectionNameFieldNumber = 3,
kFieldNameFieldNumber = 4,
kIndexNameFieldNumber = 5,
kBaseFieldNumber = 1,
};
// string db_name = 2;
void clear_db_name();
const std::string& db_name() const;
void set_db_name(const std::string& value);
void set_db_name(std::string&& value);
void set_db_name(const char* value);
void set_db_name(const char* value, size_t size);
std::string* mutable_db_name();
std::string* release_db_name();
void set_allocated_db_name(std::string* db_name);
// string collection_name = 3;
void clear_collection_name();
const std::string& collection_name() const;
void set_collection_name(const std::string& value);
void set_collection_name(std::string&& value);
void set_collection_name(const char* value);
void set_collection_name(const char* value, size_t size);
std::string* mutable_collection_name();
std::string* release_collection_name();
void set_allocated_collection_name(std::string* collection_name);
// string field_name = 4;
void clear_field_name();
const std::string& field_name() const;
void set_field_name(const std::string& value);
void set_field_name(std::string&& value);
void set_field_name(const char* value);
void set_field_name(const char* value, size_t size);
std::string* mutable_field_name();
std::string* release_field_name();
void set_allocated_field_name(std::string* field_name);
// string index_name = 5;
void clear_index_name();
const std::string& index_name() const;
void set_index_name(const std::string& value);
void set_index_name(std::string&& value);
void set_index_name(const char* value);
void set_index_name(const char* value, size_t size);
std::string* mutable_index_name();
std::string* release_index_name();
void set_allocated_index_name(std::string* index_name);
// .milvus.proto.common.MsgBase base = 1;
bool has_base() const;
void clear_base();
const ::milvus::proto::common::MsgBase& base() const;
::milvus::proto::common::MsgBase* release_base();
::milvus::proto::common::MsgBase* mutable_base();
void set_allocated_base(::milvus::proto::common::MsgBase* base);
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.DropIndexRequest)
private:
class _Internal;
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr db_name_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_name_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr field_name_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr index_name_;
::milvus::proto::common::MsgBase* base_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_milvus_2eproto;
};
// -------------------------------------------------------------------
class InsertRequest :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.InsertRequest) */ {
public:
@ -5472,7 +5662,7 @@ class InsertRequest :
&_InsertRequest_default_instance_);
}
static constexpr int kIndexInFileMessages =
32;
33;
friend void swap(InsertRequest& a, InsertRequest& b) {
a.Swap(&b);
@ -5672,7 +5862,7 @@ class InsertResponse :
&_InsertResponse_default_instance_);
}
static constexpr int kIndexInFileMessages =
33;
34;
friend void swap(InsertResponse& a, InsertResponse& b) {
a.Swap(&b);
@ -5820,7 +6010,7 @@ class PlaceholderValue :
&_PlaceholderValue_default_instance_);
}
static constexpr int kIndexInFileMessages =
34;
35;
friend void swap(PlaceholderValue& a, PlaceholderValue& b) {
a.Swap(&b);
@ -5983,7 +6173,7 @@ class PlaceholderGroup :
&_PlaceholderGroup_default_instance_);
}
static constexpr int kIndexInFileMessages =
35;
36;
friend void swap(PlaceholderGroup& a, PlaceholderGroup& b) {
a.Swap(&b);
@ -6120,7 +6310,7 @@ class SearchRequest :
&_SearchRequest_default_instance_);
}
static constexpr int kIndexInFileMessages =
36;
37;
friend void swap(SearchRequest& a, SearchRequest& b) {
a.Swap(&b);
@ -6325,7 +6515,7 @@ class Hits :
&_Hits_default_instance_);
}
static constexpr int kIndexInFileMessages =
37;
38;
friend void swap(Hits& a, Hits& b) {
a.Swap(&b);
@ -6496,7 +6686,7 @@ class SearchResults :
&_SearchResults_default_instance_);
}
static constexpr int kIndexInFileMessages =
38;
39;
friend void swap(SearchResults& a, SearchResults& b) {
a.Swap(&b);
@ -6649,7 +6839,7 @@ class FlushRequest :
&_FlushRequest_default_instance_);
}
static constexpr int kIndexInFileMessages =
39;
40;
friend void swap(FlushRequest& a, FlushRequest& b) {
a.Swap(&b);
@ -6815,7 +7005,7 @@ class PersistentSegmentInfo :
&_PersistentSegmentInfo_default_instance_);
}
static constexpr int kIndexInFileMessages =
40;
41;
friend void swap(PersistentSegmentInfo& a, PersistentSegmentInfo& b) {
a.Swap(&b);
@ -7002,7 +7192,7 @@ class PersistentSegmentInfoRequest :
&_PersistentSegmentInfoRequest_default_instance_);
}
static constexpr int kIndexInFileMessages =
41;
42;
friend void swap(PersistentSegmentInfoRequest& a, PersistentSegmentInfoRequest& b) {
a.Swap(&b);
@ -7162,7 +7352,7 @@ class PersistentSegmentInfoResponse :
&_PersistentSegmentInfoResponse_default_instance_);
}
static constexpr int kIndexInFileMessages =
42;
43;
friend void swap(PersistentSegmentInfoResponse& a, PersistentSegmentInfoResponse& b) {
a.Swap(&b);
@ -7309,7 +7499,7 @@ class QuerySegmentInfo :
&_QuerySegmentInfo_default_instance_);
}
static constexpr int kIndexInFileMessages =
43;
44;
friend void swap(QuerySegmentInfo& a, QuerySegmentInfo& b) {
a.Swap(&b);
@ -7488,7 +7678,7 @@ class QuerySegmentInfoRequest :
&_QuerySegmentInfoRequest_default_instance_);
}
static constexpr int kIndexInFileMessages =
44;
45;
friend void swap(QuerySegmentInfoRequest& a, QuerySegmentInfoRequest& b) {
a.Swap(&b);
@ -7648,7 +7838,7 @@ class QuerySegmentInfoResponse :
&_QuerySegmentInfoResponse_default_instance_);
}
static constexpr int kIndexInFileMessages =
45;
46;
friend void swap(QuerySegmentInfoResponse& a, QuerySegmentInfoResponse& b) {
a.Swap(&b);
@ -7795,7 +7985,7 @@ class RegisterLinkResponse :
&_RegisterLinkResponse_default_instance_);
}
static constexpr int kIndexInFileMessages =
46;
47;
friend void swap(RegisterLinkResponse& a, RegisterLinkResponse& b) {
a.Swap(&b);
@ -12481,6 +12671,259 @@ inline void IndexStateResponse::set_state(::milvus::proto::common::IndexState va
// -------------------------------------------------------------------
// DropIndexRequest
// .milvus.proto.common.MsgBase base = 1;
inline bool DropIndexRequest::has_base() const {
return this != internal_default_instance() && base_ != nullptr;
}
inline const ::milvus::proto::common::MsgBase& DropIndexRequest::base() const {
const ::milvus::proto::common::MsgBase* p = base_;
// @@protoc_insertion_point(field_get:milvus.proto.milvus.DropIndexRequest.base)
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::MsgBase*>(
&::milvus::proto::common::_MsgBase_default_instance_);
}
inline ::milvus::proto::common::MsgBase* DropIndexRequest::release_base() {
// @@protoc_insertion_point(field_release:milvus.proto.milvus.DropIndexRequest.base)
::milvus::proto::common::MsgBase* temp = base_;
base_ = nullptr;
return temp;
}
inline ::milvus::proto::common::MsgBase* DropIndexRequest::mutable_base() {
if (base_ == nullptr) {
auto* p = CreateMaybeMessage<::milvus::proto::common::MsgBase>(GetArenaNoVirtual());
base_ = p;
}
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.DropIndexRequest.base)
return base_;
}
inline void DropIndexRequest::set_allocated_base(::milvus::proto::common::MsgBase* base) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
if (message_arena == nullptr) {
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_);
}
if (base) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
if (message_arena != submessage_arena) {
base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, base, submessage_arena);
}
} else {
}
base_ = base;
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.DropIndexRequest.base)
}
// string db_name = 2;
inline void DropIndexRequest::clear_db_name() {
db_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline const std::string& DropIndexRequest::db_name() const {
// @@protoc_insertion_point(field_get:milvus.proto.milvus.DropIndexRequest.db_name)
return db_name_.GetNoArena();
}
inline void DropIndexRequest::set_db_name(const std::string& value) {
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:milvus.proto.milvus.DropIndexRequest.db_name)
}
inline void DropIndexRequest::set_db_name(std::string&& value) {
db_name_.SetNoArena(
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.DropIndexRequest.db_name)
}
inline void DropIndexRequest::set_db_name(const char* value) {
GOOGLE_DCHECK(value != nullptr);
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.DropIndexRequest.db_name)
}
inline void DropIndexRequest::set_db_name(const char* value, size_t size) {
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.DropIndexRequest.db_name)
}
inline std::string* DropIndexRequest::mutable_db_name() {
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.DropIndexRequest.db_name)
return db_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline std::string* DropIndexRequest::release_db_name() {
// @@protoc_insertion_point(field_release:milvus.proto.milvus.DropIndexRequest.db_name)
return db_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline void DropIndexRequest::set_allocated_db_name(std::string* db_name) {
if (db_name != nullptr) {
} else {
}
db_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), db_name);
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.DropIndexRequest.db_name)
}
// string collection_name = 3;
inline void DropIndexRequest::clear_collection_name() {
collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline const std::string& DropIndexRequest::collection_name() const {
// @@protoc_insertion_point(field_get:milvus.proto.milvus.DropIndexRequest.collection_name)
return collection_name_.GetNoArena();
}
inline void DropIndexRequest::set_collection_name(const std::string& value) {
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:milvus.proto.milvus.DropIndexRequest.collection_name)
}
inline void DropIndexRequest::set_collection_name(std::string&& value) {
collection_name_.SetNoArena(
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.DropIndexRequest.collection_name)
}
inline void DropIndexRequest::set_collection_name(const char* value) {
GOOGLE_DCHECK(value != nullptr);
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.DropIndexRequest.collection_name)
}
inline void DropIndexRequest::set_collection_name(const char* value, size_t size) {
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.DropIndexRequest.collection_name)
}
inline std::string* DropIndexRequest::mutable_collection_name() {
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.DropIndexRequest.collection_name)
return collection_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline std::string* DropIndexRequest::release_collection_name() {
// @@protoc_insertion_point(field_release:milvus.proto.milvus.DropIndexRequest.collection_name)
return collection_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline void DropIndexRequest::set_allocated_collection_name(std::string* collection_name) {
if (collection_name != nullptr) {
} else {
}
collection_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), collection_name);
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.DropIndexRequest.collection_name)
}
// string field_name = 4;
inline void DropIndexRequest::clear_field_name() {
field_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline const std::string& DropIndexRequest::field_name() const {
// @@protoc_insertion_point(field_get:milvus.proto.milvus.DropIndexRequest.field_name)
return field_name_.GetNoArena();
}
inline void DropIndexRequest::set_field_name(const std::string& value) {
field_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:milvus.proto.milvus.DropIndexRequest.field_name)
}
inline void DropIndexRequest::set_field_name(std::string&& value) {
field_name_.SetNoArena(
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.DropIndexRequest.field_name)
}
inline void DropIndexRequest::set_field_name(const char* value) {
GOOGLE_DCHECK(value != nullptr);
field_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.DropIndexRequest.field_name)
}
inline void DropIndexRequest::set_field_name(const char* value, size_t size) {
field_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.DropIndexRequest.field_name)
}
inline std::string* DropIndexRequest::mutable_field_name() {
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.DropIndexRequest.field_name)
return field_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline std::string* DropIndexRequest::release_field_name() {
// @@protoc_insertion_point(field_release:milvus.proto.milvus.DropIndexRequest.field_name)
return field_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline void DropIndexRequest::set_allocated_field_name(std::string* field_name) {
if (field_name != nullptr) {
} else {
}
field_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), field_name);
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.DropIndexRequest.field_name)
}
// string index_name = 5;
inline void DropIndexRequest::clear_index_name() {
index_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline const std::string& DropIndexRequest::index_name() const {
// @@protoc_insertion_point(field_get:milvus.proto.milvus.DropIndexRequest.index_name)
return index_name_.GetNoArena();
}
inline void DropIndexRequest::set_index_name(const std::string& value) {
index_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:milvus.proto.milvus.DropIndexRequest.index_name)
}
inline void DropIndexRequest::set_index_name(std::string&& value) {
index_name_.SetNoArena(
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.DropIndexRequest.index_name)
}
inline void DropIndexRequest::set_index_name(const char* value) {
GOOGLE_DCHECK(value != nullptr);
index_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.DropIndexRequest.index_name)
}
inline void DropIndexRequest::set_index_name(const char* value, size_t size) {
index_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.DropIndexRequest.index_name)
}
inline std::string* DropIndexRequest::mutable_index_name() {
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.DropIndexRequest.index_name)
return index_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline std::string* DropIndexRequest::release_index_name() {
// @@protoc_insertion_point(field_release:milvus.proto.milvus.DropIndexRequest.index_name)
return index_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline void DropIndexRequest::set_allocated_index_name(std::string* index_name) {
if (index_name != nullptr) {
} else {
}
index_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), index_name);
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.DropIndexRequest.index_name)
}
// -------------------------------------------------------------------
// InsertRequest
// .milvus.proto.common.MsgBase base = 1;
@ -14627,6 +15070,8 @@ inline void RegisterLinkResponse::set_allocated_status(::milvus::proto::common::
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// @@protoc_insertion_point(namespace_scope)

View File

@ -134,11 +134,11 @@ ResetSearchResult(std::vector<std::vector<int64_t>>& search_records,
CStatus
ReduceQueryResults(CQueryResult* c_search_results, int64_t num_segments, bool* is_selected) {
std::vector<SearchResult*> search_results;
for (int i = 0; i < num_segments; ++i) {
search_results.push_back((SearchResult*)c_search_results[i]);
}
try {
std::vector<SearchResult*> search_results;
for (int i = 0; i < num_segments; ++i) {
search_results.push_back((SearchResult*)c_search_results[i]);
}
auto topk = search_results[0]->topK_;
auto num_queries = search_results[0]->num_queries_;
std::vector<std::vector<int64_t>> search_records(num_segments);

View File

@ -24,6 +24,20 @@ add_executable(all_tests
${MILVUS_TEST_FILES}
)
set(INDEX_BUILDER_TEST_FILES
test_index_wrapper.cpp)
add_executable(index_builder_test
${INDEX_BUILDER_TEST_FILES}
)
target_link_libraries(index_builder_test
gtest
gtest_main
milvus_segcore
milvus_indexbuilder
log
pthread
)
target_link_libraries(all_tests
gtest
gtest_main

View File

@ -70,7 +70,7 @@ func CreateQueryResult() (QueryResult, error) {
func (qs *CQueryResult) Delete() error {
fn := func() C.CStatus {
return C.DeleteQueryResult(qs.ptr)
return C.DeleteIndexQueryResult(qs.ptr)
}
return TryCatch(fn)
}

View File

@ -39,6 +39,7 @@ enum IndexState {
INPROGRESS = 2;
FINISHED = 3;
FAILED = 4;
DELETED = 5;
}
enum SegmentState {

View File

@ -84,6 +84,10 @@ message IndexMeta {
repeated string index_file_paths = 5;
}
message DropIndexRequest {
int64 indexBuildIDs = 1;
}
/****************IndexService************************/
service IndexService {
/**
@ -98,6 +102,7 @@ service IndexService {
rpc GetIndexStates(IndexStatesRequest) returns (IndexStatesResponse) {}
rpc GetIndexFilePaths(IndexFilePathsRequest) returns (IndexFilePathsResponse){}
rpc NotifyBuildIndex(BuildIndexNotification) returns (common.Status) {}
rpc DropIndex(DropIndexRequest) returns (common.Status) {}
rpc GetComponentStates(common.Empty) returns (internal.ComponentStates) {}
rpc GetTimeTickChannel(common.Empty) returns(milvus.StringResponse) {}

View File

@ -718,6 +718,45 @@ func (m *IndexMeta) GetIndexFilePaths() []string {
return nil
}
type DropIndexRequest struct {
IndexBuildIDs int64 `protobuf:"varint,1,opt,name=indexBuildIDs,proto3" json:"indexBuildIDs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DropIndexRequest) Reset() { *m = DropIndexRequest{} }
func (m *DropIndexRequest) String() string { return proto.CompactTextString(m) }
func (*DropIndexRequest) ProtoMessage() {}
func (*DropIndexRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_a5d2036b4df73e0a, []int{13}
}
func (m *DropIndexRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DropIndexRequest.Unmarshal(m, b)
}
func (m *DropIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DropIndexRequest.Marshal(b, m, deterministic)
}
func (m *DropIndexRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_DropIndexRequest.Merge(m, src)
}
func (m *DropIndexRequest) XXX_Size() int {
return xxx_messageInfo_DropIndexRequest.Size(m)
}
func (m *DropIndexRequest) XXX_DiscardUnknown() {
xxx_messageInfo_DropIndexRequest.DiscardUnknown(m)
}
var xxx_messageInfo_DropIndexRequest proto.InternalMessageInfo
func (m *DropIndexRequest) GetIndexBuildIDs() int64 {
if m != nil {
return m.IndexBuildIDs
}
return 0
}
func init() {
proto.RegisterType((*RegisterNodeRequest)(nil), "milvus.proto.index.RegisterNodeRequest")
proto.RegisterType((*RegisterNodeResponse)(nil), "milvus.proto.index.RegisterNodeResponse")
@ -732,68 +771,71 @@ func init() {
proto.RegisterType((*IndexFilePathInfo)(nil), "milvus.proto.index.IndexFilePathInfo")
proto.RegisterType((*IndexFilePathsResponse)(nil), "milvus.proto.index.IndexFilePathsResponse")
proto.RegisterType((*IndexMeta)(nil), "milvus.proto.index.IndexMeta")
proto.RegisterType((*DropIndexRequest)(nil), "milvus.proto.index.DropIndexRequest")
}
func init() { proto.RegisterFile("index_service.proto", fileDescriptor_a5d2036b4df73e0a) }
var fileDescriptor_a5d2036b4df73e0a = []byte{
// 891 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x56, 0x5f, 0x6f, 0x1b, 0x45,
0x10, 0xcf, 0xe5, 0x12, 0x57, 0x19, 0xbb, 0x51, 0xb3, 0x29, 0x91, 0x65, 0xa8, 0x9a, 0x1c, 0xb4,
0x35, 0x95, 0xb0, 0x91, 0xab, 0x82, 0x84, 0x84, 0x50, 0x13, 0x43, 0x64, 0xa1, 0x46, 0xd1, 0xb6,
0x02, 0x51, 0x09, 0x45, 0xeb, 0xbb, 0xb1, 0xbd, 0xe2, 0x6e, 0xef, 0x7a, 0xbb, 0xae, 0x70, 0x5f,
0x10, 0x9f, 0x80, 0x07, 0x10, 0x5f, 0x84, 0x07, 0xbe, 0x13, 0x3c, 0xf3, 0x8e, 0x6e, 0xf7, 0xce,
0xbe, 0xb3, 0xaf, 0xfe, 0xa3, 0x80, 0x78, 0xe1, 0xcd, 0x33, 0x37, 0x7f, 0x7f, 0xf3, 0x9b, 0x59,
0xc3, 0x21, 0x17, 0x1e, 0x7e, 0x7f, 0x25, 0x31, 0x7e, 0xc5, 0x5d, 0x6c, 0x45, 0x71, 0xa8, 0x42,
0x42, 0x02, 0xee, 0xbf, 0x1a, 0x4b, 0x23, 0xb5, 0xb4, 0x45, 0xa3, 0xe6, 0x86, 0x41, 0x10, 0x0a,
0xa3, 0x6b, 0xec, 0x73, 0xa1, 0x30, 0x16, 0xcc, 0x4f, 0xe5, 0x5a, 0xde, 0xc3, 0xf9, 0x01, 0x0e,
0x29, 0x0e, 0xb9, 0x54, 0x18, 0x5f, 0x84, 0x1e, 0x52, 0x7c, 0x39, 0x46, 0xa9, 0xc8, 0x87, 0xb0,
0xd3, 0x67, 0x12, 0xeb, 0xd6, 0xb1, 0xd5, 0xac, 0x76, 0xde, 0x69, 0x15, 0xb2, 0xa4, 0xe1, 0x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x73, 0x02, 0x91, 0xbb, 0x55, 0x71, 0x67, 0xf9, 0xb5, 0x2c, 0xe2,
0x0b, 0x20, 0xc7, 0xa8, 0x8e, 0xc2, 0x20, 0x0a, 0x05, 0x0a, 0x95, 0xce, 0xa1, 0x5d, 0xe9, 0xf4,
0x79, 0x10, 0xa9, 0xcb, 0xf9, 0xf9, 0xa6, 0xff, 0xa9, 0x66, 0x62, 0x38, 0x6b, 0xe4, 0x6b, 0x1d,
0xfb, 0x39, 0x0f, 0xf0, 0x39, 0x77, 0xbf, 0x3b, 0xba, 0x60, 0x42, 0xa0, 0xbf, 0x30, 0xf6, 0xbb,
0xe5, 0xb7, 0x54, 0x78, 0xa6, 0x62, 0x2e, 0xce, 0x0b, 0x28, 0x7f, 0x03, 0xb7, 0x8e, 0x51, 0xe7,
0xe1, 0x52, 0x71, 0x57, 0xfe, 0x73, 0xa1, 0xfb, 0x7f, 0xae, 0xa7, 0xf7, 0x48, 0x6f, 0xd5, 0x49,
0x69, 0x01, 0x0e, 0x16, 0x0f, 0xf2, 0x28, 0xf0, 0xfe, 0x47, 0xfb, 0x4a, 0xa1, 0x0f, 0x9f, 0xbc,
0xf8, 0xec, 0x9c, 0xab, 0x8b, 0xc9, 0x28, 0xf1, 0xee, 0xbd, 0xe6, 0xbe, 0xcf, 0x5f, 0x2b, 0x74,
0x2f, 0x7a, 0xc6, 0xe1, 0x7d, 0x8f, 0x4b, 0x15, 0xf3, 0xd1, 0x44, 0xa1, 0xd7, 0xcb, 0x5a, 0xef,
0xe9, 0x90, 0x3d, 0x8d, 0x7e, 0x34, 0x1a, 0xd5, 0xb4, 0xf8, 0xe8, 0xef, 0x00, 0x00, 0x00, 0xff,
0xff, 0x39, 0xbd, 0x59, 0x7a, 0x24, 0x0d, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
@ -819,6 +861,7 @@ type IndexServiceClient interface {
GetIndexStates(ctx context.Context, in *IndexStatesRequest, opts ...grpc.CallOption) (*IndexStatesResponse, error)
GetIndexFilePaths(ctx context.Context, in *IndexFilePathsRequest, opts ...grpc.CallOption) (*IndexFilePathsResponse, error)
NotifyBuildIndex(ctx context.Context, in *BuildIndexNotification, opts ...grpc.CallOption) (*commonpb.Status, error)
DropIndex(ctx context.Context, in *DropIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
GetComponentStates(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*internalpb2.ComponentStates, error)
GetTimeTickChannel(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*milvuspb.StringResponse, error)
GetStatisticsChannel(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*milvuspb.StringResponse, error)
@ -877,6 +920,15 @@ func (c *indexServiceClient) NotifyBuildIndex(ctx context.Context, in *BuildInde
return out, nil
}
func (c *indexServiceClient) DropIndex(ctx context.Context, in *DropIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
out := new(commonpb.Status)
err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexService/DropIndex", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *indexServiceClient) GetComponentStates(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*internalpb2.ComponentStates, error) {
out := new(internalpb2.ComponentStates)
err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexService/GetComponentStates", in, out, opts...)
@ -917,6 +969,7 @@ type IndexServiceServer interface {
GetIndexStates(context.Context, *IndexStatesRequest) (*IndexStatesResponse, error)
GetIndexFilePaths(context.Context, *IndexFilePathsRequest) (*IndexFilePathsResponse, error)
NotifyBuildIndex(context.Context, *BuildIndexNotification) (*commonpb.Status, error)
DropIndex(context.Context, *DropIndexRequest) (*commonpb.Status, error)
GetComponentStates(context.Context, *commonpb.Empty) (*internalpb2.ComponentStates, error)
GetTimeTickChannel(context.Context, *commonpb.Empty) (*milvuspb.StringResponse, error)
GetStatisticsChannel(context.Context, *commonpb.Empty) (*milvuspb.StringResponse, error)
@ -941,6 +994,9 @@ func (*UnimplementedIndexServiceServer) GetIndexFilePaths(ctx context.Context, r
func (*UnimplementedIndexServiceServer) NotifyBuildIndex(ctx context.Context, req *BuildIndexNotification) (*commonpb.Status, error) {
return nil, status.Errorf(codes.Unimplemented, "method NotifyBuildIndex not implemented")
}
func (*UnimplementedIndexServiceServer) DropIndex(ctx context.Context, req *DropIndexRequest) (*commonpb.Status, error) {
return nil, status.Errorf(codes.Unimplemented, "method DropIndex not implemented")
}
func (*UnimplementedIndexServiceServer) GetComponentStates(ctx context.Context, req *commonpb.Empty) (*internalpb2.ComponentStates, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetComponentStates not implemented")
}
@ -1045,6 +1101,24 @@ func _IndexService_NotifyBuildIndex_Handler(srv interface{}, ctx context.Context
return interceptor(ctx, in, info, handler)
}
func _IndexService_DropIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(DropIndexRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(IndexServiceServer).DropIndex(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/milvus.proto.index.IndexService/DropIndex",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(IndexServiceServer).DropIndex(ctx, req.(*DropIndexRequest))
}
return interceptor(ctx, in, info, handler)
}
func _IndexService_GetComponentStates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(commonpb.Empty)
if err := dec(in); err != nil {
@ -1123,6 +1197,10 @@ var _IndexService_serviceDesc = grpc.ServiceDesc{
MethodName: "NotifyBuildIndex",
Handler: _IndexService_NotifyBuildIndex_Handler,
},
{
MethodName: "DropIndex",
Handler: _IndexService_DropIndex_Handler,
},
{
MethodName: "GetComponentStates",
Handler: _IndexService_GetComponentStates_Handler,

View File

@ -108,6 +108,7 @@ service MasterService {
rpc CreateIndex(milvus.CreateIndexRequest) returns (common.Status) {}
rpc DescribeIndex(milvus.DescribeIndexRequest) returns (milvus.DescribeIndexResponse) {}
rpc DropIndex(milvus.DropIndexRequest) returns (common.Status) {}
rpc AllocTimestamp(TsoRequest) returns (TsoResponse) {}
rpc AllocID(IDRequest) returns (IDResponse) {}

View File

@ -241,49 +241,50 @@ func init() {
func init() { proto.RegisterFile("master.proto", fileDescriptor_f9c348dec43a6705) }
var fileDescriptor_f9c348dec43a6705 = []byte{
// 662 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x95, 0xe9, 0x6e, 0xd3, 0x4c,
0x14, 0x86, 0xbb, 0x7d, 0xfd, 0xd4, 0xd3, 0x2c, 0x68, 0x00, 0x51, 0x99, 0x8a, 0x96, 0x20, 0x41,
0xba, 0x90, 0xa0, 0xf6, 0x06, 0x20, 0x31, 0x6a, 0x23, 0x51, 0xa9, 0x72, 0xc2, 0x0f, 0x0a, 0x55,
0xe5, 0x38, 0x47, 0xc9, 0x08, 0x7b, 0xc6, 0x78, 0xc6, 0x2d, 0xf4, 0xf6, 0xb8, 0x31, 0xe4, 0xf1,
0x9e, 0xda, 0xad, 0x11, 0xf9, 0x39, 0x3e, 0xef, 0x3c, 0xef, 0xd9, 0x92, 0x81, 0x9a, 0x63, 0x0a,
0x89, 0x5e, 0xc7, 0xf5, 0xb8, 0xe4, 0xe4, 0xb1, 0x43, 0xed, 0x6b, 0x5f, 0x84, 0xa7, 0x4e, 0x18,
0xd2, 0x6a, 0x16, 0x77, 0x1c, 0xce, 0xc2, 0x8f, 0x5a, 0x2d, 0x2b, 0xd1, 0x1a, 0x94, 0x49, 0xf4,
0x98, 0x69, 0x87, 0xe7, 0xd6, 0x10, 0x36, 0x06, 0xba, 0x81, 0x3f, 0x7c, 0x14, 0x92, 0xbc, 0x83,
0xb5, 0xb1, 0x29, 0x70, 0x6b, 0x79, 0x77, 0xb9, 0xbd, 0x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, 0x81, 0x1e, 0x75, 0x7e, 0xb4, 0x47, 0x36, 0x63, 0xe8, 0xde, 0x87, 0x7f, 0x95,
0xbd, 0x78, 0x32, 0xa0, 0x6c, 0x98, 0x48, 0xbd, 0x07, 0xd5, 0x23, 0x94, 0xe6, 0x60, 0xbe, 0xd4,
0xef, 0xf0, 0xec, 0x08, 0x55, 0x01, 0x54, 0x48, 0xea, 0x88, 0xb9, 0xd2, 0x5b, 0xad, 0xf3, 0x0f,
0x43, 0x2a, 0x47, 0xe3, 0x7e, 0x78, 0xbb, 0x79, 0x43, 0x5d, 0x97, 0xde, 0x48, 0x74, 0x46, 0xcd,
0xe8, 0xc2, 0xbb, 0x01, 0x15, 0x32, 0xa0, 0xfd, 0xb1, 0xc4, 0x41, 0x33, 0x6e, 0x6b, 0x53, 0x21,
0x9b, 0xd1, 0xf4, 0xfc, 0x7e, 0x7f, 0x55, 0x9d, 0x0f, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x03,
0xc7, 0x66, 0xf5, 0xc0, 0x09, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
@ -357,6 +358,7 @@ type MasterServiceClient interface {
ShowSegments(ctx context.Context, in *milvuspb.ShowSegmentRequest, opts ...grpc.CallOption) (*milvuspb.ShowSegmentResponse, error)
CreateIndex(ctx context.Context, in *milvuspb.CreateIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
DescribeIndex(ctx context.Context, in *milvuspb.DescribeIndexRequest, opts ...grpc.CallOption) (*milvuspb.DescribeIndexResponse, error)
DropIndex(ctx context.Context, in *milvuspb.DropIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
AllocTimestamp(ctx context.Context, in *TsoRequest, opts ...grpc.CallOption) (*TsoResponse, error)
AllocID(ctx context.Context, in *IDRequest, opts ...grpc.CallOption) (*IDResponse, error)
GetComponentStatesRPC(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*internalpb2.ComponentStates, error)
@ -490,6 +492,15 @@ func (c *masterServiceClient) DescribeIndex(ctx context.Context, in *milvuspb.De
return out, nil
}
func (c *masterServiceClient) DropIndex(ctx context.Context, in *milvuspb.DropIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
out := new(commonpb.Status)
err := c.cc.Invoke(ctx, "/milvus.proto.master.MasterService/DropIndex", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *masterServiceClient) AllocTimestamp(ctx context.Context, in *TsoRequest, opts ...grpc.CallOption) (*TsoResponse, error) {
out := new(TsoResponse)
err := c.cc.Invoke(ctx, "/milvus.proto.master.MasterService/AllocTimestamp", in, out, opts...)
@ -605,6 +616,7 @@ type MasterServiceServer interface {
ShowSegments(context.Context, *milvuspb.ShowSegmentRequest) (*milvuspb.ShowSegmentResponse, error)
CreateIndex(context.Context, *milvuspb.CreateIndexRequest) (*commonpb.Status, error)
DescribeIndex(context.Context, *milvuspb.DescribeIndexRequest) (*milvuspb.DescribeIndexResponse, error)
DropIndex(context.Context, *milvuspb.DropIndexRequest) (*commonpb.Status, error)
AllocTimestamp(context.Context, *TsoRequest) (*TsoResponse, error)
AllocID(context.Context, *IDRequest) (*IDResponse, error)
GetComponentStatesRPC(context.Context, *commonpb.Empty) (*internalpb2.ComponentStates, error)
@ -656,6 +668,9 @@ func (*UnimplementedMasterServiceServer) CreateIndex(ctx context.Context, req *m
func (*UnimplementedMasterServiceServer) DescribeIndex(ctx context.Context, req *milvuspb.DescribeIndexRequest) (*milvuspb.DescribeIndexResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method DescribeIndex not implemented")
}
func (*UnimplementedMasterServiceServer) DropIndex(ctx context.Context, req *milvuspb.DropIndexRequest) (*commonpb.Status, error) {
return nil, status.Errorf(codes.Unimplemented, "method DropIndex not implemented")
}
func (*UnimplementedMasterServiceServer) AllocTimestamp(ctx context.Context, req *TsoRequest) (*TsoResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method AllocTimestamp not implemented")
}
@ -913,6 +928,24 @@ func _MasterService_DescribeIndex_Handler(srv interface{}, ctx context.Context,
return interceptor(ctx, in, info, handler)
}
func _MasterService_DropIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(milvuspb.DropIndexRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MasterServiceServer).DropIndex(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/milvus.proto.master.MasterService/DropIndex",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MasterServiceServer).DropIndex(ctx, req.(*milvuspb.DropIndexRequest))
}
return interceptor(ctx, in, info, handler)
}
func _MasterService_AllocTimestamp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(TsoRequest)
if err := dec(in); err != nil {
@ -1077,6 +1110,10 @@ var _MasterService_serviceDesc = grpc.ServiceDesc{
MethodName: "DescribeIndex",
Handler: _MasterService_DescribeIndex_Handler,
},
{
MethodName: "DropIndex",
Handler: _MasterService_DropIndex_Handler,
},
{
MethodName: "AllocTimestamp",
Handler: _MasterService_AllocTimestamp_Handler,

View File

@ -208,6 +208,14 @@ message IndexStateResponse {
common.IndexState state = 2;
}
message DropIndexRequest {
common.MsgBase base = 1;
string db_name = 2;
string collection_name = 3;
string field_name = 4;
string index_name = 5;
}
message InsertRequest {
common.MsgBase base = 1;
string db_name = 2;
@ -333,6 +341,7 @@ service MilvusService {
rpc CreateIndex(CreateIndexRequest) returns (common.Status) {}
rpc DescribeIndex(DescribeIndexRequest) returns (DescribeIndexResponse) {}
rpc GetIndexState(IndexStateRequest) returns (IndexStateResponse) {}
rpc DropIndex(DropIndexRequest) returns (common.Status) {}
rpc Insert(InsertRequest) returns (InsertResponse) {}
rpc Search(SearchRequest) returns (SearchResults) {}

View File

@ -1855,6 +1855,77 @@ func (m *IndexStateResponse) GetState() commonpb.IndexState {
return commonpb.IndexState_NONE
}
type DropIndexRequest struct {
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
FieldName string `protobuf:"bytes,4,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
IndexName string `protobuf:"bytes,5,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DropIndexRequest) Reset() { *m = DropIndexRequest{} }
func (m *DropIndexRequest) String() string { return proto.CompactTextString(m) }
func (*DropIndexRequest) ProtoMessage() {}
func (*DropIndexRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{32}
}
func (m *DropIndexRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DropIndexRequest.Unmarshal(m, b)
}
func (m *DropIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DropIndexRequest.Marshal(b, m, deterministic)
}
func (m *DropIndexRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_DropIndexRequest.Merge(m, src)
}
func (m *DropIndexRequest) XXX_Size() int {
return xxx_messageInfo_DropIndexRequest.Size(m)
}
func (m *DropIndexRequest) XXX_DiscardUnknown() {
xxx_messageInfo_DropIndexRequest.DiscardUnknown(m)
}
var xxx_messageInfo_DropIndexRequest proto.InternalMessageInfo
func (m *DropIndexRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
return nil
}
func (m *DropIndexRequest) GetDbName() string {
if m != nil {
return m.DbName
}
return ""
}
func (m *DropIndexRequest) GetCollectionName() string {
if m != nil {
return m.CollectionName
}
return ""
}
func (m *DropIndexRequest) GetFieldName() string {
if m != nil {
return m.FieldName
}
return ""
}
func (m *DropIndexRequest) GetIndexName() string {
if m != nil {
return m.IndexName
}
return ""
}
type InsertRequest struct {
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
@ -1871,7 +1942,7 @@ func (m *InsertRequest) Reset() { *m = InsertRequest{} }
func (m *InsertRequest) String() string { return proto.CompactTextString(m) }
func (*InsertRequest) ProtoMessage() {}
func (*InsertRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{32}
return fileDescriptor_02345ba45cc0e303, []int{33}
}
func (m *InsertRequest) XXX_Unmarshal(b []byte) error {
@ -1947,7 +2018,7 @@ func (m *InsertResponse) Reset() { *m = InsertResponse{} }
func (m *InsertResponse) String() string { return proto.CompactTextString(m) }
func (*InsertResponse) ProtoMessage() {}
func (*InsertResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{33}
return fileDescriptor_02345ba45cc0e303, []int{34}
}
func (m *InsertResponse) XXX_Unmarshal(b []byte) error {
@ -2003,7 +2074,7 @@ func (m *PlaceholderValue) Reset() { *m = PlaceholderValue{} }
func (m *PlaceholderValue) String() string { return proto.CompactTextString(m) }
func (*PlaceholderValue) ProtoMessage() {}
func (*PlaceholderValue) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{34}
return fileDescriptor_02345ba45cc0e303, []int{35}
}
func (m *PlaceholderValue) XXX_Unmarshal(b []byte) error {
@ -2056,7 +2127,7 @@ func (m *PlaceholderGroup) Reset() { *m = PlaceholderGroup{} }
func (m *PlaceholderGroup) String() string { return proto.CompactTextString(m) }
func (*PlaceholderGroup) ProtoMessage() {}
func (*PlaceholderGroup) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{35}
return fileDescriptor_02345ba45cc0e303, []int{36}
}
func (m *PlaceholderGroup) XXX_Unmarshal(b []byte) error {
@ -2101,7 +2172,7 @@ func (m *SearchRequest) Reset() { *m = SearchRequest{} }
func (m *SearchRequest) String() string { return proto.CompactTextString(m) }
func (*SearchRequest) ProtoMessage() {}
func (*SearchRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{36}
return fileDescriptor_02345ba45cc0e303, []int{37}
}
func (m *SearchRequest) XXX_Unmarshal(b []byte) error {
@ -2177,7 +2248,7 @@ func (m *Hits) Reset() { *m = Hits{} }
func (m *Hits) String() string { return proto.CompactTextString(m) }
func (*Hits) ProtoMessage() {}
func (*Hits) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{37}
return fileDescriptor_02345ba45cc0e303, []int{38}
}
func (m *Hits) XXX_Unmarshal(b []byte) error {
@ -2231,7 +2302,7 @@ func (m *SearchResults) Reset() { *m = SearchResults{} }
func (m *SearchResults) String() string { return proto.CompactTextString(m) }
func (*SearchResults) ProtoMessage() {}
func (*SearchResults) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{38}
return fileDescriptor_02345ba45cc0e303, []int{39}
}
func (m *SearchResults) XXX_Unmarshal(b []byte) error {
@ -2279,7 +2350,7 @@ func (m *FlushRequest) Reset() { *m = FlushRequest{} }
func (m *FlushRequest) String() string { return proto.CompactTextString(m) }
func (*FlushRequest) ProtoMessage() {}
func (*FlushRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{39}
return fileDescriptor_02345ba45cc0e303, []int{40}
}
func (m *FlushRequest) XXX_Unmarshal(b []byte) error {
@ -2340,7 +2411,7 @@ func (m *PersistentSegmentInfo) Reset() { *m = PersistentSegmentInfo{} }
func (m *PersistentSegmentInfo) String() string { return proto.CompactTextString(m) }
func (*PersistentSegmentInfo) ProtoMessage() {}
func (*PersistentSegmentInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{40}
return fileDescriptor_02345ba45cc0e303, []int{41}
}
func (m *PersistentSegmentInfo) XXX_Unmarshal(b []byte) error {
@ -2437,7 +2508,7 @@ func (m *PersistentSegmentInfoRequest) Reset() { *m = PersistentSegmentI
func (m *PersistentSegmentInfoRequest) String() string { return proto.CompactTextString(m) }
func (*PersistentSegmentInfoRequest) ProtoMessage() {}
func (*PersistentSegmentInfoRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{41}
return fileDescriptor_02345ba45cc0e303, []int{42}
}
func (m *PersistentSegmentInfoRequest) XXX_Unmarshal(b []byte) error {
@ -2491,7 +2562,7 @@ func (m *PersistentSegmentInfoResponse) Reset() { *m = PersistentSegment
func (m *PersistentSegmentInfoResponse) String() string { return proto.CompactTextString(m) }
func (*PersistentSegmentInfoResponse) ProtoMessage() {}
func (*PersistentSegmentInfoResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{42}
return fileDescriptor_02345ba45cc0e303, []int{43}
}
func (m *PersistentSegmentInfoResponse) XXX_Unmarshal(b []byte) error {
@ -2543,7 +2614,7 @@ func (m *QuerySegmentInfo) Reset() { *m = QuerySegmentInfo{} }
func (m *QuerySegmentInfo) String() string { return proto.CompactTextString(m) }
func (*QuerySegmentInfo) ProtoMessage() {}
func (*QuerySegmentInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{43}
return fileDescriptor_02345ba45cc0e303, []int{44}
}
func (m *QuerySegmentInfo) XXX_Unmarshal(b []byte) error {
@ -2626,7 +2697,7 @@ func (m *QuerySegmentInfoRequest) Reset() { *m = QuerySegmentInfoRequest
func (m *QuerySegmentInfoRequest) String() string { return proto.CompactTextString(m) }
func (*QuerySegmentInfoRequest) ProtoMessage() {}
func (*QuerySegmentInfoRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{44}
return fileDescriptor_02345ba45cc0e303, []int{45}
}
func (m *QuerySegmentInfoRequest) XXX_Unmarshal(b []byte) error {
@ -2680,7 +2751,7 @@ func (m *QuerySegmentInfoResponse) Reset() { *m = QuerySegmentInfoRespon
func (m *QuerySegmentInfoResponse) String() string { return proto.CompactTextString(m) }
func (*QuerySegmentInfoResponse) ProtoMessage() {}
func (*QuerySegmentInfoResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{45}
return fileDescriptor_02345ba45cc0e303, []int{46}
}
func (m *QuerySegmentInfoResponse) XXX_Unmarshal(b []byte) error {
@ -2727,7 +2798,7 @@ func (m *RegisterLinkResponse) Reset() { *m = RegisterLinkResponse{} }
func (m *RegisterLinkResponse) String() string { return proto.CompactTextString(m) }
func (*RegisterLinkResponse) ProtoMessage() {}
func (*RegisterLinkResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{46}
return fileDescriptor_02345ba45cc0e303, []int{47}
}
func (m *RegisterLinkResponse) XXX_Unmarshal(b []byte) error {
@ -2796,6 +2867,7 @@ func init() {
proto.RegisterType((*DescribeIndexResponse)(nil), "milvus.proto.milvus.DescribeIndexResponse")
proto.RegisterType((*IndexStateRequest)(nil), "milvus.proto.milvus.IndexStateRequest")
proto.RegisterType((*IndexStateResponse)(nil), "milvus.proto.milvus.IndexStateResponse")
proto.RegisterType((*DropIndexRequest)(nil), "milvus.proto.milvus.DropIndexRequest")
proto.RegisterType((*InsertRequest)(nil), "milvus.proto.milvus.InsertRequest")
proto.RegisterType((*InsertResponse)(nil), "milvus.proto.milvus.InsertResponse")
proto.RegisterType((*PlaceholderValue)(nil), "milvus.proto.milvus.PlaceholderValue")
@ -2816,130 +2888,132 @@ func init() {
func init() { proto.RegisterFile("milvus.proto", fileDescriptor_02345ba45cc0e303) }
var fileDescriptor_02345ba45cc0e303 = []byte{
// 1964 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x5a, 0xed, 0x6f, 0x1b, 0x49,
0x19, 0xcf, 0xd8, 0x8e, 0x93, 0x3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, 0x25, 0x81, 0xc1, 0xd6, 0xd7, 0xc7, 0xe4, 0xee,
0xed, 0xba, 0xdb, 0x04, 0xed, 0xd0, 0xf7, 0x9e, 0x9e, 0xf6, 0x72, 0xad, 0x1f, 0x80, 0x16, 0x4d,
0x22, 0x87, 0xaa, 0xf7, 0x72, 0xca, 0x81, 0x36, 0x98, 0x83, 0xea, 0x33, 0x7b, 0x7b, 0x3f, 0xba,
0xd9, 0xb4, 0x59, 0xab, 0x5b, 0xe7, 0x6b, 0xec, 0x3c, 0xb3, 0x1d, 0xc7, 0x7e, 0xc6, 0x48, 0xa3,
0xb5, 0x23, 0xa7, 0x5d, 0xb7, 0x6c, 0xca, 0x7c, 0xbb, 0xde, 0x65, 0xc4, 0xda, 0xb1, 0x5d, 0x46,
0x7c, 0xd7, 0x74, 0x76, 0xc4, 0xc2, 0x01, 0x47, 0xa7, 0x5e, 0xcf, 0x8b, 0xf1, 0x3b, 0xff, 0x0f,
0x00, 0x00, 0xff, 0xff, 0x1b, 0x5d, 0xdb, 0x5d, 0x55, 0x27, 0x00, 0x00,
// 1990 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x5a, 0xdd, 0x8f, 0x1b, 0x49,
0x11, 0xdf, 0xb6, 0xbd, 0xde, 0xdd, 0xda, 0xf1, 0xae, 0xb7, 0xf7, 0xcb, 0xf1, 0x25, 0xdc, 0x66,
0x20, 0x97, 0xcd, 0xe7, 0xc2, 0x1e, 0x9f, 0x42, 0x48, 0xc9, 0x66, 0x73, 0x1b, 0x2b, 0xb9, 0x64,
0x33, 0x5e, 0x0e, 0xc2, 0x29, 0x32, 0x63, 0x4f, 0xc7, 0x1e, 0x6e, 0x3c, 0x63, 0xa6, 0xdb, 0xbb,
0xd9, 0x3c, 0x21, 0x82, 0x40, 0xe2, 0x4e, 0xc0, 0x13, 0x12, 0xaf, 0x48, 0xbc, 0x22, 0x38, 0x10,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f, 0x6b, 0xf5, 0xa9, 0x9d, 0x9d, 0x1f, 0xdc, 0x6a, 0xda, 0xac, 0xd5, 0xad, 0xf3,
0x35, 0xb6, 0x5e, 0xd8, 0x8e, 0x63, 0xbf, 0x60, 0xa4, 0xd1, 0xda, 0x92, 0xd3, 0x6e, 0x58, 0x36,
0x65, 0xbe, 0x5d, 0xef, 0x32, 0x62, 0x6d, 0xd9, 0x2e, 0x23, 0xbe, 0x6b, 0x3a, 0x5b, 0x62, 0xe1,
0x80, 0xa3, 0x53, 0xaf, 0xe7, 0xc5, 0xf8, 0xed, 0x4f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xb4, 0x94,
0x75, 0x4c, 0x6f, 0x28, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
@ -2972,6 +3046,7 @@ type MilvusServiceClient interface {
CreateIndex(ctx context.Context, in *CreateIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
DescribeIndex(ctx context.Context, in *DescribeIndexRequest, opts ...grpc.CallOption) (*DescribeIndexResponse, error)
GetIndexState(ctx context.Context, in *IndexStateRequest, opts ...grpc.CallOption) (*IndexStateResponse, error)
DropIndex(ctx context.Context, in *DropIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
Insert(ctx context.Context, in *InsertRequest, opts ...grpc.CallOption) (*InsertResponse, error)
Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResults, error)
Flush(ctx context.Context, in *FlushRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
@ -3150,6 +3225,15 @@ func (c *milvusServiceClient) GetIndexState(ctx context.Context, in *IndexStateR
return out, nil
}
func (c *milvusServiceClient) DropIndex(ctx context.Context, in *DropIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
out := new(commonpb.Status)
err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/DropIndex", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *milvusServiceClient) Insert(ctx context.Context, in *InsertRequest, opts ...grpc.CallOption) (*InsertResponse, error) {
out := new(InsertResponse)
err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/Insert", in, out, opts...)
@ -3224,6 +3308,7 @@ type MilvusServiceServer interface {
CreateIndex(context.Context, *CreateIndexRequest) (*commonpb.Status, error)
DescribeIndex(context.Context, *DescribeIndexRequest) (*DescribeIndexResponse, error)
GetIndexState(context.Context, *IndexStateRequest) (*IndexStateResponse, error)
DropIndex(context.Context, *DropIndexRequest) (*commonpb.Status, error)
Insert(context.Context, *InsertRequest) (*InsertResponse, error)
Search(context.Context, *SearchRequest) (*SearchResults, error)
Flush(context.Context, *FlushRequest) (*commonpb.Status, error)
@ -3290,6 +3375,9 @@ func (*UnimplementedMilvusServiceServer) DescribeIndex(ctx context.Context, req
func (*UnimplementedMilvusServiceServer) GetIndexState(ctx context.Context, req *IndexStateRequest) (*IndexStateResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetIndexState not implemented")
}
func (*UnimplementedMilvusServiceServer) DropIndex(ctx context.Context, req *DropIndexRequest) (*commonpb.Status, error) {
return nil, status.Errorf(codes.Unimplemented, "method DropIndex not implemented")
}
func (*UnimplementedMilvusServiceServer) Insert(ctx context.Context, req *InsertRequest) (*InsertResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented")
}
@ -3637,6 +3725,24 @@ func _MilvusService_GetIndexState_Handler(srv interface{}, ctx context.Context,
return interceptor(ctx, in, info, handler)
}
func _MilvusService_DropIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(DropIndexRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MilvusServiceServer).DropIndex(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/milvus.proto.milvus.MilvusService/DropIndex",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MilvusServiceServer).DropIndex(ctx, req.(*DropIndexRequest))
}
return interceptor(ctx, in, info, handler)
}
func _MilvusService_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(InsertRequest)
if err := dec(in); err != nil {
@ -3821,6 +3927,10 @@ var _MilvusService_serviceDesc = grpc.ServiceDesc{
MethodName: "GetIndexState",
Handler: _MilvusService_GetIndexState_Handler,
},
{
MethodName: "DropIndex",
Handler: _MilvusService_DropIndex_Handler,
},
{
MethodName: "Insert",
Handler: _MilvusService_Insert_Handler,

View File

@ -207,6 +207,9 @@ func (colReplica *collectionReplicaImpl) getFieldIDsByCollectionID(collectionID
targetFields = append(targetFields, field.FieldID)
}
// add row id field
targetFields = append(targetFields, rowIDFieldID)
return targetFields, nil
}

View File

@ -10,7 +10,7 @@ import (
"github.com/zilliztech/milvus-distributed/internal/msgstream"
)
const indexCheckInterval = 3
const loadingCheckInterval = 3
type loadService struct {
ctx context.Context
@ -26,7 +26,7 @@ func (s *loadService) start() {
select {
case <-s.ctx.Done():
return
case <-time.After(indexCheckInterval * time.Second):
case <-time.After(loadingCheckInterval * time.Second):
wg.Add(2)
go s.segLoader.indexLoader.doLoadIndex(wg)
go s.loadSegmentActively(wg)

View File

@ -12,6 +12,7 @@ package querynode
*/
import "C"
import (
"fmt"
"log"
"strconv"
"sync"
@ -211,9 +212,9 @@ func (s *Segment) segmentSearch(plan *Plan,
var cTimestamp = (*C.ulong)(&timestamp[0])
var cPlaceHolder = (*C.CPlaceholderGroup)(&cPlaceholderGroups[0])
var cNumGroups = C.int(len(placeHolderGroups))
var cQueryResult = (*C.CQueryResult)(&searchResult.cQueryResult)
var status = C.Search(s.segmentPtr, plan.cPlan, cPlaceHolder, cTimestamp, cNumGroups, cQueryResult)
fmt.Println("do search on segment, ", s.segmentID, ", segType = ", s.segmentType)
var status = C.Search(s.segmentPtr, plan.cPlan, cPlaceHolder, cTimestamp, cNumGroups, &searchResult.cQueryResult)
errorCode := status.error_code
if errorCode != 0 {

View File

@ -354,9 +354,42 @@ func TestSegment_segmentSearch(t *testing.T) {
placeholderGroups := make([]*PlaceholderGroup, 0)
placeholderGroups = append(placeholderGroups, holder)
_, err = segment.segmentSearch(plan, placeholderGroups, []Timestamp{searchTimestamp})
searchResults := make([]*SearchResult, 0)
matchedSegments := make([]*Segment, 0)
searchResult, err := segment.segmentSearch(plan, placeholderGroups, []Timestamp{searchTimestamp})
assert.Nil(t, err)
searchResults = append(searchResults, searchResult)
matchedSegments = append(matchedSegments, segment)
///////////////////////////////////
inReduced := make([]bool, len(searchResults))
numSegment := int64(len(searchResults))
err2 := reduceSearchResults(searchResults, numSegment, inReduced)
assert.NoError(t, err2)
err = fillTargetEntry(plan, searchResults, matchedSegments, inReduced)
assert.NoError(t, err)
marshaledHits, err := reorganizeQueryResults(plan, placeholderGroups, searchResults, numSegment, inReduced)
assert.NoError(t, err)
hitsBlob, err := marshaledHits.getHitsBlob()
assert.NoError(t, err)
var placeHolderOffset int64 = 0
for index := range placeholderGroups {
hitBlobSizePeerQuery, err := marshaledHits.hitBlobSizeInGroup(int64(index))
assert.NoError(t, err)
hits := make([][]byte, 0)
for _, len := range hitBlobSizePeerQuery {
hits = append(hits, hitsBlob[placeHolderOffset:placeHolderOffset+len])
placeHolderOffset += len
}
}
deleteSearchResults(searchResults)
deleteMarshaledHits(marshaledHits)
///////////////////////////////////
plan.delete()
holder.delete()
deleteSegment(segment)