提交 b582cf7b 编写于 作者: C cai.zhang 提交者: yefu.chen

Add the interface of index in proto

Signed-off-by: Ncai.zhang <cai.zhang@zilliz.com>
上级 d023c1af
......@@ -88,6 +88,14 @@ class QueryResultDefaultTypeInternal {
public:
::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<QueryResult> _instance;
} _QueryResult_default_instance_;
class IndexParamDefaultTypeInternal {
public:
::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<IndexParam> _instance;
} _IndexParam_default_instance_;
class DescribeIndexResponseDefaultTypeInternal {
public:
::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<DescribeIndexResponse> _instance;
} _DescribeIndexResponse_default_instance_;
} // namespace service
} // namespace proto
} // namespace milvus
......@@ -137,6 +145,22 @@ static void InitDefaultsscc_info_CollectionName_service_5fmsg_2eproto() {
::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_CollectionName_service_5fmsg_2eproto =
{{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsscc_info_CollectionName_service_5fmsg_2eproto}, {}};
static void InitDefaultsscc_info_DescribeIndexResponse_service_5fmsg_2eproto() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
{
void* ptr = &::milvus::proto::service::_DescribeIndexResponse_default_instance_;
new (ptr) ::milvus::proto::service::DescribeIndexResponse();
::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
}
::milvus::proto::service::DescribeIndexResponse::InitAsDefaultInstance();
}
::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_DescribeIndexResponse_service_5fmsg_2eproto =
{{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsscc_info_DescribeIndexResponse_service_5fmsg_2eproto}, {
&scc_info_Status_common_2eproto.base,
&scc_info_KeyValuePair_common_2eproto.base,}};
static void InitDefaultsscc_info_Hits_service_5fmsg_2eproto() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
......@@ -151,6 +175,21 @@ static void InitDefaultsscc_info_Hits_service_5fmsg_2eproto() {
::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Hits_service_5fmsg_2eproto =
{{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsscc_info_Hits_service_5fmsg_2eproto}, {}};
static void InitDefaultsscc_info_IndexParam_service_5fmsg_2eproto() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
{
void* ptr = &::milvus::proto::service::_IndexParam_default_instance_;
new (ptr) ::milvus::proto::service::IndexParam();
::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
}
::milvus::proto::service::IndexParam::InitAsDefaultInstance();
}
::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_IndexParam_service_5fmsg_2eproto =
{{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsscc_info_IndexParam_service_5fmsg_2eproto}, {
&scc_info_KeyValuePair_common_2eproto.base,}};
static void InitDefaultsscc_info_IntegerListResponse_service_5fmsg_2eproto() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
......@@ -330,7 +369,7 @@ static void InitDefaultsscc_info_SysConfigResponse_service_5fmsg_2eproto() {
{{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsscc_info_SysConfigResponse_service_5fmsg_2eproto}, {
&scc_info_Status_common_2eproto.base,}};
static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_service_5fmsg_2eproto[16];
static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_service_5fmsg_2eproto[18];
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* file_level_enum_descriptors_service_5fmsg_2eproto[1];
static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_service_5fmsg_2eproto = nullptr;
......@@ -455,6 +494,25 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_service_5fmsg_2eproto::offsets
~0u, // no _weak_field_map_
PROTOBUF_FIELD_OFFSET(::milvus::proto::service::QueryResult, status_),
PROTOBUF_FIELD_OFFSET(::milvus::proto::service::QueryResult, hits_),
~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::milvus::proto::service::IndexParam, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
PROTOBUF_FIELD_OFFSET(::milvus::proto::service::IndexParam, collection_name_),
PROTOBUF_FIELD_OFFSET(::milvus::proto::service::IndexParam, field_name_),
PROTOBUF_FIELD_OFFSET(::milvus::proto::service::IndexParam, index_name_),
PROTOBUF_FIELD_OFFSET(::milvus::proto::service::IndexParam, extra_params_),
~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::milvus::proto::service::DescribeIndexResponse, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
PROTOBUF_FIELD_OFFSET(::milvus::proto::service::DescribeIndexResponse, status_),
PROTOBUF_FIELD_OFFSET(::milvus::proto::service::DescribeIndexResponse, collection_name_),
PROTOBUF_FIELD_OFFSET(::milvus::proto::service::DescribeIndexResponse, field_name_),
PROTOBUF_FIELD_OFFSET(::milvus::proto::service::DescribeIndexResponse, index_name_),
PROTOBUF_FIELD_OFFSET(::milvus::proto::service::DescribeIndexResponse, extra_params_),
};
static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
{ 0, -1, sizeof(::milvus::proto::service::CollectionName)},
......@@ -473,6 +531,8 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOB
{ 97, -1, sizeof(::milvus::proto::service::SysConfigResponse)},
{ 105, -1, sizeof(::milvus::proto::service::Hits)},
{ 113, -1, sizeof(::milvus::proto::service::QueryResult)},
{ 120, -1, sizeof(::milvus::proto::service::IndexParam)},
{ 129, -1, sizeof(::milvus::proto::service::DescribeIndexResponse)},
};
static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = {
......@@ -492,6 +552,8 @@ static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] =
reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::milvus::proto::service::_SysConfigResponse_default_instance_),
reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::milvus::proto::service::_Hits_default_instance_),
reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::milvus::proto::service::_QueryResult_default_instance_),
reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::milvus::proto::service::_IndexParam_default_instance_),
reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::milvus::proto::service::_DescribeIndexResponse_default_instance_),
};
const char descriptor_table_protodef_service_5fmsg_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
......@@ -534,20 +596,31 @@ const char descriptor_table_protodef_service_5fmsg_2eproto[] PROTOBUF_SECTION_VA
" \003(\t\"5\n\004Hits\022\013\n\003IDs\030\001 \003(\003\022\020\n\010row_data\030\002 "
"\003(\014\022\016\n\006scores\030\003 \003(\002\"H\n\013QueryResult\022+\n\006st"
"atus\030\001 \001(\0132\033.milvus.proto.common.Status\022"
"\014\n\004hits\030\002 \003(\014*@\n\017PlaceholderType\022\010\n\004NONE"
"\020\000\022\021\n\rVECTOR_BINARY\020d\022\020\n\014VECTOR_FLOAT\020eB"
"CZAgithub.com/zilliztech/milvus-distribu"
"ted/internal/proto/servicepbb\006proto3"
"\014\n\004hits\030\002 \003(\014\"\206\001\n\nIndexParam\022\027\n\017collecti"
"on_name\030\002 \001(\t\022\022\n\nfield_name\030\003 \001(\t\022\022\n\nind"
"ex_name\030\004 \001(\t\0227\n\014extra_params\030\005 \003(\0132!.mi"
"lvus.proto.common.KeyValuePair\"\276\001\n\025Descr"
"ibeIndexResponse\022+\n\006status\030\001 \001(\0132\033.milvu"
"s.proto.common.Status\022\027\n\017collection_name"
"\030\002 \001(\t\022\022\n\nfield_name\030\003 \001(\t\022\022\n\nindex_name"
"\030\004 \001(\t\0227\n\014extra_params\030\005 \003(\0132!.milvus.pr"
"oto.common.KeyValuePair*@\n\017PlaceholderTy"
"pe\022\010\n\004NONE\020\000\022\021\n\rVECTOR_BINARY\020d\022\020\n\014VECTO"
"R_FLOAT\020eBCZAgithub.com/zilliztech/milvu"
"s-distributed/internal/proto/servicepbb\006"
"proto3"
;
static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_service_5fmsg_2eproto_deps[2] = {
&::descriptor_table_common_2eproto,
&::descriptor_table_schema_2eproto,
};
static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_service_5fmsg_2eproto_sccs[16] = {
static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_service_5fmsg_2eproto_sccs[18] = {
&scc_info_BoolResponse_service_5fmsg_2eproto.base,
&scc_info_CollectionDescription_service_5fmsg_2eproto.base,
&scc_info_CollectionName_service_5fmsg_2eproto.base,
&scc_info_DescribeIndexResponse_service_5fmsg_2eproto.base,
&scc_info_Hits_service_5fmsg_2eproto.base,
&scc_info_IndexParam_service_5fmsg_2eproto.base,
&scc_info_IntegerListResponse_service_5fmsg_2eproto.base,
&scc_info_IntegerRangeResponse_service_5fmsg_2eproto.base,
&scc_info_PartitionDescription_service_5fmsg_2eproto.base,
......@@ -564,10 +637,10 @@ static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_ser
static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_service_5fmsg_2eproto_once;
static bool descriptor_table_service_5fmsg_2eproto_initialized = false;
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_service_5fmsg_2eproto = {
&descriptor_table_service_5fmsg_2eproto_initialized, descriptor_table_protodef_service_5fmsg_2eproto, "service_msg.proto", 1716,
&descriptor_table_service_5fmsg_2eproto_once, descriptor_table_service_5fmsg_2eproto_sccs, descriptor_table_service_5fmsg_2eproto_deps, 16, 2,
&descriptor_table_service_5fmsg_2eproto_initialized, descriptor_table_protodef_service_5fmsg_2eproto, "service_msg.proto", 2046,
&descriptor_table_service_5fmsg_2eproto_once, descriptor_table_service_5fmsg_2eproto_sccs, descriptor_table_service_5fmsg_2eproto_deps, 18, 2,
schemas, file_default_instances, TableStruct_service_5fmsg_2eproto::offsets,
file_level_metadata_service_5fmsg_2eproto, 16, file_level_enum_descriptors_service_5fmsg_2eproto, file_level_service_descriptors_service_5fmsg_2eproto,
file_level_metadata_service_5fmsg_2eproto, 18, file_level_enum_descriptors_service_5fmsg_2eproto, file_level_service_descriptors_service_5fmsg_2eproto,
};
// Force running AddDescriptors() at dynamic initialization time.
......@@ -6291,58 +6364,1036 @@ void QueryResult::InternalSwap(QueryResult* other) {
}
// @@protoc_insertion_point(namespace_scope)
} // namespace service
} // namespace proto
} // namespace milvus
PROTOBUF_NAMESPACE_OPEN
template<> PROTOBUF_NOINLINE ::milvus::proto::service::CollectionName* Arena::CreateMaybeMessage< ::milvus::proto::service::CollectionName >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::service::CollectionName >(arena);
}
template<> PROTOBUF_NOINLINE ::milvus::proto::service::PartitionName* Arena::CreateMaybeMessage< ::milvus::proto::service::PartitionName >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::service::PartitionName >(arena);
}
template<> PROTOBUF_NOINLINE ::milvus::proto::service::RowBatch* Arena::CreateMaybeMessage< ::milvus::proto::service::RowBatch >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::service::RowBatch >(arena);
// ===================================================================
void IndexParam::InitAsDefaultInstance() {
}
template<> PROTOBUF_NOINLINE ::milvus::proto::service::PlaceholderValue* Arena::CreateMaybeMessage< ::milvus::proto::service::PlaceholderValue >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::service::PlaceholderValue >(arena);
class IndexParam::_Internal {
public:
};
void IndexParam::clear_extra_params() {
extra_params_.Clear();
}
template<> PROTOBUF_NOINLINE ::milvus::proto::service::PlaceholderGroup* Arena::CreateMaybeMessage< ::milvus::proto::service::PlaceholderGroup >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::service::PlaceholderGroup >(arena);
IndexParam::IndexParam()
: ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
SharedCtor();
// @@protoc_insertion_point(constructor:milvus.proto.service.IndexParam)
}
template<> PROTOBUF_NOINLINE ::milvus::proto::service::Query* Arena::CreateMaybeMessage< ::milvus::proto::service::Query >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::service::Query >(arena);
IndexParam::IndexParam(const IndexParam& from)
: ::PROTOBUF_NAMESPACE_ID::Message(),
_internal_metadata_(nullptr),
extra_params_(from.extra_params_) {
_internal_metadata_.MergeFrom(from._internal_metadata_);
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_);
}
// @@protoc_insertion_point(copy_constructor:milvus.proto.service.IndexParam)
}
template<> PROTOBUF_NOINLINE ::milvus::proto::service::StringResponse* Arena::CreateMaybeMessage< ::milvus::proto::service::StringResponse >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::service::StringResponse >(arena);
void IndexParam::SharedCtor() {
::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_IndexParam_service_5fmsg_2eproto.base);
collection_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
field_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
index_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
template<> PROTOBUF_NOINLINE ::milvus::proto::service::BoolResponse* Arena::CreateMaybeMessage< ::milvus::proto::service::BoolResponse >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::service::BoolResponse >(arena);
IndexParam::~IndexParam() {
// @@protoc_insertion_point(destructor:milvus.proto.service.IndexParam)
SharedDtor();
}
template<> PROTOBUF_NOINLINE ::milvus::proto::service::StringListResponse* Arena::CreateMaybeMessage< ::milvus::proto::service::StringListResponse >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::service::StringListResponse >(arena);
void IndexParam::SharedDtor() {
collection_name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
field_name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
index_name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
template<> PROTOBUF_NOINLINE ::milvus::proto::service::IntegerListResponse* Arena::CreateMaybeMessage< ::milvus::proto::service::IntegerListResponse >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::service::IntegerListResponse >(arena);
void IndexParam::SetCachedSize(int size) const {
_cached_size_.Set(size);
}
template<> PROTOBUF_NOINLINE ::milvus::proto::service::IntegerRangeResponse* Arena::CreateMaybeMessage< ::milvus::proto::service::IntegerRangeResponse >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::service::IntegerRangeResponse >(arena);
const IndexParam& IndexParam::default_instance() {
::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_IndexParam_service_5fmsg_2eproto.base);
return *internal_default_instance();
}
template<> PROTOBUF_NOINLINE ::milvus::proto::service::CollectionDescription* Arena::CreateMaybeMessage< ::milvus::proto::service::CollectionDescription >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::service::CollectionDescription >(arena);
void IndexParam::Clear() {
// @@protoc_insertion_point(message_clear_start:milvus.proto.service.IndexParam)
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
extra_params_.Clear();
collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
field_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
index_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
_internal_metadata_.Clear();
}
template<> PROTOBUF_NOINLINE ::milvus::proto::service::PartitionDescription* Arena::CreateMaybeMessage< ::milvus::proto::service::PartitionDescription >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::service::PartitionDescription >(arena);
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
const char* IndexParam::_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) {
// string collection_name = 2;
case 2:
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_collection_name(), ptr, ctx, "milvus.proto.service.IndexParam.collection_name");
CHK_(ptr);
} else goto handle_unusual;
continue;
// string field_name = 3;
case 3:
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_field_name(), ptr, ctx, "milvus.proto.service.IndexParam.field_name");
CHK_(ptr);
} else goto handle_unusual;
continue;
// string index_name = 4;
case 4:
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_index_name(), ptr, ctx, "milvus.proto.service.IndexParam.index_name");
CHK_(ptr);
} else goto handle_unusual;
continue;
// repeated .milvus.proto.common.KeyValuePair extra_params = 5;
case 5:
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) {
ptr -= 1;
do {
ptr += 1;
ptr = ctx->ParseMessage(add_extra_params(), ptr);
CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break;
} while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 42);
} 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_
}
template<> PROTOBUF_NOINLINE ::milvus::proto::service::SysConfigResponse* Arena::CreateMaybeMessage< ::milvus::proto::service::SysConfigResponse >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::service::SysConfigResponse >(arena);
#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
bool IndexParam::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.service.IndexParam)
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)) {
// string collection_name = 2;
case 2: {
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (18 & 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.service.IndexParam.collection_name"));
} else {
goto handle_unusual;
}
break;
}
// string field_name = 3;
case 3: {
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (26 & 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.service.IndexParam.field_name"));
} else {
goto handle_unusual;
}
break;
}
// string index_name = 4;
case 4: {
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (34 & 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.service.IndexParam.index_name"));
} else {
goto handle_unusual;
}
break;
}
// repeated .milvus.proto.common.KeyValuePair extra_params = 5;
case 5: {
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (42 & 0xFF)) {
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage(
input, add_extra_params()));
} 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.service.IndexParam)
return true;
failure:
// @@protoc_insertion_point(parse_failure:milvus.proto.service.IndexParam)
return false;
#undef DO_
}
template<> PROTOBUF_NOINLINE ::milvus::proto::service::Hits* Arena::CreateMaybeMessage< ::milvus::proto::service::Hits >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::service::Hits >(arena);
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
void IndexParam::SerializeWithCachedSizes(
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const {
// @@protoc_insertion_point(serialize_start:milvus.proto.service.IndexParam)
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// string collection_name = 2;
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.service.IndexParam.collection_name");
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased(
2, this->collection_name(), output);
}
// string field_name = 3;
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.service.IndexParam.field_name");
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased(
3, this->field_name(), output);
}
// string index_name = 4;
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.service.IndexParam.index_name");
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased(
4, this->index_name(), output);
}
// repeated .milvus.proto.common.KeyValuePair extra_params = 5;
for (unsigned int i = 0,
n = static_cast<unsigned int>(this->extra_params_size()); i < n; i++) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteMessageMaybeToArray(
5,
this->extra_params(static_cast<int>(i)),
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.service.IndexParam)
}
template<> PROTOBUF_NOINLINE ::milvus::proto::service::QueryResult* Arena::CreateMaybeMessage< ::milvus::proto::service::QueryResult >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::service::QueryResult >(arena);
::PROTOBUF_NAMESPACE_ID::uint8* IndexParam::InternalSerializeWithCachedSizesToArray(
::PROTOBUF_NAMESPACE_ID::uint8* target) const {
// @@protoc_insertion_point(serialize_to_array_start:milvus.proto.service.IndexParam)
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// string collection_name = 2;
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.service.IndexParam.collection_name");
target =
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray(
2, this->collection_name(), target);
}
// string field_name = 3;
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.service.IndexParam.field_name");
target =
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray(
3, this->field_name(), target);
}
// string index_name = 4;
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.service.IndexParam.index_name");
target =
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray(
4, this->index_name(), target);
}
// repeated .milvus.proto.common.KeyValuePair extra_params = 5;
for (unsigned int i = 0,
n = static_cast<unsigned int>(this->extra_params_size()); i < n; i++) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
InternalWriteMessageToArray(
5, this->extra_params(static_cast<int>(i)), 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.service.IndexParam)
return target;
}
size_t IndexParam::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:milvus.proto.service.IndexParam)
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;
// repeated .milvus.proto.common.KeyValuePair extra_params = 5;
{
unsigned int count = static_cast<unsigned int>(this->extra_params_size());
total_size += 1UL * count;
for (unsigned int i = 0; i < count; i++) {
total_size +=
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
this->extra_params(static_cast<int>(i)));
}
}
// string collection_name = 2;
if (this->collection_name().size() > 0) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->collection_name());
}
// string field_name = 3;
if (this->field_name().size() > 0) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->field_name());
}
// string index_name = 4;
if (this->index_name().size() > 0) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->index_name());
}
int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
SetCachedSize(cached_size);
return total_size;
}
void IndexParam::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:milvus.proto.service.IndexParam)
GOOGLE_DCHECK_NE(&from, this);
const IndexParam* source =
::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<IndexParam>(
&from);
if (source == nullptr) {
// @@protoc_insertion_point(generalized_merge_from_cast_fail:milvus.proto.service.IndexParam)
::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
} else {
// @@protoc_insertion_point(generalized_merge_from_cast_success:milvus.proto.service.IndexParam)
MergeFrom(*source);
}
}
void IndexParam::MergeFrom(const IndexParam& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:milvus.proto.service.IndexParam)
GOOGLE_DCHECK_NE(&from, this);
_internal_metadata_.MergeFrom(from._internal_metadata_);
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
(void) cached_has_bits;
extra_params_.MergeFrom(from.extra_params_);
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_);
}
}
void IndexParam::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:milvus.proto.service.IndexParam)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void IndexParam::CopyFrom(const IndexParam& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:milvus.proto.service.IndexParam)
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool IndexParam::IsInitialized() const {
return true;
}
void IndexParam::InternalSwap(IndexParam* other) {
using std::swap;
_internal_metadata_.Swap(&other->_internal_metadata_);
CastToBase(&extra_params_)->InternalSwap(CastToBase(&other->extra_params_));
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());
}
::PROTOBUF_NAMESPACE_ID::Metadata IndexParam::GetMetadata() const {
return GetMetadataStatic();
}
// ===================================================================
void DescribeIndexResponse::InitAsDefaultInstance() {
::milvus::proto::service::_DescribeIndexResponse_default_instance_._instance.get_mutable()->status_ = const_cast< ::milvus::proto::common::Status*>(
::milvus::proto::common::Status::internal_default_instance());
}
class DescribeIndexResponse::_Internal {
public:
static const ::milvus::proto::common::Status& status(const DescribeIndexResponse* msg);
};
const ::milvus::proto::common::Status&
DescribeIndexResponse::_Internal::status(const DescribeIndexResponse* msg) {
return *msg->status_;
}
void DescribeIndexResponse::clear_status() {
if (GetArenaNoVirtual() == nullptr && status_ != nullptr) {
delete status_;
}
status_ = nullptr;
}
void DescribeIndexResponse::clear_extra_params() {
extra_params_.Clear();
}
DescribeIndexResponse::DescribeIndexResponse()
: ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
SharedCtor();
// @@protoc_insertion_point(constructor:milvus.proto.service.DescribeIndexResponse)
}
DescribeIndexResponse::DescribeIndexResponse(const DescribeIndexResponse& from)
: ::PROTOBUF_NAMESPACE_ID::Message(),
_internal_metadata_(nullptr),
extra_params_(from.extra_params_) {
_internal_metadata_.MergeFrom(from._internal_metadata_);
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_status()) {
status_ = new ::milvus::proto::common::Status(*from.status_);
} else {
status_ = nullptr;
}
// @@protoc_insertion_point(copy_constructor:milvus.proto.service.DescribeIndexResponse)
}
void DescribeIndexResponse::SharedCtor() {
::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_DescribeIndexResponse_service_5fmsg_2eproto.base);
collection_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
field_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
index_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
status_ = nullptr;
}
DescribeIndexResponse::~DescribeIndexResponse() {
// @@protoc_insertion_point(destructor:milvus.proto.service.DescribeIndexResponse)
SharedDtor();
}
void DescribeIndexResponse::SharedDtor() {
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 status_;
}
void DescribeIndexResponse::SetCachedSize(int size) const {
_cached_size_.Set(size);
}
const DescribeIndexResponse& DescribeIndexResponse::default_instance() {
::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_DescribeIndexResponse_service_5fmsg_2eproto.base);
return *internal_default_instance();
}
void DescribeIndexResponse::Clear() {
// @@protoc_insertion_point(message_clear_start:milvus.proto.service.DescribeIndexResponse)
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
extra_params_.Clear();
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 && status_ != nullptr) {
delete status_;
}
status_ = nullptr;
_internal_metadata_.Clear();
}
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
const char* DescribeIndexResponse::_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.Status status = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
ptr = ctx->ParseMessage(mutable_status(), ptr);
CHK_(ptr);
} else goto handle_unusual;
continue;
// string collection_name = 2;
case 2:
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_collection_name(), ptr, ctx, "milvus.proto.service.DescribeIndexResponse.collection_name");
CHK_(ptr);
} else goto handle_unusual;
continue;
// string field_name = 3;
case 3:
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_field_name(), ptr, ctx, "milvus.proto.service.DescribeIndexResponse.field_name");
CHK_(ptr);
} else goto handle_unusual;
continue;
// string index_name = 4;
case 4:
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_index_name(), ptr, ctx, "milvus.proto.service.DescribeIndexResponse.index_name");
CHK_(ptr);
} else goto handle_unusual;
continue;
// repeated .milvus.proto.common.KeyValuePair extra_params = 5;
case 5:
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) {
ptr -= 1;
do {
ptr += 1;
ptr = ctx->ParseMessage(add_extra_params(), ptr);
CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break;
} while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 42);
} 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 DescribeIndexResponse::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.service.DescribeIndexResponse)
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.Status status = 1;
case 1: {
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) {
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage(
input, mutable_status()));
} else {
goto handle_unusual;
}
break;
}
// string collection_name = 2;
case 2: {
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (18 & 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.service.DescribeIndexResponse.collection_name"));
} else {
goto handle_unusual;
}
break;
}
// string field_name = 3;
case 3: {
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (26 & 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.service.DescribeIndexResponse.field_name"));
} else {
goto handle_unusual;
}
break;
}
// string index_name = 4;
case 4: {
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (34 & 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.service.DescribeIndexResponse.index_name"));
} else {
goto handle_unusual;
}
break;
}
// repeated .milvus.proto.common.KeyValuePair extra_params = 5;
case 5: {
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (42 & 0xFF)) {
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage(
input, add_extra_params()));
} 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.service.DescribeIndexResponse)
return true;
failure:
// @@protoc_insertion_point(parse_failure:milvus.proto.service.DescribeIndexResponse)
return false;
#undef DO_
}
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
void DescribeIndexResponse::SerializeWithCachedSizes(
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const {
// @@protoc_insertion_point(serialize_start:milvus.proto.service.DescribeIndexResponse)
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// .milvus.proto.common.Status status = 1;
if (this->has_status()) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteMessageMaybeToArray(
1, _Internal::status(this), output);
}
// string collection_name = 2;
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.service.DescribeIndexResponse.collection_name");
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased(
2, this->collection_name(), output);
}
// string field_name = 3;
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.service.DescribeIndexResponse.field_name");
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased(
3, this->field_name(), output);
}
// string index_name = 4;
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.service.DescribeIndexResponse.index_name");
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased(
4, this->index_name(), output);
}
// repeated .milvus.proto.common.KeyValuePair extra_params = 5;
for (unsigned int i = 0,
n = static_cast<unsigned int>(this->extra_params_size()); i < n; i++) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteMessageMaybeToArray(
5,
this->extra_params(static_cast<int>(i)),
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.service.DescribeIndexResponse)
}
::PROTOBUF_NAMESPACE_ID::uint8* DescribeIndexResponse::InternalSerializeWithCachedSizesToArray(
::PROTOBUF_NAMESPACE_ID::uint8* target) const {
// @@protoc_insertion_point(serialize_to_array_start:milvus.proto.service.DescribeIndexResponse)
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// .milvus.proto.common.Status status = 1;
if (this->has_status()) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
InternalWriteMessageToArray(
1, _Internal::status(this), target);
}
// string collection_name = 2;
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.service.DescribeIndexResponse.collection_name");
target =
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray(
2, this->collection_name(), target);
}
// string field_name = 3;
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.service.DescribeIndexResponse.field_name");
target =
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray(
3, this->field_name(), target);
}
// string index_name = 4;
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.service.DescribeIndexResponse.index_name");
target =
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray(
4, this->index_name(), target);
}
// repeated .milvus.proto.common.KeyValuePair extra_params = 5;
for (unsigned int i = 0,
n = static_cast<unsigned int>(this->extra_params_size()); i < n; i++) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
InternalWriteMessageToArray(
5, this->extra_params(static_cast<int>(i)), 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.service.DescribeIndexResponse)
return target;
}
size_t DescribeIndexResponse::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:milvus.proto.service.DescribeIndexResponse)
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;
// repeated .milvus.proto.common.KeyValuePair extra_params = 5;
{
unsigned int count = static_cast<unsigned int>(this->extra_params_size());
total_size += 1UL * count;
for (unsigned int i = 0; i < count; i++) {
total_size +=
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
this->extra_params(static_cast<int>(i)));
}
}
// string collection_name = 2;
if (this->collection_name().size() > 0) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->collection_name());
}
// string field_name = 3;
if (this->field_name().size() > 0) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->field_name());
}
// string index_name = 4;
if (this->index_name().size() > 0) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->index_name());
}
// .milvus.proto.common.Status status = 1;
if (this->has_status()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
*status_);
}
int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
SetCachedSize(cached_size);
return total_size;
}
void DescribeIndexResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:milvus.proto.service.DescribeIndexResponse)
GOOGLE_DCHECK_NE(&from, this);
const DescribeIndexResponse* source =
::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<DescribeIndexResponse>(
&from);
if (source == nullptr) {
// @@protoc_insertion_point(generalized_merge_from_cast_fail:milvus.proto.service.DescribeIndexResponse)
::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
} else {
// @@protoc_insertion_point(generalized_merge_from_cast_success:milvus.proto.service.DescribeIndexResponse)
MergeFrom(*source);
}
}
void DescribeIndexResponse::MergeFrom(const DescribeIndexResponse& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:milvus.proto.service.DescribeIndexResponse)
GOOGLE_DCHECK_NE(&from, this);
_internal_metadata_.MergeFrom(from._internal_metadata_);
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
(void) cached_has_bits;
extra_params_.MergeFrom(from.extra_params_);
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_status()) {
mutable_status()->::milvus::proto::common::Status::MergeFrom(from.status());
}
}
void DescribeIndexResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:milvus.proto.service.DescribeIndexResponse)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void DescribeIndexResponse::CopyFrom(const DescribeIndexResponse& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:milvus.proto.service.DescribeIndexResponse)
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool DescribeIndexResponse::IsInitialized() const {
return true;
}
void DescribeIndexResponse::InternalSwap(DescribeIndexResponse* other) {
using std::swap;
_internal_metadata_.Swap(&other->_internal_metadata_);
CastToBase(&extra_params_)->InternalSwap(CastToBase(&other->extra_params_));
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(status_, other->status_);
}
::PROTOBUF_NAMESPACE_ID::Metadata DescribeIndexResponse::GetMetadata() const {
return GetMetadataStatic();
}
// @@protoc_insertion_point(namespace_scope)
} // namespace service
} // namespace proto
} // namespace milvus
PROTOBUF_NAMESPACE_OPEN
template<> PROTOBUF_NOINLINE ::milvus::proto::service::CollectionName* Arena::CreateMaybeMessage< ::milvus::proto::service::CollectionName >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::service::CollectionName >(arena);
}
template<> PROTOBUF_NOINLINE ::milvus::proto::service::PartitionName* Arena::CreateMaybeMessage< ::milvus::proto::service::PartitionName >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::service::PartitionName >(arena);
}
template<> PROTOBUF_NOINLINE ::milvus::proto::service::RowBatch* Arena::CreateMaybeMessage< ::milvus::proto::service::RowBatch >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::service::RowBatch >(arena);
}
template<> PROTOBUF_NOINLINE ::milvus::proto::service::PlaceholderValue* Arena::CreateMaybeMessage< ::milvus::proto::service::PlaceholderValue >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::service::PlaceholderValue >(arena);
}
template<> PROTOBUF_NOINLINE ::milvus::proto::service::PlaceholderGroup* Arena::CreateMaybeMessage< ::milvus::proto::service::PlaceholderGroup >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::service::PlaceholderGroup >(arena);
}
template<> PROTOBUF_NOINLINE ::milvus::proto::service::Query* Arena::CreateMaybeMessage< ::milvus::proto::service::Query >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::service::Query >(arena);
}
template<> PROTOBUF_NOINLINE ::milvus::proto::service::StringResponse* Arena::CreateMaybeMessage< ::milvus::proto::service::StringResponse >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::service::StringResponse >(arena);
}
template<> PROTOBUF_NOINLINE ::milvus::proto::service::BoolResponse* Arena::CreateMaybeMessage< ::milvus::proto::service::BoolResponse >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::service::BoolResponse >(arena);
}
template<> PROTOBUF_NOINLINE ::milvus::proto::service::StringListResponse* Arena::CreateMaybeMessage< ::milvus::proto::service::StringListResponse >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::service::StringListResponse >(arena);
}
template<> PROTOBUF_NOINLINE ::milvus::proto::service::IntegerListResponse* Arena::CreateMaybeMessage< ::milvus::proto::service::IntegerListResponse >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::service::IntegerListResponse >(arena);
}
template<> PROTOBUF_NOINLINE ::milvus::proto::service::IntegerRangeResponse* Arena::CreateMaybeMessage< ::milvus::proto::service::IntegerRangeResponse >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::service::IntegerRangeResponse >(arena);
}
template<> PROTOBUF_NOINLINE ::milvus::proto::service::CollectionDescription* Arena::CreateMaybeMessage< ::milvus::proto::service::CollectionDescription >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::service::CollectionDescription >(arena);
}
template<> PROTOBUF_NOINLINE ::milvus::proto::service::PartitionDescription* Arena::CreateMaybeMessage< ::milvus::proto::service::PartitionDescription >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::service::PartitionDescription >(arena);
}
template<> PROTOBUF_NOINLINE ::milvus::proto::service::SysConfigResponse* Arena::CreateMaybeMessage< ::milvus::proto::service::SysConfigResponse >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::service::SysConfigResponse >(arena);
}
template<> PROTOBUF_NOINLINE ::milvus::proto::service::Hits* Arena::CreateMaybeMessage< ::milvus::proto::service::Hits >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::service::Hits >(arena);
}
template<> PROTOBUF_NOINLINE ::milvus::proto::service::QueryResult* Arena::CreateMaybeMessage< ::milvus::proto::service::QueryResult >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::service::QueryResult >(arena);
}
template<> PROTOBUF_NOINLINE ::milvus::proto::service::IndexParam* Arena::CreateMaybeMessage< ::milvus::proto::service::IndexParam >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::service::IndexParam >(arena);
}
template<> PROTOBUF_NOINLINE ::milvus::proto::service::DescribeIndexResponse* Arena::CreateMaybeMessage< ::milvus::proto::service::DescribeIndexResponse >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::service::DescribeIndexResponse >(arena);
}
PROTOBUF_NAMESPACE_CLOSE
......
......@@ -50,7 +50,7 @@ struct TableStruct_service_5fmsg_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[16]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[18]
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
......@@ -69,9 +69,15 @@ extern CollectionDescriptionDefaultTypeInternal _CollectionDescription_default_i
class CollectionName;
class CollectionNameDefaultTypeInternal;
extern CollectionNameDefaultTypeInternal _CollectionName_default_instance_;
class DescribeIndexResponse;
class DescribeIndexResponseDefaultTypeInternal;
extern DescribeIndexResponseDefaultTypeInternal _DescribeIndexResponse_default_instance_;
class Hits;
class HitsDefaultTypeInternal;
extern HitsDefaultTypeInternal _Hits_default_instance_;
class IndexParam;
class IndexParamDefaultTypeInternal;
extern IndexParamDefaultTypeInternal _IndexParam_default_instance_;
class IntegerListResponse;
class IntegerListResponseDefaultTypeInternal;
extern IntegerListResponseDefaultTypeInternal _IntegerListResponse_default_instance_;
......@@ -115,7 +121,9 @@ PROTOBUF_NAMESPACE_OPEN
template<> ::milvus::proto::service::BoolResponse* Arena::CreateMaybeMessage<::milvus::proto::service::BoolResponse>(Arena*);
template<> ::milvus::proto::service::CollectionDescription* Arena::CreateMaybeMessage<::milvus::proto::service::CollectionDescription>(Arena*);
template<> ::milvus::proto::service::CollectionName* Arena::CreateMaybeMessage<::milvus::proto::service::CollectionName>(Arena*);
template<> ::milvus::proto::service::DescribeIndexResponse* Arena::CreateMaybeMessage<::milvus::proto::service::DescribeIndexResponse>(Arena*);
template<> ::milvus::proto::service::Hits* Arena::CreateMaybeMessage<::milvus::proto::service::Hits>(Arena*);
template<> ::milvus::proto::service::IndexParam* Arena::CreateMaybeMessage<::milvus::proto::service::IndexParam>(Arena*);
template<> ::milvus::proto::service::IntegerListResponse* Arena::CreateMaybeMessage<::milvus::proto::service::IntegerListResponse>(Arena*);
template<> ::milvus::proto::service::IntegerRangeResponse* Arena::CreateMaybeMessage<::milvus::proto::service::IntegerRangeResponse>(Arena*);
template<> ::milvus::proto::service::PartitionDescription* Arena::CreateMaybeMessage<::milvus::proto::service::PartitionDescription>(Arena*);
......@@ -2652,6 +2660,368 @@ class QueryResult :
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_service_5fmsg_2eproto;
};
// -------------------------------------------------------------------
class IndexParam :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.service.IndexParam) */ {
public:
IndexParam();
virtual ~IndexParam();
IndexParam(const IndexParam& from);
IndexParam(IndexParam&& from) noexcept
: IndexParam() {
*this = ::std::move(from);
}
inline IndexParam& operator=(const IndexParam& from) {
CopyFrom(from);
return *this;
}
inline IndexParam& operator=(IndexParam&& 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 IndexParam& default_instance();
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const IndexParam* internal_default_instance() {
return reinterpret_cast<const IndexParam*>(
&_IndexParam_default_instance_);
}
static constexpr int kIndexInFileMessages =
16;
friend void swap(IndexParam& a, IndexParam& b) {
a.Swap(&b);
}
inline void Swap(IndexParam* other) {
if (other == this) return;
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline IndexParam* New() const final {
return CreateMaybeMessage<IndexParam>(nullptr);
}
IndexParam* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<IndexParam>(arena);
}
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
void CopyFrom(const IndexParam& from);
void MergeFrom(const IndexParam& 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(IndexParam* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "milvus.proto.service.IndexParam";
}
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_service_5fmsg_2eproto);
return ::descriptor_table_service_5fmsg_2eproto.file_level_metadata[kIndexInFileMessages];
}
public:
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kExtraParamsFieldNumber = 5,
kCollectionNameFieldNumber = 2,
kFieldNameFieldNumber = 3,
kIndexNameFieldNumber = 4,
};
// repeated .milvus.proto.common.KeyValuePair extra_params = 5;
int extra_params_size() const;
void clear_extra_params();
::milvus::proto::common::KeyValuePair* mutable_extra_params(int index);
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::common::KeyValuePair >*
mutable_extra_params();
const ::milvus::proto::common::KeyValuePair& extra_params(int index) const;
::milvus::proto::common::KeyValuePair* add_extra_params();
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::common::KeyValuePair >&
extra_params() const;
// string collection_name = 2;
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 = 3;
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 = 4;
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);
// @@protoc_insertion_point(class_scope:milvus.proto.service.IndexParam)
private:
class _Internal;
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::common::KeyValuePair > extra_params_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_name_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr field_name_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr index_name_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_service_5fmsg_2eproto;
};
// -------------------------------------------------------------------
class DescribeIndexResponse :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.service.DescribeIndexResponse) */ {
public:
DescribeIndexResponse();
virtual ~DescribeIndexResponse();
DescribeIndexResponse(const DescribeIndexResponse& from);
DescribeIndexResponse(DescribeIndexResponse&& from) noexcept
: DescribeIndexResponse() {
*this = ::std::move(from);
}
inline DescribeIndexResponse& operator=(const DescribeIndexResponse& from) {
CopyFrom(from);
return *this;
}
inline DescribeIndexResponse& operator=(DescribeIndexResponse&& 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 DescribeIndexResponse& default_instance();
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const DescribeIndexResponse* internal_default_instance() {
return reinterpret_cast<const DescribeIndexResponse*>(
&_DescribeIndexResponse_default_instance_);
}
static constexpr int kIndexInFileMessages =
17;
friend void swap(DescribeIndexResponse& a, DescribeIndexResponse& b) {
a.Swap(&b);
}
inline void Swap(DescribeIndexResponse* other) {
if (other == this) return;
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline DescribeIndexResponse* New() const final {
return CreateMaybeMessage<DescribeIndexResponse>(nullptr);
}
DescribeIndexResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<DescribeIndexResponse>(arena);
}
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
void CopyFrom(const DescribeIndexResponse& from);
void MergeFrom(const DescribeIndexResponse& 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(DescribeIndexResponse* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "milvus.proto.service.DescribeIndexResponse";
}
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_service_5fmsg_2eproto);
return ::descriptor_table_service_5fmsg_2eproto.file_level_metadata[kIndexInFileMessages];
}
public:
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kExtraParamsFieldNumber = 5,
kCollectionNameFieldNumber = 2,
kFieldNameFieldNumber = 3,
kIndexNameFieldNumber = 4,
kStatusFieldNumber = 1,
};
// repeated .milvus.proto.common.KeyValuePair extra_params = 5;
int extra_params_size() const;
void clear_extra_params();
::milvus::proto::common::KeyValuePair* mutable_extra_params(int index);
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::common::KeyValuePair >*
mutable_extra_params();
const ::milvus::proto::common::KeyValuePair& extra_params(int index) const;
::milvus::proto::common::KeyValuePair* add_extra_params();
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::common::KeyValuePair >&
extra_params() const;
// string collection_name = 2;
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 = 3;
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 = 4;
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.Status status = 1;
bool has_status() const;
void clear_status();
const ::milvus::proto::common::Status& status() const;
::milvus::proto::common::Status* release_status();
::milvus::proto::common::Status* mutable_status();
void set_allocated_status(::milvus::proto::common::Status* status);
// @@protoc_insertion_point(class_scope:milvus.proto.service.DescribeIndexResponse)
private:
class _Internal;
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::common::KeyValuePair > extra_params_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_name_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr field_name_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr index_name_;
::milvus::proto::common::Status* status_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_service_5fmsg_2eproto;
};
// ===================================================================
......@@ -4476,6 +4846,419 @@ QueryResult::mutable_hits() {
return &hits_;
}
// -------------------------------------------------------------------
// IndexParam
// string collection_name = 2;
inline void IndexParam::clear_collection_name() {
collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline const std::string& IndexParam::collection_name() const {
// @@protoc_insertion_point(field_get:milvus.proto.service.IndexParam.collection_name)
return collection_name_.GetNoArena();
}
inline void IndexParam::set_collection_name(const std::string& value) {
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:milvus.proto.service.IndexParam.collection_name)
}
inline void IndexParam::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.service.IndexParam.collection_name)
}
inline void IndexParam::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.service.IndexParam.collection_name)
}
inline void IndexParam::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.service.IndexParam.collection_name)
}
inline std::string* IndexParam::mutable_collection_name() {
// @@protoc_insertion_point(field_mutable:milvus.proto.service.IndexParam.collection_name)
return collection_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline std::string* IndexParam::release_collection_name() {
// @@protoc_insertion_point(field_release:milvus.proto.service.IndexParam.collection_name)
return collection_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline void IndexParam::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.service.IndexParam.collection_name)
}
// string field_name = 3;
inline void IndexParam::clear_field_name() {
field_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline const std::string& IndexParam::field_name() const {
// @@protoc_insertion_point(field_get:milvus.proto.service.IndexParam.field_name)
return field_name_.GetNoArena();
}
inline void IndexParam::set_field_name(const std::string& value) {
field_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:milvus.proto.service.IndexParam.field_name)
}
inline void IndexParam::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.service.IndexParam.field_name)
}
inline void IndexParam::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.service.IndexParam.field_name)
}
inline void IndexParam::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.service.IndexParam.field_name)
}
inline std::string* IndexParam::mutable_field_name() {
// @@protoc_insertion_point(field_mutable:milvus.proto.service.IndexParam.field_name)
return field_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline std::string* IndexParam::release_field_name() {
// @@protoc_insertion_point(field_release:milvus.proto.service.IndexParam.field_name)
return field_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline void IndexParam::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.service.IndexParam.field_name)
}
// string index_name = 4;
inline void IndexParam::clear_index_name() {
index_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline const std::string& IndexParam::index_name() const {
// @@protoc_insertion_point(field_get:milvus.proto.service.IndexParam.index_name)
return index_name_.GetNoArena();
}
inline void IndexParam::set_index_name(const std::string& value) {
index_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:milvus.proto.service.IndexParam.index_name)
}
inline void IndexParam::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.service.IndexParam.index_name)
}
inline void IndexParam::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.service.IndexParam.index_name)
}
inline void IndexParam::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.service.IndexParam.index_name)
}
inline std::string* IndexParam::mutable_index_name() {
// @@protoc_insertion_point(field_mutable:milvus.proto.service.IndexParam.index_name)
return index_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline std::string* IndexParam::release_index_name() {
// @@protoc_insertion_point(field_release:milvus.proto.service.IndexParam.index_name)
return index_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline void IndexParam::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.service.IndexParam.index_name)
}
// repeated .milvus.proto.common.KeyValuePair extra_params = 5;
inline int IndexParam::extra_params_size() const {
return extra_params_.size();
}
inline ::milvus::proto::common::KeyValuePair* IndexParam::mutable_extra_params(int index) {
// @@protoc_insertion_point(field_mutable:milvus.proto.service.IndexParam.extra_params)
return extra_params_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::common::KeyValuePair >*
IndexParam::mutable_extra_params() {
// @@protoc_insertion_point(field_mutable_list:milvus.proto.service.IndexParam.extra_params)
return &extra_params_;
}
inline const ::milvus::proto::common::KeyValuePair& IndexParam::extra_params(int index) const {
// @@protoc_insertion_point(field_get:milvus.proto.service.IndexParam.extra_params)
return extra_params_.Get(index);
}
inline ::milvus::proto::common::KeyValuePair* IndexParam::add_extra_params() {
// @@protoc_insertion_point(field_add:milvus.proto.service.IndexParam.extra_params)
return extra_params_.Add();
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::common::KeyValuePair >&
IndexParam::extra_params() const {
// @@protoc_insertion_point(field_list:milvus.proto.service.IndexParam.extra_params)
return extra_params_;
}
// -------------------------------------------------------------------
// DescribeIndexResponse
// .milvus.proto.common.Status status = 1;
inline bool DescribeIndexResponse::has_status() const {
return this != internal_default_instance() && status_ != nullptr;
}
inline const ::milvus::proto::common::Status& DescribeIndexResponse::status() const {
const ::milvus::proto::common::Status* p = status_;
// @@protoc_insertion_point(field_get:milvus.proto.service.DescribeIndexResponse.status)
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::Status*>(
&::milvus::proto::common::_Status_default_instance_);
}
inline ::milvus::proto::common::Status* DescribeIndexResponse::release_status() {
// @@protoc_insertion_point(field_release:milvus.proto.service.DescribeIndexResponse.status)
::milvus::proto::common::Status* temp = status_;
status_ = nullptr;
return temp;
}
inline ::milvus::proto::common::Status* DescribeIndexResponse::mutable_status() {
if (status_ == nullptr) {
auto* p = CreateMaybeMessage<::milvus::proto::common::Status>(GetArenaNoVirtual());
status_ = p;
}
// @@protoc_insertion_point(field_mutable:milvus.proto.service.DescribeIndexResponse.status)
return status_;
}
inline void DescribeIndexResponse::set_allocated_status(::milvus::proto::common::Status* status) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
if (message_arena == nullptr) {
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(status_);
}
if (status) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
if (message_arena != submessage_arena) {
status = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, status, submessage_arena);
}
} else {
}
status_ = status;
// @@protoc_insertion_point(field_set_allocated:milvus.proto.service.DescribeIndexResponse.status)
}
// string collection_name = 2;
inline void DescribeIndexResponse::clear_collection_name() {
collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline const std::string& DescribeIndexResponse::collection_name() const {
// @@protoc_insertion_point(field_get:milvus.proto.service.DescribeIndexResponse.collection_name)
return collection_name_.GetNoArena();
}
inline void DescribeIndexResponse::set_collection_name(const std::string& value) {
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:milvus.proto.service.DescribeIndexResponse.collection_name)
}
inline void DescribeIndexResponse::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.service.DescribeIndexResponse.collection_name)
}
inline void DescribeIndexResponse::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.service.DescribeIndexResponse.collection_name)
}
inline void DescribeIndexResponse::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.service.DescribeIndexResponse.collection_name)
}
inline std::string* DescribeIndexResponse::mutable_collection_name() {
// @@protoc_insertion_point(field_mutable:milvus.proto.service.DescribeIndexResponse.collection_name)
return collection_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline std::string* DescribeIndexResponse::release_collection_name() {
// @@protoc_insertion_point(field_release:milvus.proto.service.DescribeIndexResponse.collection_name)
return collection_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline void DescribeIndexResponse::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.service.DescribeIndexResponse.collection_name)
}
// string field_name = 3;
inline void DescribeIndexResponse::clear_field_name() {
field_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline const std::string& DescribeIndexResponse::field_name() const {
// @@protoc_insertion_point(field_get:milvus.proto.service.DescribeIndexResponse.field_name)
return field_name_.GetNoArena();
}
inline void DescribeIndexResponse::set_field_name(const std::string& value) {
field_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:milvus.proto.service.DescribeIndexResponse.field_name)
}
inline void DescribeIndexResponse::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.service.DescribeIndexResponse.field_name)
}
inline void DescribeIndexResponse::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.service.DescribeIndexResponse.field_name)
}
inline void DescribeIndexResponse::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.service.DescribeIndexResponse.field_name)
}
inline std::string* DescribeIndexResponse::mutable_field_name() {
// @@protoc_insertion_point(field_mutable:milvus.proto.service.DescribeIndexResponse.field_name)
return field_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline std::string* DescribeIndexResponse::release_field_name() {
// @@protoc_insertion_point(field_release:milvus.proto.service.DescribeIndexResponse.field_name)
return field_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline void DescribeIndexResponse::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.service.DescribeIndexResponse.field_name)
}
// string index_name = 4;
inline void DescribeIndexResponse::clear_index_name() {
index_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline const std::string& DescribeIndexResponse::index_name() const {
// @@protoc_insertion_point(field_get:milvus.proto.service.DescribeIndexResponse.index_name)
return index_name_.GetNoArena();
}
inline void DescribeIndexResponse::set_index_name(const std::string& value) {
index_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:milvus.proto.service.DescribeIndexResponse.index_name)
}
inline void DescribeIndexResponse::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.service.DescribeIndexResponse.index_name)
}
inline void DescribeIndexResponse::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.service.DescribeIndexResponse.index_name)
}
inline void DescribeIndexResponse::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.service.DescribeIndexResponse.index_name)
}
inline std::string* DescribeIndexResponse::mutable_index_name() {
// @@protoc_insertion_point(field_mutable:milvus.proto.service.DescribeIndexResponse.index_name)
return index_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline std::string* DescribeIndexResponse::release_index_name() {
// @@protoc_insertion_point(field_release:milvus.proto.service.DescribeIndexResponse.index_name)
return index_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline void DescribeIndexResponse::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.service.DescribeIndexResponse.index_name)
}
// repeated .milvus.proto.common.KeyValuePair extra_params = 5;
inline int DescribeIndexResponse::extra_params_size() const {
return extra_params_.size();
}
inline ::milvus::proto::common::KeyValuePair* DescribeIndexResponse::mutable_extra_params(int index) {
// @@protoc_insertion_point(field_mutable:milvus.proto.service.DescribeIndexResponse.extra_params)
return extra_params_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::common::KeyValuePair >*
DescribeIndexResponse::mutable_extra_params() {
// @@protoc_insertion_point(field_mutable_list:milvus.proto.service.DescribeIndexResponse.extra_params)
return &extra_params_;
}
inline const ::milvus::proto::common::KeyValuePair& DescribeIndexResponse::extra_params(int index) const {
// @@protoc_insertion_point(field_get:milvus.proto.service.DescribeIndexResponse.extra_params)
return extra_params_.Get(index);
}
inline ::milvus::proto::common::KeyValuePair* DescribeIndexResponse::add_extra_params() {
// @@protoc_insertion_point(field_add:milvus.proto.service.DescribeIndexResponse.extra_params)
return extra_params_.Add();
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::common::KeyValuePair >&
DescribeIndexResponse::extra_params() const {
// @@protoc_insertion_point(field_list:milvus.proto.service.DescribeIndexResponse.extra_params)
return extra_params_;
}
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif // __GNUC__
......@@ -4509,6 +5292,10 @@ QueryResult::mutable_hits() {
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// @@protoc_insertion_point(namespace_scope)
......
......@@ -451,3 +451,15 @@ func (s *Master) AssignSegmentID(ctx context.Context, request *internalpb.Assign
PerChannelAssignment: segInfos,
}, nil
}
func (s *Master) CreateIndex(context.Context, *internalpb.CreateIndexRequest) (*commonpb.Status, error) {
return nil, nil
}
func (s *Master) DescribeIndex(context.Context, *internalpb.DescribeIndexRequest) (*servicepb.DescribeIndexResponse, error) {
return nil, nil
}
func (s *Master) DescribeIndexProgress(context.Context, *internalpb.DescribeIndexProgressRequest) (*servicepb.BoolResponse, error) {
return nil, nil
}
......@@ -314,3 +314,36 @@ message QueryNodeStats {
repeated SegmentStats seg_stats = 3;
repeated FieldStats field_stats = 4;
}
message CreateIndexRequest {
MsgType msg_type = 1;
int64 reqID = 2;
uint64 timestamp = 3;
int64 proxyID = 4;
string collection_name = 5;
string field_name = 6;
string index_name = 7;
repeated common.KeyValuePair extra_params = 8;
}
message DescribeIndexRequest {
MsgType msg_type = 1;
int64 reqID = 2;
uint64 timestamp = 3;
int64 proxyID = 4;
string collection_name = 5;
string field_name = 6;
string index_name = 7;
repeated common.KeyValuePair extra_params = 8;
}
message DescribeIndexProgressRequest {
MsgType msg_type = 1;
int64 reqID = 2;
uint64 timestamp = 3;
int64 proxyID = 4;
string collection_name = 5;
string field_name = 6;
string index_name = 7;
repeated common.KeyValuePair extra_params = 8;
}
......@@ -2323,6 +2323,291 @@ func (m *QueryNodeStats) GetFieldStats() []*FieldStats {
return nil
}
type CreateIndexRequest struct {
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
ReqID int64 `protobuf:"varint,2,opt,name=reqID,proto3" json:"reqID,omitempty"`
Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
ProxyID int64 `protobuf:"varint,4,opt,name=proxyID,proto3" json:"proxyID,omitempty"`
CollectionName string `protobuf:"bytes,5,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
FieldName string `protobuf:"bytes,6,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
IndexName string `protobuf:"bytes,7,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
ExtraParams []*commonpb.KeyValuePair `protobuf:"bytes,8,rep,name=extra_params,json=extraParams,proto3" json:"extra_params,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateIndexRequest) Reset() { *m = CreateIndexRequest{} }
func (m *CreateIndexRequest) String() string { return proto.CompactTextString(m) }
func (*CreateIndexRequest) ProtoMessage() {}
func (*CreateIndexRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_7eb37f6b80b23116, []int{32}
}
func (m *CreateIndexRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateIndexRequest.Unmarshal(m, b)
}
func (m *CreateIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateIndexRequest.Marshal(b, m, deterministic)
}
func (m *CreateIndexRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateIndexRequest.Merge(m, src)
}
func (m *CreateIndexRequest) XXX_Size() int {
return xxx_messageInfo_CreateIndexRequest.Size(m)
}
func (m *CreateIndexRequest) XXX_DiscardUnknown() {
xxx_messageInfo_CreateIndexRequest.DiscardUnknown(m)
}
var xxx_messageInfo_CreateIndexRequest proto.InternalMessageInfo
func (m *CreateIndexRequest) GetMsgType() MsgType {
if m != nil {
return m.MsgType
}
return MsgType_kNone
}
func (m *CreateIndexRequest) GetReqID() int64 {
if m != nil {
return m.ReqID
}
return 0
}
func (m *CreateIndexRequest) GetTimestamp() uint64 {
if m != nil {
return m.Timestamp
}
return 0
}
func (m *CreateIndexRequest) GetProxyID() int64 {
if m != nil {
return m.ProxyID
}
return 0
}
func (m *CreateIndexRequest) GetCollectionName() string {
if m != nil {
return m.CollectionName
}
return ""
}
func (m *CreateIndexRequest) GetFieldName() string {
if m != nil {
return m.FieldName
}
return ""
}
func (m *CreateIndexRequest) GetIndexName() string {
if m != nil {
return m.IndexName
}
return ""
}
func (m *CreateIndexRequest) GetExtraParams() []*commonpb.KeyValuePair {
if m != nil {
return m.ExtraParams
}
return nil
}
type DescribeIndexRequest struct {
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
ReqID int64 `protobuf:"varint,2,opt,name=reqID,proto3" json:"reqID,omitempty"`
Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
ProxyID int64 `protobuf:"varint,4,opt,name=proxyID,proto3" json:"proxyID,omitempty"`
CollectionName string `protobuf:"bytes,5,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
FieldName string `protobuf:"bytes,6,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
IndexName string `protobuf:"bytes,7,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
ExtraParams []*commonpb.KeyValuePair `protobuf:"bytes,8,rep,name=extra_params,json=extraParams,proto3" json:"extra_params,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DescribeIndexRequest) Reset() { *m = DescribeIndexRequest{} }
func (m *DescribeIndexRequest) String() string { return proto.CompactTextString(m) }
func (*DescribeIndexRequest) ProtoMessage() {}
func (*DescribeIndexRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_7eb37f6b80b23116, []int{33}
}
func (m *DescribeIndexRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DescribeIndexRequest.Unmarshal(m, b)
}
func (m *DescribeIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DescribeIndexRequest.Marshal(b, m, deterministic)
}
func (m *DescribeIndexRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_DescribeIndexRequest.Merge(m, src)
}
func (m *DescribeIndexRequest) XXX_Size() int {
return xxx_messageInfo_DescribeIndexRequest.Size(m)
}
func (m *DescribeIndexRequest) XXX_DiscardUnknown() {
xxx_messageInfo_DescribeIndexRequest.DiscardUnknown(m)
}
var xxx_messageInfo_DescribeIndexRequest proto.InternalMessageInfo
func (m *DescribeIndexRequest) GetMsgType() MsgType {
if m != nil {
return m.MsgType
}
return MsgType_kNone
}
func (m *DescribeIndexRequest) GetReqID() int64 {
if m != nil {
return m.ReqID
}
return 0
}
func (m *DescribeIndexRequest) GetTimestamp() uint64 {
if m != nil {
return m.Timestamp
}
return 0
}
func (m *DescribeIndexRequest) GetProxyID() int64 {
if m != nil {
return m.ProxyID
}
return 0
}
func (m *DescribeIndexRequest) GetCollectionName() string {
if m != nil {
return m.CollectionName
}
return ""
}
func (m *DescribeIndexRequest) GetFieldName() string {
if m != nil {
return m.FieldName
}
return ""
}
func (m *DescribeIndexRequest) GetIndexName() string {
if m != nil {
return m.IndexName
}
return ""
}
func (m *DescribeIndexRequest) GetExtraParams() []*commonpb.KeyValuePair {
if m != nil {
return m.ExtraParams
}
return nil
}
type DescribeIndexProgressRequest struct {
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
ReqID int64 `protobuf:"varint,2,opt,name=reqID,proto3" json:"reqID,omitempty"`
Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
ProxyID int64 `protobuf:"varint,4,opt,name=proxyID,proto3" json:"proxyID,omitempty"`
CollectionName string `protobuf:"bytes,5,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
FieldName string `protobuf:"bytes,6,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
IndexName string `protobuf:"bytes,7,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
ExtraParams []*commonpb.KeyValuePair `protobuf:"bytes,8,rep,name=extra_params,json=extraParams,proto3" json:"extra_params,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DescribeIndexProgressRequest) Reset() { *m = DescribeIndexProgressRequest{} }
func (m *DescribeIndexProgressRequest) String() string { return proto.CompactTextString(m) }
func (*DescribeIndexProgressRequest) ProtoMessage() {}
func (*DescribeIndexProgressRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_7eb37f6b80b23116, []int{34}
}
func (m *DescribeIndexProgressRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DescribeIndexProgressRequest.Unmarshal(m, b)
}
func (m *DescribeIndexProgressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DescribeIndexProgressRequest.Marshal(b, m, deterministic)
}
func (m *DescribeIndexProgressRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_DescribeIndexProgressRequest.Merge(m, src)
}
func (m *DescribeIndexProgressRequest) XXX_Size() int {
return xxx_messageInfo_DescribeIndexProgressRequest.Size(m)
}
func (m *DescribeIndexProgressRequest) XXX_DiscardUnknown() {
xxx_messageInfo_DescribeIndexProgressRequest.DiscardUnknown(m)
}
var xxx_messageInfo_DescribeIndexProgressRequest proto.InternalMessageInfo
func (m *DescribeIndexProgressRequest) GetMsgType() MsgType {
if m != nil {
return m.MsgType
}
return MsgType_kNone
}
func (m *DescribeIndexProgressRequest) GetReqID() int64 {
if m != nil {
return m.ReqID
}
return 0
}
func (m *DescribeIndexProgressRequest) GetTimestamp() uint64 {
if m != nil {
return m.Timestamp
}
return 0
}
func (m *DescribeIndexProgressRequest) GetProxyID() int64 {
if m != nil {
return m.ProxyID
}
return 0
}
func (m *DescribeIndexProgressRequest) GetCollectionName() string {
if m != nil {
return m.CollectionName
}
return ""
}
func (m *DescribeIndexProgressRequest) GetFieldName() string {
if m != nil {
return m.FieldName
}
return ""
}
func (m *DescribeIndexProgressRequest) GetIndexName() string {
if m != nil {
return m.IndexName
}
return ""
}
func (m *DescribeIndexProgressRequest) GetExtraParams() []*commonpb.KeyValuePair {
if m != nil {
return m.ExtraParams
}
return nil
}
func init() {
proto.RegisterEnum("milvus.proto.internal.MsgType", MsgType_name, MsgType_value)
proto.RegisterEnum("milvus.proto.internal.PeerRole", PeerRole_name, PeerRole_value)
......@@ -2358,118 +2643,127 @@ func init() {
proto.RegisterType((*FieldStats)(nil), "milvus.proto.internal.FieldStats")
proto.RegisterType((*SegmentStats)(nil), "milvus.proto.internal.SegmentStats")
proto.RegisterType((*QueryNodeStats)(nil), "milvus.proto.internal.QueryNodeStats")
proto.RegisterType((*CreateIndexRequest)(nil), "milvus.proto.internal.CreateIndexRequest")
proto.RegisterType((*DescribeIndexRequest)(nil), "milvus.proto.internal.DescribeIndexRequest")
proto.RegisterType((*DescribeIndexProgressRequest)(nil), "milvus.proto.internal.DescribeIndexProgressRequest")
}
func init() { proto.RegisterFile("internal_msg.proto", fileDescriptor_7eb37f6b80b23116) }
var fileDescriptor_7eb37f6b80b23116 = []byte{
// 1723 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x58, 0xcd, 0x6f, 0x23, 0x49,
0xf9, 0xde, 0x72, 0xfb, 0xf3, 0xb5, 0xe3, 0xf4, 0x54, 0x92, 0x19, 0xcf, 0xee, 0x4f, 0x3b, 0x99,
0x9e, 0x9f, 0x20, 0x2c, 0x22, 0x81, 0x0c, 0x07, 0xf6, 0x06, 0x89, 0xb5, 0xac, 0x19, 0x32, 0x0a,
0x9d, 0x68, 0x91, 0xd0, 0x4a, 0xad, 0x8e, 0xfd, 0xc6, 0x2e, 0xf5, 0x97, 0x53, 0xd5, 0x9e, 0x8c,
0xe7, 0x80, 0x84, 0x34, 0x07, 0x4e, 0x88, 0x0f, 0x71, 0xe0, 0x04, 0x47, 0x4e, 0x2b, 0x16, 0xee,
0x9c, 0xf9, 0x3a, 0xf1, 0x5f, 0xc0, 0x01, 0x24, 0x58, 0x0e, 0xdc, 0x50, 0x55, 0xf5, 0x87, 0x3b,
0xb1, 0x9d, 0x11, 0xc9, 0x2c, 0x83, 0x96, 0x5b, 0xd5, 0xdb, 0xd5, 0x55, 0xef, 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0x9b, 0x50, 0xf5, 0x54, 0x82,
0x37, 0x7f, 0xa8, 0x3f, 0xe9, 0xe3, 0xd9, 0xfc, 0xc8, 0x50, 0x2b, 0xcf, 0x1e, 0xd6, 0xe6, 0x3f,
0x0c, 0xda, 0x86, 0x86, 0x97, 0x1e, 0x48, 0xe6, 0x2f, 0x1a, 0x6a, 0xc1, 0x62, 0x3c, 0x99, 0x1f,
0x36, 0xe8, 0x2a, 0x80, 0x97, 0xe5, 0x2d, 0xf3, 0x97, 0x8d, 0xb7, 0xde, 0x86, 0x7a, 0x5a, 0xe0,
0xa7, 0x00, 0xd5, 0x03, 0x57, 0xc4, 0xc8, 0xcd, 0xd7, 0x64, 0xdb, 0x46, 0x77, 0x80, 0xdc, 0x24,
0xb2, 0xfd, 0x4d, 0xce, 0xa4, 0xbd, 0x24, 0xe5, 0x3a, 0x94, 0x27, 0xb0, 0x69, 0xec, 0x75, 0xbf,
0xb5, 0x37, 0x64, 0xf1, 0x68, 0x72, 0x22, 0xf3, 0xc6, 0xce, 0x33, 0xe6, 0xfb, 0xec, 0x59, 0x8c,
0xfd, 0xd1, 0x8e, 0x8e, 0x85, 0xcf, 0x0d, 0x98, 0x88, 0x39, 0x3b, 0x99, 0xc4, 0x38, 0xd8, 0x49,
0x23, 0x62, 0x47, 0x05, 0x48, 0xd6, 0x1d, 0x9f, 0x9c, 0x54, 0x95, 0xe5, 0xe1, 0xbf, 0x02, 0x00,
0x00, 0xff, 0xff, 0x3b, 0xdf, 0x6d, 0x19, 0x51, 0x1b, 0x00, 0x00,
// 1812 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x59, 0xcd, 0x6f, 0x23, 0x49,
0x15, 0xdf, 0xee, 0xf6, 0x57, 0x3f, 0x3b, 0x4e, 0x4f, 0x25, 0x99, 0xf1, 0xec, 0x2e, 0x3b, 0x99,
0x1e, 0xc4, 0x86, 0x45, 0x24, 0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x7e, 0xad, 0x8b, 0x03, 0x8b, 0x4f, 0x88, 0xf1, 0xa1, 0x4e, 0x96, 0x01, 0xbc, 0x2c, 0x55, 0x31,
0x7e, 0xa3, 0xbf, 0xf5, 0x36, 0xd4, 0xd2, 0xff, 0xf4, 0x08, 0x40, 0x65, 0xcf, 0x61, 0x31, 0x52,
0xe3, 0x15, 0xfe, 0x6d, 0xa1, 0xd3, 0x43, 0x6a, 0x28, 0xfc, 0xfb, 0x3b, 0xd4, 0xe5, 0x72, 0x95,
0xd3, 0xb5, 0xcf, 0x5d, 0xce, 0xd0, 0x76, 0xda, 0xdf, 0xdd, 0xe9, 0xbb, 0xf1, 0x60, 0x74, 0xc4,
0x09, 0xdf, 0x7a, 0xea, 0xfa, 0xbe, 0xfb, 0x34, 0xc6, 0xee, 0x60, 0x4b, 0x3a, 0xc3, 0x17, 0x7b,
0x2e, 0x8b, 0xa9, 0x7b, 0x34, 0x8a, 0xb1, 0xb7, 0x95, 0x5e, 0x83, 0x2d, 0xe1, 0x21, 0xd9, 0x70,
0x78, 0x74, 0x54, 0x11, 0x92, 0x87, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0xb4, 0xb3, 0x05, 0xc2,
0x44, 0x1f, 0x00, 0x00,
}
......@@ -102,4 +102,8 @@ service Master {
rpc AllocID(internal.IDRequest) returns (internal.IDResponse) {}
rpc AssignSegmentID(internal.AssignSegIDRequest) returns (internal.AssignSegIDResponse) {}
rpc CreateIndex(internal.CreateIndexRequest) returns (common.Status) {}
rpc DescribeIndex(internal.DescribeIndexRequest) returns (service.DescribeIndexResponse) {}
rpc DescribeIndexProgress(internal.DescribeIndexProgressRequest) returns (service.BoolResponse) {}
}
......@@ -30,38 +30,41 @@ const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
func init() { proto.RegisterFile("master.proto", fileDescriptor_f9c348dec43a6705) }
var fileDescriptor_f9c348dec43a6705 = []byte{
// 484 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08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5, 0x05, 0x3f, 0x71, 0x58, 0xae, 0x51, 0x39, 0xda, 0x63, 0x23, 0x4d,
0xf4, 0x25, 0x7b, 0x50, 0x45, 0xcf, 0x03, 0xfe, 0xd4, 0x71, 0x61, 0x1e, 0x98, 0xc8, 0x93, 0x3d,
0x44, 0x93, 0xf8, 0x8d, 0x0d, 0xce, 0x11, 0x45, 0x2a, 0x43, 0x48, 0x73, 0x90, 0x34, 0x0f, 0xf8,
0x73, 0xc7, 0xbd, 0x86, 0x6b, 0x15, 0xe3, 0x43, 0x50, 0xe3, 0x9a, 0x4e, 0x3f, 0xbe, 0x49, 0x05,
0x2d, 0xca, 0x78, 0x35, 0xd8, 0xfe, 0x52, 0x64, 0x99, 0x58, 0x12, 0x24, 0x0b, 0xbf, 0x0e, 0x39,
0xbb, 0x15, 0x48, 0x5a, 0xc4, 0x25, 0xc1, 0xad, 0x6f, 0xa2, 0xfc, 0x2a, 0xd9, 0xaf, 0x3f, 0x04,
0x45, 0x1c, 0x1f, 0x55, 0xeb, 0xd7, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x8d, 0x75, 0x7d, 0xec,
0x36, 0x06, 0x00, 0x00,
// 538 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x95, 0x5f, 0x6f, 0xd3, 0x3c,
0x14, 0x87, 0x7b, 0xb5, 0x57, 0xf2, 0xdb, 0x3f, 0xcc, 0x88, 0x9b, 0x72, 0xc3, 0x7a, 0x33, 0x68,
0x59, 0x82, 0xd8, 0x17, 0x60, 0x6d, 0x24, 0x56, 0x09, 0xa4, 0x6a, 0x99, 0x84, 0x00, 0xa1, 0x91,
0xa4, 0x87, 0xd4, 0x2c, 0xb1, 0x83, 0x8f, 0x33, 0x60, 0xdf, 0x90, 0x6f, 0x85, 0x9a, 0xd4, 0x49,
0xbc, 0xd6, 0x5d, 0xc6, 0x5d, 0x13, 0x3f, 0xe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xa7, 0xc1, 0xb4, 0xbc, 0x17, 0xd7, 0xa4, 0xa7,
0x67, 0xb1, 0x8c, 0x9e, 0xdc, 0x33, 0xb1, 0x46, 0xb8, 0xe5, 0xf7, 0xea, 0x0e, 0xdb, 0xb8, 0x22,
0x4f, 0x8c, 0xa5, 0x85, 0x14, 0xb1, 0x04, 0x44, 0x7a, 0xda, 0x46, 0xaa, 0xe9, 0x07, 0x5d, 0xcb,
0xe9, 0xf4, 0xd3, 0x9b, 0x98, 0xa9, 0x55, 0x1e, 0xae, 0xb7, 0xee, 0xde, 0xb2, 0x24, 0x61, 0xb7,
0x0a, 0xa2, 0x95, 0x5b, 0x16, 0x9f, 0x2c, 0x19, 0x2a, 0xc9, 0xc2, 0x5c, 0xc1, 0xd2, 0xd5, 0x5e,
0xb7, 0x48, 0x74, 0xcb, 0xbf, 0xd0, 0x2c, 0x0c, 0x0f, 0x8a, 0xe7, 0xd3, 0xbf, 0x01, 0x00, 0x00,
0xff, 0xff, 0x42, 0xb7, 0x2a, 0xc4, 0x70, 0x07, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
......@@ -146,6 +149,9 @@ type MasterClient interface {
AllocTimestamp(ctx context.Context, in *internalpb.TsoRequest, opts ...grpc.CallOption) (*internalpb.TsoResponse, error)
AllocID(ctx context.Context, in *internalpb.IDRequest, opts ...grpc.CallOption) (*internalpb.IDResponse, error)
AssignSegmentID(ctx context.Context, in *internalpb.AssignSegIDRequest, opts ...grpc.CallOption) (*internalpb.AssignSegIDResponse, error)
CreateIndex(ctx context.Context, in *internalpb.CreateIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
DescribeIndex(ctx context.Context, in *internalpb.DescribeIndexRequest, opts ...grpc.CallOption) (*servicepb.DescribeIndexResponse, error)
DescribeIndexProgress(ctx context.Context, in *internalpb.DescribeIndexProgressRequest, opts ...grpc.CallOption) (*servicepb.BoolResponse, error)
}
type masterClient struct {
......@@ -282,6 +288,33 @@ func (c *masterClient) AssignSegmentID(ctx context.Context, in *internalpb.Assig
return out, nil
}
func (c *masterClient) CreateIndex(ctx context.Context, in *internalpb.CreateIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
out := new(commonpb.Status)
err := c.cc.Invoke(ctx, "/milvus.proto.master.Master/CreateIndex", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *masterClient) DescribeIndex(ctx context.Context, in *internalpb.DescribeIndexRequest, opts ...grpc.CallOption) (*servicepb.DescribeIndexResponse, error) {
out := new(servicepb.DescribeIndexResponse)
err := c.cc.Invoke(ctx, "/milvus.proto.master.Master/DescribeIndex", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *masterClient) DescribeIndexProgress(ctx context.Context, in *internalpb.DescribeIndexProgressRequest, opts ...grpc.CallOption) (*servicepb.BoolResponse, error) {
out := new(servicepb.BoolResponse)
err := c.cc.Invoke(ctx, "/milvus.proto.master.Master/DescribeIndexProgress", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// MasterServer is the server API for Master service.
type MasterServer interface {
//*
......@@ -354,6 +387,9 @@ type MasterServer interface {
AllocTimestamp(context.Context, *internalpb.TsoRequest) (*internalpb.TsoResponse, error)
AllocID(context.Context, *internalpb.IDRequest) (*internalpb.IDResponse, error)
AssignSegmentID(context.Context, *internalpb.AssignSegIDRequest) (*internalpb.AssignSegIDResponse, error)
CreateIndex(context.Context, *internalpb.CreateIndexRequest) (*commonpb.Status, error)
DescribeIndex(context.Context, *internalpb.DescribeIndexRequest) (*servicepb.DescribeIndexResponse, error)
DescribeIndexProgress(context.Context, *internalpb.DescribeIndexProgressRequest) (*servicepb.BoolResponse, error)
}
// UnimplementedMasterServer can be embedded to have forward compatible implementations.
......@@ -402,6 +438,15 @@ func (*UnimplementedMasterServer) AllocID(ctx context.Context, req *internalpb.I
func (*UnimplementedMasterServer) AssignSegmentID(ctx context.Context, req *internalpb.AssignSegIDRequest) (*internalpb.AssignSegIDResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method AssignSegmentID not implemented")
}
func (*UnimplementedMasterServer) CreateIndex(ctx context.Context, req *internalpb.CreateIndexRequest) (*commonpb.Status, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateIndex not implemented")
}
func (*UnimplementedMasterServer) DescribeIndex(ctx context.Context, req *internalpb.DescribeIndexRequest) (*servicepb.DescribeIndexResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method DescribeIndex not implemented")
}
func (*UnimplementedMasterServer) DescribeIndexProgress(ctx context.Context, req *internalpb.DescribeIndexProgressRequest) (*servicepb.BoolResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method DescribeIndexProgress not implemented")
}
func RegisterMasterServer(s *grpc.Server, srv MasterServer) {
s.RegisterService(&_Master_serviceDesc, srv)
......@@ -659,6 +704,60 @@ func _Master_AssignSegmentID_Handler(srv interface{}, ctx context.Context, dec f
return interceptor(ctx, in, info, handler)
}
func _Master_CreateIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(internalpb.CreateIndexRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MasterServer).CreateIndex(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/milvus.proto.master.Master/CreateIndex",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MasterServer).CreateIndex(ctx, req.(*internalpb.CreateIndexRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Master_DescribeIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(internalpb.DescribeIndexRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MasterServer).DescribeIndex(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/milvus.proto.master.Master/DescribeIndex",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MasterServer).DescribeIndex(ctx, req.(*internalpb.DescribeIndexRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Master_DescribeIndexProgress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(internalpb.DescribeIndexProgressRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MasterServer).DescribeIndexProgress(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/milvus.proto.master.Master/DescribeIndexProgress",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MasterServer).DescribeIndexProgress(ctx, req.(*internalpb.DescribeIndexProgressRequest))
}
return interceptor(ctx, in, info, handler)
}
var _Master_serviceDesc = grpc.ServiceDesc{
ServiceName: "milvus.proto.master.Master",
HandlerType: (*MasterServer)(nil),
......@@ -719,6 +818,18 @@ var _Master_serviceDesc = grpc.ServiceDesc{
MethodName: "AssignSegmentID",
Handler: _Master_AssignSegmentID_Handler,
},
{
MethodName: "CreateIndex",
Handler: _Master_CreateIndex_Handler,
},
{
MethodName: "DescribeIndex",
Handler: _Master_DescribeIndex_Handler,
},
{
MethodName: "DescribeIndexProgress",
Handler: _Master_DescribeIndexProgress_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "master.proto",
......
......@@ -105,4 +105,31 @@ service MilvusService {
* @return QueryResult
*/
rpc Search(Query) returns (QueryResult) {}
/**
* @brief This method is used to build index by collection in sync mode.
*
* @param IndexParam, index paramters.
*
* @return Status
*/
rpc CreateIndex(IndexParam) returns (common.Status) {}
/**
* @brief This method is used to describe index
*
* @param IndexParam, target index.
*
* @return IndexParam
*/
rpc DescribeIndex(IndexParam) returns (DescribeIndexResponse) {}
/**
* @brief This method is used to query index building progress
*
* @param IndexParam, target index.
*
* @return IndexParam
*/
rpc DescribeIndexProgress(IndexParam) returns (BoolResponse) {}
}
\ No newline at end of file
......@@ -162,3 +162,34 @@ message QueryResult {
repeated bytes hits = 2;
}
/**
* @brief Index params
* @collection_name: target collection
* @field_name: target field
* @index_name: a name for index provided by user, unique within this field
* @extra_params: index parameters in json format
* for vector field:
* extra_params["index_type"] = one of the values: FLAT, IVF_LAT, IVF_SQ8, NSGMIX, IVFSQ8H,
* PQ, HNSW, HNSW_SQ8NM, ANNOY
* extra_params["metric_type"] = one of the values: L2, IP, HAMMING, JACCARD, TANIMOTO
* SUBSTRUCTURE, SUPERSTRUCTURE
* extra_params["params"] = extra parameters for index, for example ivflat: {nlist: 2048}
* for structured field:
* extra_params["index_type"] = one of the values: SORTED
*/
message IndexParam {
string collection_name = 2;
string field_name = 3;
string index_name = 4;
repeated common.KeyValuePair extra_params = 5;
}
message DescribeIndexResponse {
common.Status status = 1;
string collection_name = 2;
string field_name = 3;
string index_name = 4;
repeated common.KeyValuePair extra_params = 5;
}
......@@ -29,33 +29,36 @@ const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
func init() { proto.RegisterFile("service.proto", fileDescriptor_a0b84a42fa06f626) }
var fileDescriptor_a0b84a42fa06f626 = []byte{
// 412 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x92, 0x51, 0x6b, 0xd4, 0x40,
0x10, 0xc7, 0xf3, 0x74, 0xc8, 0x72, 0x69, 0xed, 0xe2, 0x53, 0x0a, 0x82, 0x51, 0x41, 0x14, 0x13,
0xd0, 0x4f, 0xe0, 0x5d, 0x85, 0x56, 0x54, 0x34, 0xa1, 0x62, 0xf5, 0x41, 0x36, 0xdb, 0x31, 0x59,
0xd8, 0xec, 0x86, 0x9d, 0x49, 0x4b, 0xfb, 0x51, 0xfd, 0x34, 0x92, 0x6c, 0xec, 0xe5, 0x20, 0x7a,
0x17, 0xf0, 0x2d, 0xfb, 0x9f, 0xff, 0xfc, 0x76, 0x26, 0xff, 0x65, 0x21, 0x82, 0xbb, 0x52, 0x12,
0x92, 0xc6, 0x59, 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xf4, 0xff, 0x42, 0x2f, 0xd8, 0xf2, 0x54,
0xe0, 0x4c, 0xe6, 0x7e, 0x61, 0xfe, 0x64, 0x47, 0x7f, 0xc2, 0x9c, 0xc9, 0x7f, 0xbe, 0xc3, 0xb4,
0x9d, 0x64, 0xc1, 0x0e, 0xba, 0x24, 0xef, 0xaa, 0xb8, 0xe7, 0x83, 0x99, 0x13, 0xe9, 0x17, 0xb6,
0x38, 0x33, 0x08, 0x8e, 0xf8, 0xc3, 0xe9, 0xae, 0xcc, 0x5e, 0xaf, 0x04, 0xc9, 0xea, 0x6f, 0xb3,
0x9f, 0x19, 0x82, 0x12, 0x5c, 0x26, 0x4c, 0x09, 0x23, 0xee, 0x3b, 0xb6, 0xc8, 0x41, 0x38, 0x59,
0xf1, 0xe3, 0xe9, 0xbe, 0xcf, 0x2d, 0xb8, 0x9b, 0xe8, 0xd1, 0x3f, 0x8a, 0x19, 0x60, 0xab, 0x29,
0x0e, 0x56, 0xeb, 0x6f, 0x6f, 0x4a, 0x45, 0x55, 0x5b, 0x74, 0x21, 0xa7, 0xb7, 0x4a, 0x6b, 0x75,
0x4b, 0x20, 0xab, 0xd4, 0xf7, 0xbe, 0xbc, 0x54, 0x48, 0x4e, 0x15, 0x2d, 0xc1, 0x65, 0xaa, 0x0c,
0x81, 0x33, 0x42, 0xa7, 0x3d, 0x30, 0x1d, 0x80, 0x4d, 0x51, 0x2c, 0x7a, 0xe1, 0xf5, 0xef, 0x00,
0x00, 0x00, 0xff, 0xff, 0x36, 0x07, 0xbc, 0xa2, 0xfe, 0x04, 0x00, 0x00,
// 464 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x93, 0xcf, 0x6e, 0xd3, 0x40,
0x10, 0xc6, 0x73, 0xca, 0x61, 0x88, 0x5b, 0xba, 0x82, 0x8b, 0x2b, 0x21, 0x30, 0x20, 0x21, 0x10,
0xb1, 0x04, 0x4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xb5, 0x82, 0xb3, 0xf9, 0x8f, 0x0f, 0xb1, 0xe2, 0xa4, 0x08, 0x37, 0xe6, 0xfc,
0x1b, 0x95, 0xa6, 0xea, 0x86, 0x31, 0x4a, 0xfc, 0x6a, 0xf8, 0xed, 0x5a, 0x11, 0x5b, 0x15, 0x16,
0x8c, 0x6b, 0x5f, 0x69, 0x46, 0xab, 0x65, 0xea, 0x97, 0x44, 0xbf, 0x26, 0xe6, 0x61, 0x38, 0x2e,
0x0b, 0xef, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x9b, 0xf8, 0xbc, 0x74, 0x11, 0x06, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
......@@ -144,6 +147,27 @@ type MilvusServiceClient interface {
//
// @return QueryResult
Search(ctx context.Context, in *Query, opts ...grpc.CallOption) (*QueryResult, error)
//*
// @brief This method is used to build index by collection in sync mode.
//
// @param IndexParam, index paramters.
//
// @return Status
CreateIndex(ctx context.Context, in *IndexParam, opts ...grpc.CallOption) (*commonpb.Status, error)
//*
// @brief This method is used to describe index
//
// @param IndexParam, target index.
//
// @return IndexParam
DescribeIndex(ctx context.Context, in *IndexParam, opts ...grpc.CallOption) (*DescribeIndexResponse, error)
//*
// @brief This method is used to query index building progress
//
// @param IndexParam, target index.
//
// @return IndexParam
DescribeIndexProgress(ctx context.Context, in *IndexParam, opts ...grpc.CallOption) (*BoolResponse, error)
}
type milvusServiceClient struct {
......@@ -262,6 +286,33 @@ func (c *milvusServiceClient) Search(ctx context.Context, in *Query, opts ...grp
return out, nil
}
func (c *milvusServiceClient) CreateIndex(ctx context.Context, in *IndexParam, opts ...grpc.CallOption) (*commonpb.Status, error) {
out := new(commonpb.Status)
err := c.cc.Invoke(ctx, "/milvus.proto.service.MilvusService/CreateIndex", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *milvusServiceClient) DescribeIndex(ctx context.Context, in *IndexParam, opts ...grpc.CallOption) (*DescribeIndexResponse, error) {
out := new(DescribeIndexResponse)
err := c.cc.Invoke(ctx, "/milvus.proto.service.MilvusService/DescribeIndex", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *milvusServiceClient) DescribeIndexProgress(ctx context.Context, in *IndexParam, opts ...grpc.CallOption) (*BoolResponse, error) {
out := new(BoolResponse)
err := c.cc.Invoke(ctx, "/milvus.proto.service.MilvusService/DescribeIndexProgress", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// MilvusServiceServer is the server API for MilvusService service.
type MilvusServiceServer interface {
//*
......@@ -338,6 +389,27 @@ type MilvusServiceServer interface {
//
// @return QueryResult
Search(context.Context, *Query) (*QueryResult, error)
//*
// @brief This method is used to build index by collection in sync mode.
//
// @param IndexParam, index paramters.
//
// @return Status
CreateIndex(context.Context, *IndexParam) (*commonpb.Status, error)
//*
// @brief This method is used to describe index
//
// @param IndexParam, target index.
//
// @return IndexParam
DescribeIndex(context.Context, *IndexParam) (*DescribeIndexResponse, error)
//*
// @brief This method is used to query index building progress
//
// @param IndexParam, target index.
//
// @return IndexParam
DescribeIndexProgress(context.Context, *IndexParam) (*BoolResponse, error)
}
// UnimplementedMilvusServiceServer can be embedded to have forward compatible implementations.
......@@ -380,6 +452,15 @@ func (*UnimplementedMilvusServiceServer) Insert(ctx context.Context, req *RowBat
func (*UnimplementedMilvusServiceServer) Search(ctx context.Context, req *Query) (*QueryResult, error) {
return nil, status.Errorf(codes.Unimplemented, "method Search not implemented")
}
func (*UnimplementedMilvusServiceServer) CreateIndex(ctx context.Context, req *IndexParam) (*commonpb.Status, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateIndex not implemented")
}
func (*UnimplementedMilvusServiceServer) DescribeIndex(ctx context.Context, req *IndexParam) (*DescribeIndexResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method DescribeIndex not implemented")
}
func (*UnimplementedMilvusServiceServer) DescribeIndexProgress(ctx context.Context, req *IndexParam) (*BoolResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method DescribeIndexProgress not implemented")
}
func RegisterMilvusServiceServer(s *grpc.Server, srv MilvusServiceServer) {
s.RegisterService(&_MilvusService_serviceDesc, srv)
......@@ -601,6 +682,60 @@ func _MilvusService_Search_Handler(srv interface{}, ctx context.Context, dec fun
return interceptor(ctx, in, info, handler)
}
func _MilvusService_CreateIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(IndexParam)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MilvusServiceServer).CreateIndex(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/milvus.proto.service.MilvusService/CreateIndex",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MilvusServiceServer).CreateIndex(ctx, req.(*IndexParam))
}
return interceptor(ctx, in, info, handler)
}
func _MilvusService_DescribeIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(IndexParam)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MilvusServiceServer).DescribeIndex(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/milvus.proto.service.MilvusService/DescribeIndex",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MilvusServiceServer).DescribeIndex(ctx, req.(*IndexParam))
}
return interceptor(ctx, in, info, handler)
}
func _MilvusService_DescribeIndexProgress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(IndexParam)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MilvusServiceServer).DescribeIndexProgress(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/milvus.proto.service.MilvusService/DescribeIndexProgress",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MilvusServiceServer).DescribeIndexProgress(ctx, req.(*IndexParam))
}
return interceptor(ctx, in, info, handler)
}
var _MilvusService_serviceDesc = grpc.ServiceDesc{
ServiceName: "milvus.proto.service.MilvusService",
HandlerType: (*MilvusServiceServer)(nil),
......@@ -653,6 +788,18 @@ var _MilvusService_serviceDesc = grpc.ServiceDesc{
MethodName: "Search",
Handler: _MilvusService_Search_Handler,
},
{
MethodName: "CreateIndex",
Handler: _MilvusService_CreateIndex_Handler,
},
{
MethodName: "DescribeIndex",
Handler: _MilvusService_DescribeIndex_Handler,
},
{
MethodName: "DescribeIndexProgress",
Handler: _MilvusService_DescribeIndexProgress_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "service.proto",
......
......@@ -900,6 +900,154 @@ func (m *QueryResult) GetHits() [][]byte {
return nil
}
//*
// @brief Index params
// @collection_name: target collection
// @field_name: target field
// @index_name: a name for index provided by user, unique within this field
// @extra_params: index parameters in json format
// for vector field:
// extra_params["index_type"] = one of the values: FLAT, IVF_LAT, IVF_SQ8, NSGMIX, IVFSQ8H,
// PQ, HNSW, HNSW_SQ8NM, ANNOY
// extra_params["metric_type"] = one of the values: L2, IP, HAMMING, JACCARD, TANIMOTO
// SUBSTRUCTURE, SUPERSTRUCTURE
// extra_params["params"] = extra parameters for index, for example ivflat: {nlist: 2048}
// for structured field:
// extra_params["index_type"] = one of the values: SORTED
type IndexParam struct {
CollectionName string `protobuf:"bytes,2,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
FieldName string `protobuf:"bytes,3,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
IndexName string `protobuf:"bytes,4,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
ExtraParams []*commonpb.KeyValuePair `protobuf:"bytes,5,rep,name=extra_params,json=extraParams,proto3" json:"extra_params,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *IndexParam) Reset() { *m = IndexParam{} }
func (m *IndexParam) String() string { return proto.CompactTextString(m) }
func (*IndexParam) ProtoMessage() {}
func (*IndexParam) Descriptor() ([]byte, []int) {
return fileDescriptor_b4b40b84dd2f74cb, []int{16}
}
func (m *IndexParam) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_IndexParam.Unmarshal(m, b)
}
func (m *IndexParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_IndexParam.Marshal(b, m, deterministic)
}
func (m *IndexParam) XXX_Merge(src proto.Message) {
xxx_messageInfo_IndexParam.Merge(m, src)
}
func (m *IndexParam) XXX_Size() int {
return xxx_messageInfo_IndexParam.Size(m)
}
func (m *IndexParam) XXX_DiscardUnknown() {
xxx_messageInfo_IndexParam.DiscardUnknown(m)
}
var xxx_messageInfo_IndexParam proto.InternalMessageInfo
func (m *IndexParam) GetCollectionName() string {
if m != nil {
return m.CollectionName
}
return ""
}
func (m *IndexParam) GetFieldName() string {
if m != nil {
return m.FieldName
}
return ""
}
func (m *IndexParam) GetIndexName() string {
if m != nil {
return m.IndexName
}
return ""
}
func (m *IndexParam) GetExtraParams() []*commonpb.KeyValuePair {
if m != nil {
return m.ExtraParams
}
return nil
}
type DescribeIndexResponse struct {
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
CollectionName string `protobuf:"bytes,2,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
FieldName string `protobuf:"bytes,3,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
IndexName string `protobuf:"bytes,4,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
ExtraParams []*commonpb.KeyValuePair `protobuf:"bytes,5,rep,name=extra_params,json=extraParams,proto3" json:"extra_params,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DescribeIndexResponse) Reset() { *m = DescribeIndexResponse{} }
func (m *DescribeIndexResponse) String() string { return proto.CompactTextString(m) }
func (*DescribeIndexResponse) ProtoMessage() {}
func (*DescribeIndexResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_b4b40b84dd2f74cb, []int{17}
}
func (m *DescribeIndexResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DescribeIndexResponse.Unmarshal(m, b)
}
func (m *DescribeIndexResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DescribeIndexResponse.Marshal(b, m, deterministic)
}
func (m *DescribeIndexResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_DescribeIndexResponse.Merge(m, src)
}
func (m *DescribeIndexResponse) XXX_Size() int {
return xxx_messageInfo_DescribeIndexResponse.Size(m)
}
func (m *DescribeIndexResponse) XXX_DiscardUnknown() {
xxx_messageInfo_DescribeIndexResponse.DiscardUnknown(m)
}
var xxx_messageInfo_DescribeIndexResponse proto.InternalMessageInfo
func (m *DescribeIndexResponse) GetStatus() *commonpb.Status {
if m != nil {
return m.Status
}
return nil
}
func (m *DescribeIndexResponse) GetCollectionName() string {
if m != nil {
return m.CollectionName
}
return ""
}
func (m *DescribeIndexResponse) GetFieldName() string {
if m != nil {
return m.FieldName
}
return ""
}
func (m *DescribeIndexResponse) GetIndexName() string {
if m != nil {
return m.IndexName
}
return ""
}
func (m *DescribeIndexResponse) GetExtraParams() []*commonpb.KeyValuePair {
if m != nil {
return m.ExtraParams
}
return nil
}
func init() {
proto.RegisterEnum("milvus.proto.service.PlaceholderType", PlaceholderType_name, PlaceholderType_value)
proto.RegisterType((*CollectionName)(nil), "milvus.proto.service.CollectionName")
......@@ -918,58 +1066,65 @@ func init() {
proto.RegisterType((*SysConfigResponse)(nil), "milvus.proto.service.SysConfigResponse")
proto.RegisterType((*Hits)(nil), "milvus.proto.service.Hits")
proto.RegisterType((*QueryResult)(nil), "milvus.proto.service.QueryResult")
proto.RegisterType((*IndexParam)(nil), "milvus.proto.service.IndexParam")
proto.RegisterType((*DescribeIndexResponse)(nil), "milvus.proto.service.DescribeIndexResponse")
}
func init() { proto.RegisterFile("service_msg.proto", fileDescriptor_b4b40b84dd2f74cb) }
var fileDescriptor_b4b40b84dd2f74cb = []byte{
// 762 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0xdd, 0x4e, 0xe3, 0x46,
0x14, 0xae, 0xe3, 0x90, 0x86, 0x13, 0x27, 0x24, 0xd3, 0x14, 0x19, 0xb8, 0x49, 0x8d, 0x68, 0xa3,
0x56, 0x4d, 0x24, 0xa8, 0x54, 0x71, 0x51, 0xa9, 0x49, 0xa0, 0x2d, 0x3f, 0x0a, 0x74, 0x12, 0x21,
0xd1, 0x4a, 0x8d, 0x26, 0xf6, 0xd4, 0x1e, 0xd5, 0xf1, 0x58, 0x9e, 0x31, 0x51, 0x78, 0x90, 0xbe,
0xc4, 0x3e, 0xc8, 0xde, 0xed, 0x33, 0xad, 0x3c, 0x36, 0xf9, 0x61, 0x59, 0x2d, 0x4b, 0xb8, 0x3b,
0xe7, 0xcc, 0x9c, 0xf3, 0x9d, 0xdf, 0x0f, 0x6a, 0x82, 0x46, 0x77, 0xcc, 0xa6, 0xa3, 0x89, 0x70,
0x5b, 0x61, 0xc4, 0x25, 0x47, 0xf5, 0x09, 0xf3, 0xef, 0x62, 0x91, 0x6a, 0xad, 0xec, 0x7d, 0xd7,
0xb0, 0xf9, 0x64, 0xc2, 0x83, 0xd4, 0xba, 0x6b, 0x08, 0xdb, 0xa3, 0x13, 0x92, 0x6a, 0xd6, 0x31,
0x54, 0x7a, 0xdc, 0xf7, 0xa9, 0x2d, 0x19, 0x0f, 0xfa, 0x64, 0x42, 0xd1, 0x77, 0xb0, 0x65, 0xcf,
0x2d, 0xa3, 0x80, 0x4c, 0xa8, 0xa9, 0x35, 0xb4, 0xe6, 0x26, 0xae, 0xd8, 0x2b, 0x1f, 0xad, 0x73,
0x28, 0x5f, 0x93, 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, 0x2b, 0x33, 0x10, 0x66, 0xae,
0xa1, 0x37, 0x37, 0x71, 0x79, 0x79, 0x08, 0x22, 0x69, 0x8f, 0x23, 0x7c, 0x53, 0x4f, 0xdb, 0xe3,
0x08, 0x1f, 0xfd, 0x00, 0xb5, 0x25, 0xec, 0x91, 0x9b, 0x14, 0x63, 0xe6, 0x1b, 0x5a, 0xd3, 0xc0,
0xd5, 0xf0, 0x51, 0x91, 0xd6, 0xdf, 0x50, 0x19, 0xc8, 0x88, 0x05, 0x2e, 0xa6, 0x22, 0xe4, 0x81,
0xa0, 0xe8, 0x08, 0x0a, 0x42, 0x12, 0x19, 0x0b, 0x95, 0x57, 0xe9, 0x70, 0xef, 0xc9, 0xa1, 0x0e,
0xd4, 0x17, 0x9c, 0x7d, 0x45, 0x75, 0xd8, 0x50, 0x9d, 0xcc, 0x16, 0x25, 0x55, 0xac, 0x5b, 0x30,
0xba, 0x9c, 0xfb, 0xaf, 0x18, 0xba, 0xf8, 0x10, 0x9a, 0x00, 0x4a, 0xf3, 0xbe, 0x64, 0x42, 0xae,
0x07, 0xb0, 0xd8, 0x89, 0xb4, 0xc1, 0x0f, 0x3b, 0x31, 0x86, 0xaf, 0xce, 0x02, 0x49, 0x5d, 0x1a,
0xbd, 0x36, 0x86, 0x3e, 0xc7, 0x10, 0x50, 0xcf, 0x30, 0x30, 0x09, 0x5c, 0xba, 0x76, 0xa7, 0xc6,
0xd4, 0x65, 0x81, 0xea, 0x94, 0x8e, 0x53, 0x25, 0x59, 0x10, 0x1a, 0x38, 0x6a, 0x41, 0x74, 0x9c,
0x88, 0xd6, 0x3b, 0x0d, 0xbe, 0x5e, 0x70, 0xd3, 0x09, 0x15, 0x76, 0xc4, 0xc2, 0x44, 0x7c, 0x19,
0xec, 0x2f, 0x50, 0x48, 0x99, 0x4f, 0xe1, 0x96, 0x3e, 0x38, 0xc8, 0x94, 0x15, 0x17, 0x80, 0x03,
0x65, 0xc0, 0x99, 0x13, 0xea, 0x00, 0x24,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0xd3,
0x8c, 0x7e, 0x74, 0x98, 0x90, 0x11, 0x1b, 0xc7, 0x92, 0x3a, 0x6d, 0x16, 0x48, 0x1a, 0x05, 0xc4,
0x6f, 0xab, 0x34, 0xdb, 0xd9, 0xd8, 0xc3, 0xf1, 0xb8, 0xa0, 0x0c, 0x47, 0xef, 0x03, 0x00, 0x00,
0xff, 0xff, 0x8d, 0x5a, 0x44, 0x98, 0x25, 0x08, 0x00, 0x00,
// 847 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x55, 0xdd, 0x6e, 0xdc, 0x44,
0x14, 0xc6, 0xeb, 0x4d, 0xd8, 0x9c, 0xf5, 0x6e, 0x37, 0x43, 0x5a, 0xb9, 0xad, 0x90, 0x16, 0x57,
0x85, 0x15, 0x88, 0x5d, 0x29, 0x45, 0x42, 0xbd, 0x40, 0x22, 0x9b, 0x14, 0x48, 0x53, 0x25, 0x61,
0x12, 0x45, 0x2a, 0x48, 0x58, 0x63, 0x7b, 0x6a, 0x8f, 0xb0, 0x3d, 0xd6, 0xcc, 0x38, 0xe9, 0xf6,
0x41, 0x78, 0x09, 0x9e, 0x80, 0x27, 0xe0, 0x8e, 0xf7, 0xe1, 0x0e, 0x79, 0xc6, 0xfb, 0x17, 0x16,
0x11, 0xb2, 0xb9, 0xe1, 0x6e, 0xce, 0x39, 0x3e, 0xe7, 0x3b, 0xbf, 0x9f, 0x61, 0x5b, 0x52, 0x71,
0xc9, 0x42, 0xea, 0x67, 0x32, 0x1e, 0x16, 0x82, 0x2b, 0x8e, 0x76, 0x32, 0x96, 0x5e, 0x96, 0xd2,
0x48, 0xc3, 0xda, 0xfe, 0xc8, 0x09, 0x79, 0x96, 0xf1, 0xdc, 0x68, 0x1f, 0x39, 0x32, 0x4c, 0x68,
0x46, 0x8c, 0xe4, 0x3d, 0x87, 0xee, 0x3e, 0x4f, 0x53, 0x1a, 0x2a, 0xc6,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b, 0xc3, 0x93, 0x5b, 0x5a, 0x33, 0x35, 0xb3, 0x2a, 0xaa, 0x31, 0x37, 0x8d, 0x59, 0x6b,
0xb4, 0xf9, 0x00, 0x1c, 0xfa, 0x56, 0x09, 0xe2, 0x17, 0x15, 0xaa, 0x74, 0x37, 0x6e, 0x3a, 0xd5,
0xb6, 0x76, 0xd3, 0xb9, 0x4a, 0xef, 0x4f, 0x0b, 0xee, 0x9b, 0xbd, 0x0c, 0xa8, 0xae, 0x61, 0xbd,
0xd9, 0xfe, 0x9f, 0x6a, 0xff, 0xf4, 0x6b, 0xb8, 0x77, 0xed, 0x5f, 0x8c, 0x5a, 0xd0, 0x3c, 0x3e,
0x39, 0x7e, 0xd1, 0x7b, 0x0f, 0x6d, 0x43, 0xe7, 0xe2, 0xc5, 0xfe, 0xf9, 0x09, 0xf6, 0xc7, 0x87,
0xc7, 0x7b, 0xf8, 0x75, 0x2f, 0x42, 0x3d, 0x70, 0x6a, 0xd5, 0x37, 0xaf, 0x4e, 0xf6, 0xce, 0x7b,
0x74, 0xbc, 0xff, 0xc3, 0x5e, 0xcc, 0x54, 0x52, 0x06, 0x15, 0xd8, 0xe8, 0x1d, 0x4b, 0x53, 0xf6,
0x4e, 0xd1, 0x30, 0x19, 0x99, 0x44, 0x3e, 0x8f, 0x98, 0x54, 0x82, 0x05, 0xa5, 0xa2, 0xd1, 0x88,
0xe5, 0x8a, 0x8a, 0x9c, 0xa4, 0x23, 0x9d, 0xdd, 0xa8, 0x3e, 0xd7, 0x22, 0x08, 0x36, 0xb5, 0xe2,
0xd9, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x26, 0x6f, 0x59, 0x0a, 0xdd, 0x09, 0x00, 0x00,
}
......@@ -593,3 +593,15 @@ func (p *Proxy) ShowPartitions(ctx context.Context, req *servicepb.CollectionNam
}
return spt.result, nil
}
func (p *Proxy) CreateIndex(ctx context.Context, indexParam *servicepb.IndexParam) (*commonpb.Status, error) {
return nil, nil
}
func (p *Proxy) DescribeIndex(context.Context, *servicepb.IndexParam) (*servicepb.DescribeIndexResponse, error) {
return nil, nil
}
func (p *Proxy) DescribeIndexProgress(context.Context, *servicepb.IndexParam) (*servicepb.BoolResponse, error) {
return nil, nil
}
......@@ -705,8 +705,7 @@ class TestSearchBase:
# TODO:
# assert abs(res[0]._distances[0] - max_distance) <= tmp_epsilon
# DOG: TODO BINARY
@pytest.mark.skip("search_distance_jaccard_flat_index")
# PASS
def test_search_distance_jaccard_flat_index(self, connect, binary_collection):
'''
target: search binary_collection, and check the result: distance
......@@ -740,8 +739,7 @@ class TestSearchBase:
with pytest.raises(Exception) as e:
res = connect.search(binary_collection, query)
# DOG: TODO BINARY
@pytest.mark.skip("search_distance_hamming_flat_index")
# PASS
@pytest.mark.level(2)
def test_search_distance_hamming_flat_index(self, connect, binary_collection):
'''
......@@ -758,8 +756,7 @@ class TestSearchBase:
res = connect.search(binary_collection, query)
assert abs(res[0][0].distance - min(distance_0, distance_1).astype(float)) <= epsilon
# DOG: TODO BINARY
@pytest.mark.skip("search_distance_substructure_flat_index")
# PASS
@pytest.mark.level(2)
def test_search_distance_substructure_flat_index(self, connect, binary_collection):
'''
......@@ -777,8 +774,7 @@ class TestSearchBase:
res = connect.search(binary_collection, query)
assert len(res[0]) == 0
# DOG: TODO BINARY
@pytest.mark.skip("search_distance_substructure_flat_index_B")
# PASS
@pytest.mark.level(2)
def test_search_distance_substructure_flat_index_B(self, connect, binary_collection):
'''
......@@ -797,8 +793,7 @@ class TestSearchBase:
assert res[1][0].distance <= epsilon
assert res[1][0].id == ids[1]
# DOG: TODO BINARY
@pytest.mark.skip("search_distance_superstructure_flat_index")
# PASS
@pytest.mark.level(2)
def test_search_distance_superstructure_flat_index(self, connect, binary_collection):
'''
......@@ -816,8 +811,7 @@ class TestSearchBase:
res = connect.search(binary_collection, query)
assert len(res[0]) == 0
# DOG: TODO BINARY
@pytest.mark.skip("search_distance_superstructure_flat_index_B")
# PASS
@pytest.mark.level(2)
def test_search_distance_superstructure_flat_index_B(self, connect, binary_collection):
'''
......@@ -838,8 +832,7 @@ class TestSearchBase:
assert res[1][0].id in ids
assert res[1][0].distance <= epsilon
# DOG: TODO BINARY
@pytest.mark.skip("search_distance_tanimoto_flat_index")
# PASS
@pytest.mark.level(2)
def test_search_distance_tanimoto_flat_index(self, connect, binary_collection):
'''
......@@ -977,8 +970,7 @@ class TestSearchDSL(object):
******************************************************************
"""
# DOG: TODO INVALID DSL
@pytest.mark.skip("query_no_must")
# PASS
def test_query_no_must(self, connect, collection):
'''
method: build query without must expr
......@@ -989,8 +981,7 @@ class TestSearchDSL(object):
with pytest.raises(Exception) as e:
res = connect.search(collection, query)
# DOG: TODO INVALID DSL
@pytest.mark.skip("query_no_vector_term_only")
# PASS
def test_query_no_vector_term_only(self, connect, collection):
'''
method: build query without vector only term
......@@ -1025,8 +1016,7 @@ class TestSearchDSL(object):
assert len(res) == nq
assert len(res[0]) == default_top_k
# DOG: TODO INVALID DSL
@pytest.mark.skip("query_wrong_format")
# PASS
def test_query_wrong_format(self, connect, collection):
'''
method: build query without must expr, with wrong expr name
......@@ -1168,8 +1158,7 @@ class TestSearchDSL(object):
assert len(res) == nq
assert len(res[0]) == 0
# DOG: TODO TRC
@pytest.mark.skip("query_complex_dsl")
# PASS
def test_query_complex_dsl(self, connect, collection):
'''
method: query with complicated dsl
......@@ -1191,9 +1180,7 @@ class TestSearchDSL(object):
******************************************************************
"""
# DOG: TODO INVALID DSL
# TODO
@pytest.mark.skip("query_term_key_error")
# PASS
@pytest.mark.level(2)
def test_query_term_key_error(self, connect, collection):
'''
......@@ -1213,8 +1200,7 @@ class TestSearchDSL(object):
def get_invalid_term(self, request):
return request.param
# DOG: TODO INVALID DSL
@pytest.mark.skip("query_term_wrong_format")
# PASS
@pytest.mark.level(2)
def test_query_term_wrong_format(self, connect, collection, get_invalid_term):
'''
......@@ -1228,7 +1214,7 @@ class TestSearchDSL(object):
with pytest.raises(Exception) as e:
res = connect.search(collection, query)
# DOG: TODO UNKNOWN
# DOG: PLEASE IMPLEMENT connect.count_entities
# TODO
@pytest.mark.skip("query_term_field_named_term")
@pytest.mark.level(2)
......@@ -1244,8 +1230,8 @@ class TestSearchDSL(object):
ids = connect.bulk_insert(collection_term, term_entities)
assert len(ids) == default_nb
connect.flush([collection_term])
count = connect.count_entities(collection_term)
assert count == default_nb
count = connect.count_entities(collection_term) # count_entities is not impelmented
assert count == default_nb # removing these two lines, this test passed
term_param = {"term": {"term": {"values": [i for i in range(default_nb // 2)]}}}
expr = {"must": [gen_default_vector_expr(default_query),
term_param]}
......@@ -1255,8 +1241,7 @@ class TestSearchDSL(object):
assert len(res[0]) == default_top_k
connect.drop_collection(collection_term)
# DOG: TODO INVALID DSL
@pytest.mark.skip("query_term_one_field_not_existed")
# PASS
@pytest.mark.level(2)
def test_query_term_one_field_not_existed(self, connect, collection):
'''
......@@ -1278,7 +1263,6 @@ class TestSearchDSL(object):
"""
# PASS
# TODO
def test_query_range_key_error(self, connect, collection):
'''
method: build query with range key error
......@@ -1298,7 +1282,6 @@ class TestSearchDSL(object):
return request.param
# PASS
# TODO
@pytest.mark.level(2)
def test_query_range_wrong_format(self, connect, collection, get_invalid_range):
'''
......@@ -1366,8 +1349,7 @@ class TestSearchDSL(object):
assert len(res) == nq
assert len(res[0]) == default_top_k
# DOG: TODO INVALID DSL
@pytest.mark.skip("query_range_one_field_not_existed")
# PASS
def test_query_range_one_field_not_existed(self, connect, collection):
'''
method: build query with two fields ranges, one of fields not existed
......@@ -1387,10 +1369,7 @@ class TestSearchDSL(object):
************************************************************************
"""
# DOG: TODO TRC
# TODO
@pytest.mark.skip("query_multi_term_has_common")
@pytest.mark.level(2)
# PASS
def test_query_multi_term_has_common(self, connect, collection):
'''
method: build query with multi term with same field, and values has common
......@@ -1405,9 +1384,7 @@ class TestSearchDSL(object):
assert len(res) == nq
assert len(res[0]) == default_top_k
# DOG: TODO TRC
# TODO
@pytest.mark.skip("query_multi_term_no_common")
# PASS
@pytest.mark.level(2)
def test_query_multi_term_no_common(self, connect, collection):
'''
......@@ -1423,9 +1400,7 @@ class TestSearchDSL(object):
assert len(res) == nq
assert len(res[0]) == 0
# DOG: TODO TRC
# TODO
@pytest.mark.skip("query_multi_term_different_fields")
# PASS
def test_query_multi_term_different_fields(self, connect, collection):
'''
method: build query with multi range with same field, and ranges no common
......@@ -1441,9 +1416,7 @@ class TestSearchDSL(object):
assert len(res) == nq
assert len(res[0]) == 0
# DOG: TODO TRC
# TODO
@pytest.mark.skip("query_single_term_multi_fields")
# PASS
@pytest.mark.level(2)
def test_query_single_term_multi_fields(self, connect, collection):
'''
......@@ -1459,9 +1432,7 @@ class TestSearchDSL(object):
with pytest.raises(Exception) as e:
res = connect.search(collection, query)
# DOG: TODO TRC
# TODO
@pytest.mark.skip("query_multi_range_has_common")
# PASS
@pytest.mark.level(2)
def test_query_multi_range_has_common(self, connect, collection):
'''
......@@ -1477,9 +1448,7 @@ class TestSearchDSL(object):
assert len(res) == nq
assert len(res[0]) == default_top_k
# DOG: TODO TRC
# TODO
@pytest.mark.skip("query_multi_range_no_common")
# PASS
@pytest.mark.level(2)
def test_query_multi_range_no_common(self, connect, collection):
'''
......@@ -1495,9 +1464,7 @@ class TestSearchDSL(object):
assert len(res) == nq
assert len(res[0]) == 0
# DOG: TODO TRC
# TODO
@pytest.mark.skip("query_multi_range_different_fields")
# PASS
@pytest.mark.level(2)
def test_query_multi_range_different_fields(self, connect, collection):
'''
......@@ -1513,9 +1480,7 @@ class TestSearchDSL(object):
assert len(res) == nq
assert len(res[0]) == 0
# DOG: TODO TRC
# TODO
@pytest.mark.skip("query_single_range_multi_fields")
# PASS
@pytest.mark.level(2)
def test_query_single_range_multi_fields(self, connect, collection):
'''
......@@ -1537,9 +1502,7 @@ class TestSearchDSL(object):
******************************************************************
"""
# DOG: TODO TRC
# TODO
@pytest.mark.skip("query_single_term_range_has_common")
# PASS
@pytest.mark.level(2)
def test_query_single_term_range_has_common(self, connect, collection):
'''
......@@ -1555,9 +1518,7 @@ class TestSearchDSL(object):
assert len(res) == nq
assert len(res[0]) == default_top_k
# DOG: TODO TRC
# TODO
@pytest.mark.skip("query_single_term_range_no_common")
# PASS
def test_query_single_term_range_no_common(self, connect, collection):
'''
method: build query with single term single range
......@@ -1579,7 +1540,6 @@ class TestSearchDSL(object):
"""
# PASS
# TODO
def test_query_multi_vectors_same_field(self, connect, collection):
'''
method: build query with two vectors same field
......@@ -1616,8 +1576,7 @@ class TestSearchDSLBools(object):
with pytest.raises(Exception) as e:
res = connect.search(collection, query)
# DOG: TODO INVALID DSL
@pytest.mark.skip("query_should_only_term")
# PASS
def test_query_should_only_term(self, connect, collection):
'''
method: build query without must, with should.term instead
......@@ -1628,8 +1587,7 @@ class TestSearchDSLBools(object):
with pytest.raises(Exception) as e:
res = connect.search(collection, query)
# DOG: TODO INVALID DSL
@pytest.mark.skip("query_should_only_vector")
# PASS
def test_query_should_only_vector(self, connect, collection):
'''
method: build query without must, with should.vector instead
......@@ -1640,8 +1598,7 @@ class TestSearchDSLBools(object):
with pytest.raises(Exception) as e:
res = connect.search(collection, query)
# DOG: TODO INVALID DSL
@pytest.mark.skip("query_must_not_only_term")
# PASS
def test_query_must_not_only_term(self, connect, collection):
'''
method: build query without must, with must_not.term instead
......@@ -1652,8 +1609,7 @@ class TestSearchDSLBools(object):
with pytest.raises(Exception) as e:
res = connect.search(collection, query)
# DOG: TODO INVALID DSL
@pytest.mark.skip("query_must_not_vector")
# PASS
def test_query_must_not_vector(self, connect, collection):
'''
method: build query without must, with must_not.vector instead
......@@ -1664,8 +1620,7 @@ class TestSearchDSLBools(object):
with pytest.raises(Exception) as e:
res = connect.search(collection, query)
# DOG: TODO INVALID DSL
@pytest.mark.skip("query_must_should")
# PASS
def test_query_must_should(self, connect, collection):
'''
method: build query must, and with should.term
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册