diff --git a/internal/core/src/pb/milvus.pb.cc b/internal/core/src/pb/milvus.pb.cc index 6a87c9f056..5d44545edc 100644 --- a/internal/core/src/pb/milvus.pb.cc +++ b/internal/core/src/pb/milvus.pb.cc @@ -197,14 +197,6 @@ class SearchRequestDefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; } _SearchRequest_default_instance_; -class RetrieveRequestDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _RetrieveRequest_default_instance_; -class RetrieveResultsDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _RetrieveResults_default_instance_; class HitsDefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; @@ -1054,39 +1046,6 @@ static void InitDefaultsscc_info_ReleasePartitionsRequest_milvus_2eproto() { {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsscc_info_ReleasePartitionsRequest_milvus_2eproto}, { &scc_info_MsgBase_common_2eproto.base,}}; -static void InitDefaultsscc_info_RetrieveRequest_milvus_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::milvus::proto::milvus::_RetrieveRequest_default_instance_; - new (ptr) ::milvus::proto::milvus::RetrieveRequest(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::milvus::proto::milvus::RetrieveRequest::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_RetrieveRequest_milvus_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsscc_info_RetrieveRequest_milvus_2eproto}, { - &scc_info_MsgBase_common_2eproto.base, - &scc_info_IDs_schema_2eproto.base,}}; - -static void InitDefaultsscc_info_RetrieveResults_milvus_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::milvus::proto::milvus::_RetrieveResults_default_instance_; - new (ptr) ::milvus::proto::milvus::RetrieveResults(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::milvus::proto::milvus::RetrieveResults::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<3> scc_info_RetrieveResults_milvus_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsscc_info_RetrieveResults_milvus_2eproto}, { - &scc_info_Status_common_2eproto.base, - &scc_info_IDs_schema_2eproto.base, - &scc_info_FieldData_schema_2eproto.base,}}; - static void InitDefaultsscc_info_SearchRequest_milvus_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; @@ -1255,7 +1214,7 @@ static void InitDefaultsscc_info_VectorsArray_milvus_2eproto() { &scc_info_VectorIDs_milvus_2eproto.base, &scc_info_VectorField_schema_2eproto.base,}}; -static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_milvus_2eproto[63]; +static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_milvus_2eproto[61]; static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* file_level_enum_descriptors_milvus_2eproto[2]; static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_milvus_2eproto = nullptr; @@ -1629,27 +1588,6 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_milvus_2eproto::offsets[] PROT PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::SearchRequest, travel_timestamp_), PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::SearchRequest, guarantee_timestamp_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::RetrieveRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::RetrieveRequest, base_), - PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::RetrieveRequest, db_name_), - PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::RetrieveRequest, collection_name_), - PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::RetrieveRequest, partition_names_), - PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::RetrieveRequest, ids_), - PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::RetrieveRequest, output_fields_), - PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::RetrieveRequest, travel_timestamp_), - PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::RetrieveRequest, guarantee_timestamp_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::RetrieveResults, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::RetrieveResults, status_), - PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::RetrieveResults, ids_), - PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::RetrieveResults, fields_data_), - ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::Hits, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ @@ -1700,6 +1638,8 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_milvus_2eproto::offsets[] PROT PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::QueryRequest, expr_), PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::QueryRequest, output_fields_), PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::QueryRequest, partition_names_), + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::QueryRequest, travel_timestamp_), + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::QueryRequest, guarantee_timestamp_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::QueryResults, _internal_metadata_), ~0u, // no _extensions_ @@ -1860,29 +1800,27 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOB { 338, -1, sizeof(::milvus::proto::milvus::PlaceholderValue)}, { 346, -1, sizeof(::milvus::proto::milvus::PlaceholderGroup)}, { 352, -1, sizeof(::milvus::proto::milvus::SearchRequest)}, - { 368, -1, sizeof(::milvus::proto::milvus::RetrieveRequest)}, - { 381, -1, sizeof(::milvus::proto::milvus::RetrieveResults)}, - { 389, -1, sizeof(::milvus::proto::milvus::Hits)}, - { 397, -1, sizeof(::milvus::proto::milvus::SearchResults)}, - { 404, -1, sizeof(::milvus::proto::milvus::FlushRequest)}, - { 412, 419, sizeof(::milvus::proto::milvus::FlushResponse_CollSegIDsEntry_DoNotUse)}, - { 421, -1, sizeof(::milvus::proto::milvus::FlushResponse)}, - { 429, -1, sizeof(::milvus::proto::milvus::QueryRequest)}, - { 440, -1, sizeof(::milvus::proto::milvus::QueryResults)}, - { 447, -1, sizeof(::milvus::proto::milvus::VectorIDs)}, - { 456, -1, sizeof(::milvus::proto::milvus::VectorsArray)}, - { 464, -1, sizeof(::milvus::proto::milvus::CalcDistanceRequest)}, - { 473, -1, sizeof(::milvus::proto::milvus::CalcDistanceResults)}, - { 482, -1, sizeof(::milvus::proto::milvus::PersistentSegmentInfo)}, - { 492, -1, sizeof(::milvus::proto::milvus::GetPersistentSegmentInfoRequest)}, - { 500, -1, sizeof(::milvus::proto::milvus::GetPersistentSegmentInfoResponse)}, - { 507, -1, sizeof(::milvus::proto::milvus::QuerySegmentInfo)}, - { 519, -1, sizeof(::milvus::proto::milvus::GetQuerySegmentInfoRequest)}, - { 527, -1, sizeof(::milvus::proto::milvus::GetQuerySegmentInfoResponse)}, - { 534, -1, sizeof(::milvus::proto::milvus::DummyRequest)}, - { 540, -1, sizeof(::milvus::proto::milvus::DummyResponse)}, - { 546, -1, sizeof(::milvus::proto::milvus::RegisterLinkRequest)}, - { 551, -1, sizeof(::milvus::proto::milvus::RegisterLinkResponse)}, + { 368, -1, sizeof(::milvus::proto::milvus::Hits)}, + { 376, -1, sizeof(::milvus::proto::milvus::SearchResults)}, + { 383, -1, sizeof(::milvus::proto::milvus::FlushRequest)}, + { 391, 398, sizeof(::milvus::proto::milvus::FlushResponse_CollSegIDsEntry_DoNotUse)}, + { 400, -1, sizeof(::milvus::proto::milvus::FlushResponse)}, + { 408, -1, sizeof(::milvus::proto::milvus::QueryRequest)}, + { 421, -1, sizeof(::milvus::proto::milvus::QueryResults)}, + { 428, -1, sizeof(::milvus::proto::milvus::VectorIDs)}, + { 437, -1, sizeof(::milvus::proto::milvus::VectorsArray)}, + { 445, -1, sizeof(::milvus::proto::milvus::CalcDistanceRequest)}, + { 454, -1, sizeof(::milvus::proto::milvus::CalcDistanceResults)}, + { 463, -1, sizeof(::milvus::proto::milvus::PersistentSegmentInfo)}, + { 473, -1, sizeof(::milvus::proto::milvus::GetPersistentSegmentInfoRequest)}, + { 481, -1, sizeof(::milvus::proto::milvus::GetPersistentSegmentInfoResponse)}, + { 488, -1, sizeof(::milvus::proto::milvus::QuerySegmentInfo)}, + { 500, -1, sizeof(::milvus::proto::milvus::GetQuerySegmentInfoRequest)}, + { 508, -1, sizeof(::milvus::proto::milvus::GetQuerySegmentInfoResponse)}, + { 515, -1, sizeof(::milvus::proto::milvus::DummyRequest)}, + { 521, -1, sizeof(::milvus::proto::milvus::DummyResponse)}, + { 527, -1, sizeof(::milvus::proto::milvus::RegisterLinkRequest)}, + { 532, -1, sizeof(::milvus::proto::milvus::RegisterLinkResponse)}, }; static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { @@ -1926,8 +1864,6 @@ static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = reinterpret_cast(&::milvus::proto::milvus::_PlaceholderValue_default_instance_), reinterpret_cast(&::milvus::proto::milvus::_PlaceholderGroup_default_instance_), reinterpret_cast(&::milvus::proto::milvus::_SearchRequest_default_instance_), - reinterpret_cast(&::milvus::proto::milvus::_RetrieveRequest_default_instance_), - reinterpret_cast(&::milvus::proto::milvus::_RetrieveResults_default_instance_), reinterpret_cast(&::milvus::proto::milvus::_Hits_default_instance_), reinterpret_cast(&::milvus::proto::milvus::_SearchResults_default_instance_), reinterpret_cast(&::milvus::proto::milvus::_FlushRequest_default_instance_), @@ -2102,141 +2038,130 @@ const char descriptor_table_protodef_milvus_2eproto[] PROTOBUF_SECTION_VARIABLE( "o.common.DslType\022\025\n\routput_fields\030\010 \003(\t\022" "8\n\rsearch_params\030\t \003(\0132!.milvus.proto.co" "mmon.KeyValuePair\022\030\n\020travel_timestamp\030\n " - "\001(\004\022\033\n\023guarantee_timestamp\030\013 \001(\004\"\365\001\n\017Ret" - "rieveRequest\022*\n\004base\030\001 \001(\0132\034.milvus.prot" - "o.common.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017col" - "lection_name\030\003 \001(\t\022\027\n\017partition_names\030\004 " - "\003(\t\022%\n\003ids\030\005 \001(\0132\030.milvus.proto.schema.I" - "Ds\022\025\n\routput_fields\030\006 \003(\t\022\030\n\020travel_time" - "stamp\030\007 \001(\004\022\033\n\023guarantee_timestamp\030\010 \001(\004" - "\"\232\001\n\017RetrieveResults\022+\n\006status\030\001 \001(\0132\033.m" - "ilvus.proto.common.Status\022%\n\003ids\030\002 \001(\0132\030" - ".milvus.proto.schema.IDs\0223\n\013fields_data\030" - "\003 \003(\0132\036.milvus.proto.schema.FieldData\"5\n" - "\004Hits\022\013\n\003IDs\030\001 \003(\003\022\020\n\010row_data\030\002 \003(\014\022\016\n\006" - "scores\030\003 \003(\002\"t\n\rSearchResults\022+\n\006status\030" - "\001 \001(\0132\033.milvus.proto.common.Status\0226\n\007re" - "sults\030\002 \001(\0132%.milvus.proto.schema.Search" - "ResultData\"e\n\014FlushRequest\022*\n\004base\030\001 \001(\013" - "2\034.milvus.proto.common.MsgBase\022\017\n\007db_nam" - "e\030\002 \001(\t\022\030\n\020collection_names\030\003 \003(\t\"\351\001\n\rFl" - "ushResponse\022+\n\006status\030\001 \001(\0132\033.milvus.pro" - "to.common.Status\022\017\n\007db_name\030\002 \001(\t\022G\n\013col" - "l_segIDs\030\003 \003(\01322.milvus.proto.milvus.Flu" - "shResponse.CollSegIDsEntry\032Q\n\017CollSegIDs" - "Entry\022\013\n\003key\030\001 \001(\t\022-\n\005value\030\002 \001(\0132\036.milv" - "us.proto.schema.LongArray:\0028\001\"\242\001\n\014QueryR" - "equest\022*\n\004base\030\001 \001(\0132\034.milvus.proto.comm" - "on.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collectio" - "n_name\030\003 \001(\t\022\014\n\004expr\030\004 \001(\t\022\025\n\routput_fie" - "lds\030\005 \003(\t\022\027\n\017partition_names\030\006 \003(\t\"p\n\014Qu" - "eryResults\022+\n\006status\030\001 \001(\0132\033.milvus.prot" - "o.common.Status\0223\n\013fields_data\030\002 \003(\0132\036.m" - "ilvus.proto.schema.FieldData\"}\n\tVectorID" - "s\022\027\n\017collection_name\030\001 \001(\t\022\022\n\nfield_name" - "\030\002 \001(\t\022*\n\010id_array\030\003 \001(\0132\030.milvus.proto." - "schema.IDs\022\027\n\017partition_names\030\004 \003(\t\"\203\001\n\014" - "VectorsArray\0222\n\010id_array\030\001 \001(\0132\036.milvus." - "proto.milvus.VectorIDsH\000\0226\n\ndata_array\030\002" - " \001(\0132 .milvus.proto.schema.VectorFieldH\000" - "B\007\n\005array\"\335\001\n\023CalcDistanceRequest\022*\n\004bas" - "e\030\001 \001(\0132\034.milvus.proto.common.MsgBase\0222\n" - "\007op_left\030\002 \001(\0132!.milvus.proto.milvus.Vec" - "torsArray\0223\n\010op_right\030\003 \001(\0132!.milvus.pro" - "to.milvus.VectorsArray\0221\n\006params\030\004 \003(\0132!" - ".milvus.proto.common.KeyValuePair\"\265\001\n\023Ca" - "lcDistanceResults\022+\n\006status\030\001 \001(\0132\033.milv" - "us.proto.common.Status\0221\n\010int_dist\030\002 \001(\013" - "2\035.milvus.proto.schema.IntArrayH\000\0225\n\nflo" - "at_dist\030\003 \001(\0132\037.milvus.proto.schema.Floa" - "tArrayH\000B\007\n\005array\"\231\001\n\025PersistentSegmentI" - "nfo\022\021\n\tsegmentID\030\001 \001(\003\022\024\n\014collectionID\030\002" - " \001(\003\022\023\n\013partitionID\030\003 \001(\003\022\020\n\010num_rows\030\004 " - "\001(\003\0220\n\005state\030\005 \001(\0162!.milvus.proto.common" - ".SegmentState\"u\n\037GetPersistentSegmentInf" - "oRequest\022*\n\004base\030\001 \001(\0132\034.milvus.proto.co" - "mmon.MsgBase\022\016\n\006dbName\030\002 \001(\t\022\026\n\016collecti" - "onName\030\003 \001(\t\"\212\001\n GetPersistentSegmentInf" - "oResponse\022+\n\006status\030\001 \001(\0132\033.milvus.proto" - ".common.Status\0229\n\005infos\030\002 \003(\0132*.milvus.p" - "roto.milvus.PersistentSegmentInfo\"\231\001\n\020Qu" - "erySegmentInfo\022\021\n\tsegmentID\030\001 \001(\003\022\024\n\014col" - "lectionID\030\002 \001(\003\022\023\n\013partitionID\030\003 \001(\003\022\020\n\010" - "mem_size\030\004 \001(\003\022\020\n\010num_rows\030\005 \001(\003\022\022\n\ninde" - "x_name\030\006 \001(\t\022\017\n\007indexID\030\007 \001(\003\"p\n\032GetQuer" - "ySegmentInfoRequest\022*\n\004base\030\001 \001(\0132\034.milv" - "us.proto.common.MsgBase\022\016\n\006dbName\030\002 \001(\t\022" - "\026\n\016collectionName\030\003 \001(\t\"\200\001\n\033GetQuerySegm" - "entInfoResponse\022+\n\006status\030\001 \001(\0132\033.milvus" - ".proto.common.Status\0224\n\005infos\030\002 \003(\0132%.mi" - "lvus.proto.milvus.QuerySegmentInfo\"$\n\014Du" - "mmyRequest\022\024\n\014request_type\030\001 \001(\t\"!\n\rDumm" - "yResponse\022\020\n\010response\030\001 \001(\t\"\025\n\023RegisterL" - "inkRequest\"r\n\024RegisterLinkResponse\022-\n\007ad" - "dress\030\001 \001(\0132\034.milvus.proto.common.Addres" - "s\022+\n\006status\030\002 \001(\0132\033.milvus.proto.common." - "Status*!\n\010ShowType\022\007\n\003All\020\000\022\014\n\010InMemory\020" - "\001*>\n\017PlaceholderType\022\010\n\004None\020\000\022\020\n\014Binary" - "Vector\020d\022\017\n\013FloatVector\020e2\372\027\n\rMilvusServ" - "ice\022_\n\020CreateCollection\022,.milvus.proto.m" - "ilvus.CreateCollectionRequest\032\033.milvus.p" - "roto.common.Status\"\000\022[\n\016DropCollection\022*" - ".milvus.proto.milvus.DropCollectionReque" - "st\032\033.milvus.proto.common.Status\"\000\022_\n\rHas" - "Collection\022).milvus.proto.milvus.HasColl" - "ectionRequest\032!.milvus.proto.milvus.Bool" - "Response\"\000\022[\n\016LoadCollection\022*.milvus.pr" - "oto.milvus.LoadCollectionRequest\032\033.milvu" - "s.proto.common.Status\"\000\022a\n\021ReleaseCollec" - "tion\022-.milvus.proto.milvus.ReleaseCollec" - "tionRequest\032\033.milvus.proto.common.Status" - "\"\000\022w\n\022DescribeCollection\022..milvus.proto." - "milvus.DescribeCollectionRequest\032/.milvu" - "s.proto.milvus.DescribeCollectionRespons" - "e\"\000\022\206\001\n\027GetCollectionStatistics\0223.milvus" - ".proto.milvus.GetCollectionStatisticsReq" - "uest\0324.milvus.proto.milvus.GetCollection" - "StatisticsResponse\"\000\022n\n\017ShowCollections\022" - "+.milvus.proto.milvus.ShowCollectionsReq" - "uest\032,.milvus.proto.milvus.ShowCollectio" - "nsResponse\"\000\022]\n\017CreatePartition\022+.milvus" - ".proto.milvus.CreatePartitionRequest\032\033.m" - "ilvus.proto.common.Status\"\000\022Y\n\rDropParti" - "tion\022).milvus.proto.milvus.DropPartition" - "Request\032\033.milvus.proto.common.Status\"\000\022]" - "\n\014HasPartition\022(.milvus.proto.milvus.Has" - "PartitionRequest\032!.milvus.proto.milvus.B" - "oolResponse\"\000\022[\n\016LoadPartitions\022*.milvus" - ".proto.milvus.LoadPartitionsRequest\032\033.mi" - "lvus.proto.common.Status\"\000\022a\n\021ReleasePar" - "titions\022-.milvus.proto.milvus.ReleasePar" - "titionsRequest\032\033.milvus.proto.common.Sta" - "tus\"\000\022\203\001\n\026GetPartitionStatistics\0222.milvu" - "s.proto.milvus.GetPartitionStatisticsReq" - "uest\0323.milvus.proto.milvus.GetPartitionS" - "tatisticsResponse\"\000\022k\n\016ShowPartitions\022*." - "milvus.proto.milvus.ShowPartitionsReques" - "t\032+.milvus.proto.milvus.ShowPartitionsRe" - "sponse\"\000\022U\n\013CreateIndex\022\'.milvus.proto.m" - "ilvus.CreateIndexRequest\032\033.milvus.proto." - "common.Status\"\000\022h\n\rDescribeIndex\022).milvu" - "s.proto.milvus.DescribeIndexRequest\032*.mi" - "lvus.proto.milvus.DescribeIndexResponse\"" - "\000\022h\n\rGetIndexState\022).milvus.proto.milvus" - ".GetIndexStateRequest\032*.milvus.proto.mil" - "vus.GetIndexStateResponse\"\000\022\200\001\n\025GetIndex" - "BuildProgress\0221.milvus.proto.milvus.GetI" - "ndexBuildProgressRequest\0322.milvus.proto." - "milvus.GetIndexBuildProgressResponse\"\000\022Q" - "\n\tDropIndex\022%.milvus.proto.milvus.DropIn" - "dexRequest\032\033.milvus.proto.common.Status\"" - "\000\022S\n\006Insert\022\".milvus.proto.milvus.Insert" - "Request\032#.milvus.proto.milvus.MutationRe" - "sult\"\000\022R\n\006Search\022\".milvus.proto.milvus.S" - "earchRequest\032\".milvus.proto.milvus.Searc" - "hResults\"\000\022X\n\010Retrieve\022$.milvus.proto.mi" - "lvus.RetrieveRequest\032$.milvus.proto.milv" - "us.RetrieveResults\"\000\022P\n\005Flush\022!.milvus.p" + "\001(\004\022\033\n\023guarantee_timestamp\030\013 \001(\004\"5\n\004Hits" + "\022\013\n\003IDs\030\001 \003(\003\022\020\n\010row_data\030\002 \003(\014\022\016\n\006score" + "s\030\003 \003(\002\"t\n\rSearchResults\022+\n\006status\030\001 \001(\013" + "2\033.milvus.proto.common.Status\0226\n\007results" + "\030\002 \001(\0132%.milvus.proto.schema.SearchResul" + "tData\"e\n\014FlushRequest\022*\n\004base\030\001 \001(\0132\034.mi" + "lvus.proto.common.MsgBase\022\017\n\007db_name\030\002 \001" + "(\t\022\030\n\020collection_names\030\003 \003(\t\"\351\001\n\rFlushRe" + "sponse\022+\n\006status\030\001 \001(\0132\033.milvus.proto.co" + "mmon.Status\022\017\n\007db_name\030\002 \001(\t\022G\n\013coll_seg" + "IDs\030\003 \003(\01322.milvus.proto.milvus.FlushRes" + "ponse.CollSegIDsEntry\032Q\n\017CollSegIDsEntry" + "\022\013\n\003key\030\001 \001(\t\022-\n\005value\030\002 \001(\0132\036.milvus.pr" + "oto.schema.LongArray:\0028\001\"\331\001\n\014QueryReques" + "t\022*\n\004base\030\001 \001(\0132\034.milvus.proto.common.Ms" + "gBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collection_nam" + "e\030\003 \001(\t\022\014\n\004expr\030\004 \001(\t\022\025\n\routput_fields\030\005" + " \003(\t\022\027\n\017partition_names\030\006 \003(\t\022\030\n\020travel_" + "timestamp\030\007 \001(\004\022\033\n\023guarantee_timestamp\030\010" + " \001(\004\"p\n\014QueryResults\022+\n\006status\030\001 \001(\0132\033.m" + "ilvus.proto.common.Status\0223\n\013fields_data" + "\030\002 \003(\0132\036.milvus.proto.schema.FieldData\"}" + "\n\tVectorIDs\022\027\n\017collection_name\030\001 \001(\t\022\022\n\n" + "field_name\030\002 \001(\t\022*\n\010id_array\030\003 \001(\0132\030.mil" + "vus.proto.schema.IDs\022\027\n\017partition_names\030" + "\004 \003(\t\"\203\001\n\014VectorsArray\0222\n\010id_array\030\001 \001(\013" + "2\036.milvus.proto.milvus.VectorIDsH\000\0226\n\nda" + "ta_array\030\002 \001(\0132 .milvus.proto.schema.Vec" + "torFieldH\000B\007\n\005array\"\335\001\n\023CalcDistanceRequ" + "est\022*\n\004base\030\001 \001(\0132\034.milvus.proto.common." + "MsgBase\0222\n\007op_left\030\002 \001(\0132!.milvus.proto." + "milvus.VectorsArray\0223\n\010op_right\030\003 \001(\0132!." + "milvus.proto.milvus.VectorsArray\0221\n\006para" + "ms\030\004 \003(\0132!.milvus.proto.common.KeyValueP" + "air\"\265\001\n\023CalcDistanceResults\022+\n\006status\030\001 " + "\001(\0132\033.milvus.proto.common.Status\0221\n\010int_" + "dist\030\002 \001(\0132\035.milvus.proto.schema.IntArra" + "yH\000\0225\n\nfloat_dist\030\003 \001(\0132\037.milvus.proto.s" + "chema.FloatArrayH\000B\007\n\005array\"\231\001\n\025Persiste" + "ntSegmentInfo\022\021\n\tsegmentID\030\001 \001(\003\022\024\n\014coll" + "ectionID\030\002 \001(\003\022\023\n\013partitionID\030\003 \001(\003\022\020\n\010n" + "um_rows\030\004 \001(\003\0220\n\005state\030\005 \001(\0162!.milvus.pr" + "oto.common.SegmentState\"u\n\037GetPersistent" + "SegmentInfoRequest\022*\n\004base\030\001 \001(\0132\034.milvu" + "s.proto.common.MsgBase\022\016\n\006dbName\030\002 \001(\t\022\026" + "\n\016collectionName\030\003 \001(\t\"\212\001\n GetPersistent" + "SegmentInfoResponse\022+\n\006status\030\001 \001(\0132\033.mi" + "lvus.proto.common.Status\0229\n\005infos\030\002 \003(\0132" + "*.milvus.proto.milvus.PersistentSegmentI" + "nfo\"\231\001\n\020QuerySegmentInfo\022\021\n\tsegmentID\030\001 " + "\001(\003\022\024\n\014collectionID\030\002 \001(\003\022\023\n\013partitionID" + "\030\003 \001(\003\022\020\n\010mem_size\030\004 \001(\003\022\020\n\010num_rows\030\005 \001" + "(\003\022\022\n\nindex_name\030\006 \001(\t\022\017\n\007indexID\030\007 \001(\003\"" + "p\n\032GetQuerySegmentInfoRequest\022*\n\004base\030\001 " + "\001(\0132\034.milvus.proto.common.MsgBase\022\016\n\006dbN" + "ame\030\002 \001(\t\022\026\n\016collectionName\030\003 \001(\t\"\200\001\n\033Ge" + "tQuerySegmentInfoResponse\022+\n\006status\030\001 \001(" + "\0132\033.milvus.proto.common.Status\0224\n\005infos\030" + "\002 \003(\0132%.milvus.proto.milvus.QuerySegment" + "Info\"$\n\014DummyRequest\022\024\n\014request_type\030\001 \001" + "(\t\"!\n\rDummyResponse\022\020\n\010response\030\001 \001(\t\"\025\n" + "\023RegisterLinkRequest\"r\n\024RegisterLinkResp" + "onse\022-\n\007address\030\001 \001(\0132\034.milvus.proto.com" + "mon.Address\022+\n\006status\030\002 \001(\0132\033.milvus.pro" + "to.common.Status*!\n\010ShowType\022\007\n\003All\020\000\022\014\n" + "\010InMemory\020\001*>\n\017PlaceholderType\022\010\n\004None\020\000" + "\022\020\n\014BinaryVector\020d\022\017\n\013FloatVector\020e2\240\027\n\r" + "MilvusService\022_\n\020CreateCollection\022,.milv" + "us.proto.milvus.CreateCollectionRequest\032" + "\033.milvus.proto.common.Status\"\000\022[\n\016DropCo" + "llection\022*.milvus.proto.milvus.DropColle" + "ctionRequest\032\033.milvus.proto.common.Statu" + "s\"\000\022_\n\rHasCollection\022).milvus.proto.milv" + "us.HasCollectionRequest\032!.milvus.proto.m" + "ilvus.BoolResponse\"\000\022[\n\016LoadCollection\022*" + ".milvus.proto.milvus.LoadCollectionReque" + "st\032\033.milvus.proto.common.Status\"\000\022a\n\021Rel" + "easeCollection\022-.milvus.proto.milvus.Rel" + "easeCollectionRequest\032\033.milvus.proto.com" + "mon.Status\"\000\022w\n\022DescribeCollection\022..mil" + "vus.proto.milvus.DescribeCollectionReque" + "st\032/.milvus.proto.milvus.DescribeCollect" + "ionResponse\"\000\022\206\001\n\027GetCollectionStatistic" + "s\0223.milvus.proto.milvus.GetCollectionSta" + "tisticsRequest\0324.milvus.proto.milvus.Get" + "CollectionStatisticsResponse\"\000\022n\n\017ShowCo" + "llections\022+.milvus.proto.milvus.ShowColl" + "ectionsRequest\032,.milvus.proto.milvus.Sho" + "wCollectionsResponse\"\000\022]\n\017CreatePartitio" + "n\022+.milvus.proto.milvus.CreatePartitionR" + "equest\032\033.milvus.proto.common.Status\"\000\022Y\n" + "\rDropPartition\022).milvus.proto.milvus.Dro" + "pPartitionRequest\032\033.milvus.proto.common." + "Status\"\000\022]\n\014HasPartition\022(.milvus.proto." + "milvus.HasPartitionRequest\032!.milvus.prot" + "o.milvus.BoolResponse\"\000\022[\n\016LoadPartition" + "s\022*.milvus.proto.milvus.LoadPartitionsRe" + "quest\032\033.milvus.proto.common.Status\"\000\022a\n\021" + "ReleasePartitions\022-.milvus.proto.milvus." + "ReleasePartitionsRequest\032\033.milvus.proto." + "common.Status\"\000\022\203\001\n\026GetPartitionStatisti" + "cs\0222.milvus.proto.milvus.GetPartitionSta" + "tisticsRequest\0323.milvus.proto.milvus.Get" + "PartitionStatisticsResponse\"\000\022k\n\016ShowPar" + "titions\022*.milvus.proto.milvus.ShowPartit" + "ionsRequest\032+.milvus.proto.milvus.ShowPa" + "rtitionsResponse\"\000\022U\n\013CreateIndex\022\'.milv" + "us.proto.milvus.CreateIndexRequest\032\033.mil" + "vus.proto.common.Status\"\000\022h\n\rDescribeInd" + "ex\022).milvus.proto.milvus.DescribeIndexRe" + "quest\032*.milvus.proto.milvus.DescribeInde" + "xResponse\"\000\022h\n\rGetIndexState\022).milvus.pr" + "oto.milvus.GetIndexStateRequest\032*.milvus" + ".proto.milvus.GetIndexStateResponse\"\000\022\200\001" + "\n\025GetIndexBuildProgress\0221.milvus.proto.m" + "ilvus.GetIndexBuildProgressRequest\0322.mil" + "vus.proto.milvus.GetIndexBuildProgressRe" + "sponse\"\000\022Q\n\tDropIndex\022%.milvus.proto.mil" + "vus.DropIndexRequest\032\033.milvus.proto.comm" + "on.Status\"\000\022S\n\006Insert\022\".milvus.proto.mil" + "vus.InsertRequest\032#.milvus.proto.milvus." + "MutationResult\"\000\022R\n\006Search\022\".milvus.prot" + "o.milvus.SearchRequest\032\".milvus.proto.mi" + "lvus.SearchResults\"\000\022P\n\005Flush\022!.milvus.p" "roto.milvus.FlushRequest\032\".milvus.proto." "milvus.FlushResponse\"\000\022O\n\005Query\022!.milvus" ".proto.milvus.QueryRequest\032!.milvus.prot" @@ -2264,7 +2189,7 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor &::descriptor_table_common_2eproto, &::descriptor_table_schema_2eproto, }; -static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_milvus_2eproto_sccs[63] = { +static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_milvus_2eproto_sccs[61] = { &scc_info_BoolResponse_milvus_2eproto.base, &scc_info_CalcDistanceRequest_milvus_2eproto.base, &scc_info_CalcDistanceResults_milvus_2eproto.base, @@ -2315,8 +2240,6 @@ static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_mil &scc_info_RegisterLinkResponse_milvus_2eproto.base, &scc_info_ReleaseCollectionRequest_milvus_2eproto.base, &scc_info_ReleasePartitionsRequest_milvus_2eproto.base, - &scc_info_RetrieveRequest_milvus_2eproto.base, - &scc_info_RetrieveResults_milvus_2eproto.base, &scc_info_SearchRequest_milvus_2eproto.base, &scc_info_SearchResults_milvus_2eproto.base, &scc_info_ShowCollectionsRequest_milvus_2eproto.base, @@ -2332,10 +2255,10 @@ static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_mil static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_milvus_2eproto_once; static bool descriptor_table_milvus_2eproto_initialized = false; const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_milvus_2eproto = { - &descriptor_table_milvus_2eproto_initialized, descriptor_table_protodef_milvus_2eproto, "milvus.proto", 12276, - &descriptor_table_milvus_2eproto_once, descriptor_table_milvus_2eproto_sccs, descriptor_table_milvus_2eproto_deps, 63, 2, + &descriptor_table_milvus_2eproto_initialized, descriptor_table_protodef_milvus_2eproto, "milvus.proto", 11836, + &descriptor_table_milvus_2eproto_once, descriptor_table_milvus_2eproto_sccs, descriptor_table_milvus_2eproto_deps, 61, 2, schemas, file_default_instances, TableStruct_milvus_2eproto::offsets, - file_level_metadata_milvus_2eproto, 63, file_level_enum_descriptors_milvus_2eproto, file_level_service_descriptors_milvus_2eproto, + file_level_metadata_milvus_2eproto, 61, file_level_enum_descriptors_milvus_2eproto, file_level_service_descriptors_milvus_2eproto, }; // Force running AddDescriptors() at dynamic initialization time. @@ -20657,1076 +20580,6 @@ void SearchRequest::InternalSwap(SearchRequest* other) { } -// =================================================================== - -void RetrieveRequest::InitAsDefaultInstance() { - ::milvus::proto::milvus::_RetrieveRequest_default_instance_._instance.get_mutable()->base_ = const_cast< ::milvus::proto::common::MsgBase*>( - ::milvus::proto::common::MsgBase::internal_default_instance()); - ::milvus::proto::milvus::_RetrieveRequest_default_instance_._instance.get_mutable()->ids_ = const_cast< ::milvus::proto::schema::IDs*>( - ::milvus::proto::schema::IDs::internal_default_instance()); -} -class RetrieveRequest::_Internal { - public: - static const ::milvus::proto::common::MsgBase& base(const RetrieveRequest* msg); - static const ::milvus::proto::schema::IDs& ids(const RetrieveRequest* msg); -}; - -const ::milvus::proto::common::MsgBase& -RetrieveRequest::_Internal::base(const RetrieveRequest* msg) { - return *msg->base_; -} -const ::milvus::proto::schema::IDs& -RetrieveRequest::_Internal::ids(const RetrieveRequest* msg) { - return *msg->ids_; -} -void RetrieveRequest::clear_base() { - if (GetArenaNoVirtual() == nullptr && base_ != nullptr) { - delete base_; - } - base_ = nullptr; -} -void RetrieveRequest::clear_ids() { - if (GetArenaNoVirtual() == nullptr && ids_ != nullptr) { - delete ids_; - } - ids_ = nullptr; -} -RetrieveRequest::RetrieveRequest() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:milvus.proto.milvus.RetrieveRequest) -} -RetrieveRequest::RetrieveRequest(const RetrieveRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr), - partition_names_(from.partition_names_), - output_fields_(from.output_fields_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - db_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from.db_name().empty()) { - db_name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.db_name_); - } - collection_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from.collection_name().empty()) { - collection_name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.collection_name_); - } - if (from.has_base()) { - base_ = new ::milvus::proto::common::MsgBase(*from.base_); - } else { - base_ = nullptr; - } - if (from.has_ids()) { - ids_ = new ::milvus::proto::schema::IDs(*from.ids_); - } else { - ids_ = nullptr; - } - ::memcpy(&travel_timestamp_, &from.travel_timestamp_, - static_cast(reinterpret_cast(&guarantee_timestamp_) - - reinterpret_cast(&travel_timestamp_)) + sizeof(guarantee_timestamp_)); - // @@protoc_insertion_point(copy_constructor:milvus.proto.milvus.RetrieveRequest) -} - -void RetrieveRequest::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_RetrieveRequest_milvus_2eproto.base); - db_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - collection_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::memset(&base_, 0, static_cast( - reinterpret_cast(&guarantee_timestamp_) - - reinterpret_cast(&base_)) + sizeof(guarantee_timestamp_)); -} - -RetrieveRequest::~RetrieveRequest() { - // @@protoc_insertion_point(destructor:milvus.proto.milvus.RetrieveRequest) - SharedDtor(); -} - -void RetrieveRequest::SharedDtor() { - db_name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - collection_name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete base_; - if (this != internal_default_instance()) delete ids_; -} - -void RetrieveRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const RetrieveRequest& RetrieveRequest::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_RetrieveRequest_milvus_2eproto.base); - return *internal_default_instance(); -} - - -void RetrieveRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:milvus.proto.milvus.RetrieveRequest) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - partition_names_.Clear(); - output_fields_.Clear(); - db_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && base_ != nullptr) { - delete base_; - } - base_ = nullptr; - if (GetArenaNoVirtual() == nullptr && ids_ != nullptr) { - delete ids_; - } - ids_ = nullptr; - ::memset(&travel_timestamp_, 0, static_cast( - reinterpret_cast(&guarantee_timestamp_) - - reinterpret_cast(&travel_timestamp_)) + sizeof(guarantee_timestamp_)); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* RetrieveRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { - // .milvus.proto.common.MsgBase base = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - ptr = ctx->ParseMessage(mutable_base(), ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; - // string db_name = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_db_name(), ptr, ctx, "milvus.proto.milvus.RetrieveRequest.db_name"); - CHK_(ptr); - } else goto handle_unusual; - continue; - // string collection_name = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_collection_name(), ptr, ctx, "milvus.proto.milvus.RetrieveRequest.collection_name"); - CHK_(ptr); - } else goto handle_unusual; - continue; - // repeated string partition_names = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { - ptr -= 1; - do { - ptr += 1; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(add_partition_names(), ptr, ctx, "milvus.proto.milvus.RetrieveRequest.partition_names"); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 34); - } else goto handle_unusual; - continue; - // .milvus.proto.schema.IDs ids = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { - ptr = ctx->ParseMessage(mutable_ids(), ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; - // repeated string output_fields = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) { - ptr -= 1; - do { - ptr += 1; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(add_output_fields(), ptr, ctx, "milvus.proto.milvus.RetrieveRequest.output_fields"); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 50); - } else goto handle_unusual; - continue; - // uint64 travel_timestamp = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) { - travel_timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; - // uint64 guarantee_timestamp = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) { - guarantee_timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); - CHK_(ptr != nullptr); - continue; - } - } // switch - } // while -success: - return ptr; -failure: - ptr = nullptr; - goto success; -#undef CHK_ -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool RetrieveRequest::MergePartialFromCodedStream( - ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - // @@protoc_insertion_point(parse_start:milvus.proto.milvus.RetrieveRequest) - for (;;) { - ::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .milvus.proto.common.MsgBase base = 1; - case 1: { - if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) { - DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage( - input, mutable_base())); - } else { - goto handle_unusual; - } - break; - } - - // string db_name = 2; - case 2: { - if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (18 & 0xFF)) { - DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( - input, this->mutable_db_name())); - DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->db_name().data(), static_cast(this->db_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, - "milvus.proto.milvus.RetrieveRequest.db_name")); - } else { - goto handle_unusual; - } - break; - } - - // string collection_name = 3; - case 3: { - if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (26 & 0xFF)) { - DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( - input, this->mutable_collection_name())); - DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->collection_name().data(), static_cast(this->collection_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, - "milvus.proto.milvus.RetrieveRequest.collection_name")); - } else { - goto handle_unusual; - } - break; - } - - // repeated string partition_names = 4; - case 4: { - if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (34 & 0xFF)) { - DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( - input, this->add_partition_names())); - DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->partition_names(this->partition_names_size() - 1).data(), - static_cast(this->partition_names(this->partition_names_size() - 1).length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, - "milvus.proto.milvus.RetrieveRequest.partition_names")); - } else { - goto handle_unusual; - } - break; - } - - // .milvus.proto.schema.IDs ids = 5; - case 5: { - if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (42 & 0xFF)) { - DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage( - input, mutable_ids())); - } else { - goto handle_unusual; - } - break; - } - - // repeated string output_fields = 6; - case 6: { - if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (50 & 0xFF)) { - DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( - input, this->add_output_fields())); - DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->output_fields(this->output_fields_size() - 1).data(), - static_cast(this->output_fields(this->output_fields_size() - 1).length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, - "milvus.proto.milvus.RetrieveRequest.output_fields")); - } else { - goto handle_unusual; - } - break; - } - - // uint64 travel_timestamp = 7; - case 7: { - if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (56 & 0xFF)) { - - DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPrimitive< - ::PROTOBUF_NAMESPACE_ID::uint64, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64>( - input, &travel_timestamp_))); - } else { - goto handle_unusual; - } - break; - } - - // uint64 guarantee_timestamp = 8; - case 8: { - if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (64 & 0xFF)) { - - DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPrimitive< - ::PROTOBUF_NAMESPACE_ID::uint64, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64>( - input, &guarantee_timestamp_))); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:milvus.proto.milvus.RetrieveRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:milvus.proto.milvus.RetrieveRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void RetrieveRequest::SerializeWithCachedSizes( - ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:milvus.proto.milvus.RetrieveRequest) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .milvus.proto.common.MsgBase base = 1; - if (this->has_base()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, _Internal::base(this), output); - } - - // string db_name = 2; - if (this->db_name().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->db_name().data(), static_cast(this->db_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "milvus.proto.milvus.RetrieveRequest.db_name"); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->db_name(), output); - } - - // string collection_name = 3; - if (this->collection_name().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->collection_name().data(), static_cast(this->collection_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "milvus.proto.milvus.RetrieveRequest.collection_name"); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->collection_name(), output); - } - - // repeated string partition_names = 4; - for (int i = 0, n = this->partition_names_size(); i < n; i++) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->partition_names(i).data(), static_cast(this->partition_names(i).length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "milvus.proto.milvus.RetrieveRequest.partition_names"); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteString( - 4, this->partition_names(i), output); - } - - // .milvus.proto.schema.IDs ids = 5; - if (this->has_ids()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, _Internal::ids(this), output); - } - - // repeated string output_fields = 6; - for (int i = 0, n = this->output_fields_size(); i < n; i++) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->output_fields(i).data(), static_cast(this->output_fields(i).length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "milvus.proto.milvus.RetrieveRequest.output_fields"); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteString( - 6, this->output_fields(i), output); - } - - // uint64 travel_timestamp = 7; - if (this->travel_timestamp() != 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64(7, this->travel_timestamp(), output); - } - - // uint64 guarantee_timestamp = 8; - if (this->guarantee_timestamp() != 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64(8, this->guarantee_timestamp(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:milvus.proto.milvus.RetrieveRequest) -} - -::PROTOBUF_NAMESPACE_ID::uint8* RetrieveRequest::InternalSerializeWithCachedSizesToArray( - ::PROTOBUF_NAMESPACE_ID::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:milvus.proto.milvus.RetrieveRequest) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .milvus.proto.common.MsgBase base = 1; - if (this->has_base()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, _Internal::base(this), target); - } - - // string db_name = 2; - if (this->db_name().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->db_name().data(), static_cast(this->db_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "milvus.proto.milvus.RetrieveRequest.db_name"); - target = - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray( - 2, this->db_name(), target); - } - - // string collection_name = 3; - if (this->collection_name().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->collection_name().data(), static_cast(this->collection_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "milvus.proto.milvus.RetrieveRequest.collection_name"); - target = - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray( - 3, this->collection_name(), target); - } - - // repeated string partition_names = 4; - for (int i = 0, n = this->partition_names_size(); i < n; i++) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->partition_names(i).data(), static_cast(this->partition_names(i).length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "milvus.proto.milvus.RetrieveRequest.partition_names"); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - WriteStringToArray(4, this->partition_names(i), target); - } - - // .milvus.proto.schema.IDs ids = 5; - if (this->has_ids()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, _Internal::ids(this), target); - } - - // repeated string output_fields = 6; - for (int i = 0, n = this->output_fields_size(); i < n; i++) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->output_fields(i).data(), static_cast(this->output_fields(i).length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "milvus.proto.milvus.RetrieveRequest.output_fields"); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - WriteStringToArray(6, this->output_fields(i), target); - } - - // uint64 travel_timestamp = 7; - if (this->travel_timestamp() != 0) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64ToArray(7, this->travel_timestamp(), target); - } - - // uint64 guarantee_timestamp = 8; - if (this->guarantee_timestamp() != 0) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64ToArray(8, this->guarantee_timestamp(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:milvus.proto.milvus.RetrieveRequest) - return target; -} - -size_t RetrieveRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:milvus.proto.milvus.RetrieveRequest) - 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 string partition_names = 4; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->partition_names_size()); - for (int i = 0, n = this->partition_names_size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->partition_names(i)); - } - - // repeated string output_fields = 6; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->output_fields_size()); - for (int i = 0, n = this->output_fields_size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->output_fields(i)); - } - - // string db_name = 2; - if (this->db_name().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->db_name()); - } - - // string collection_name = 3; - if (this->collection_name().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->collection_name()); - } - - // .milvus.proto.common.MsgBase base = 1; - if (this->has_base()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *base_); - } - - // .milvus.proto.schema.IDs ids = 5; - if (this->has_ids()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *ids_); - } - - // uint64 travel_timestamp = 7; - if (this->travel_timestamp() != 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt64Size( - this->travel_timestamp()); - } - - // uint64 guarantee_timestamp = 8; - if (this->guarantee_timestamp() != 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt64Size( - this->guarantee_timestamp()); - } - - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void RetrieveRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:milvus.proto.milvus.RetrieveRequest) - GOOGLE_DCHECK_NE(&from, this); - const RetrieveRequest* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:milvus.proto.milvus.RetrieveRequest) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:milvus.proto.milvus.RetrieveRequest) - MergeFrom(*source); - } -} - -void RetrieveRequest::MergeFrom(const RetrieveRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:milvus.proto.milvus.RetrieveRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - partition_names_.MergeFrom(from.partition_names_); - output_fields_.MergeFrom(from.output_fields_); - if (from.db_name().size() > 0) { - - db_name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.db_name_); - } - if (from.collection_name().size() > 0) { - - collection_name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.collection_name_); - } - if (from.has_base()) { - mutable_base()->::milvus::proto::common::MsgBase::MergeFrom(from.base()); - } - if (from.has_ids()) { - mutable_ids()->::milvus::proto::schema::IDs::MergeFrom(from.ids()); - } - if (from.travel_timestamp() != 0) { - set_travel_timestamp(from.travel_timestamp()); - } - if (from.guarantee_timestamp() != 0) { - set_guarantee_timestamp(from.guarantee_timestamp()); - } -} - -void RetrieveRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:milvus.proto.milvus.RetrieveRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void RetrieveRequest::CopyFrom(const RetrieveRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:milvus.proto.milvus.RetrieveRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool RetrieveRequest::IsInitialized() const { - return true; -} - -void RetrieveRequest::InternalSwap(RetrieveRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - partition_names_.InternalSwap(CastToBase(&other->partition_names_)); - output_fields_.InternalSwap(CastToBase(&other->output_fields_)); - db_name_.Swap(&other->db_name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - collection_name_.Swap(&other->collection_name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(base_, other->base_); - swap(ids_, other->ids_); - swap(travel_timestamp_, other->travel_timestamp_); - swap(guarantee_timestamp_, other->guarantee_timestamp_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata RetrieveRequest::GetMetadata() const { - return GetMetadataStatic(); -} - - -// =================================================================== - -void RetrieveResults::InitAsDefaultInstance() { - ::milvus::proto::milvus::_RetrieveResults_default_instance_._instance.get_mutable()->status_ = const_cast< ::milvus::proto::common::Status*>( - ::milvus::proto::common::Status::internal_default_instance()); - ::milvus::proto::milvus::_RetrieveResults_default_instance_._instance.get_mutable()->ids_ = const_cast< ::milvus::proto::schema::IDs*>( - ::milvus::proto::schema::IDs::internal_default_instance()); -} -class RetrieveResults::_Internal { - public: - static const ::milvus::proto::common::Status& status(const RetrieveResults* msg); - static const ::milvus::proto::schema::IDs& ids(const RetrieveResults* msg); -}; - -const ::milvus::proto::common::Status& -RetrieveResults::_Internal::status(const RetrieveResults* msg) { - return *msg->status_; -} -const ::milvus::proto::schema::IDs& -RetrieveResults::_Internal::ids(const RetrieveResults* msg) { - return *msg->ids_; -} -void RetrieveResults::clear_status() { - if (GetArenaNoVirtual() == nullptr && status_ != nullptr) { - delete status_; - } - status_ = nullptr; -} -void RetrieveResults::clear_ids() { - if (GetArenaNoVirtual() == nullptr && ids_ != nullptr) { - delete ids_; - } - ids_ = nullptr; -} -void RetrieveResults::clear_fields_data() { - fields_data_.Clear(); -} -RetrieveResults::RetrieveResults() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:milvus.proto.milvus.RetrieveResults) -} -RetrieveResults::RetrieveResults(const RetrieveResults& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr), - fields_data_(from.fields_data_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_status()) { - status_ = new ::milvus::proto::common::Status(*from.status_); - } else { - status_ = nullptr; - } - if (from.has_ids()) { - ids_ = new ::milvus::proto::schema::IDs(*from.ids_); - } else { - ids_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:milvus.proto.milvus.RetrieveResults) -} - -void RetrieveResults::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_RetrieveResults_milvus_2eproto.base); - ::memset(&status_, 0, static_cast( - reinterpret_cast(&ids_) - - reinterpret_cast(&status_)) + sizeof(ids_)); -} - -RetrieveResults::~RetrieveResults() { - // @@protoc_insertion_point(destructor:milvus.proto.milvus.RetrieveResults) - SharedDtor(); -} - -void RetrieveResults::SharedDtor() { - if (this != internal_default_instance()) delete status_; - if (this != internal_default_instance()) delete ids_; -} - -void RetrieveResults::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const RetrieveResults& RetrieveResults::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_RetrieveResults_milvus_2eproto.base); - return *internal_default_instance(); -} - - -void RetrieveResults::Clear() { -// @@protoc_insertion_point(message_clear_start:milvus.proto.milvus.RetrieveResults) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - fields_data_.Clear(); - if (GetArenaNoVirtual() == nullptr && status_ != nullptr) { - delete status_; - } - status_ = nullptr; - if (GetArenaNoVirtual() == nullptr && ids_ != nullptr) { - delete ids_; - } - ids_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* RetrieveResults::_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; - // .milvus.proto.schema.IDs ids = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { - ptr = ctx->ParseMessage(mutable_ids(), ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; - // repeated .milvus.proto.schema.FieldData fields_data = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(add_fields_data(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 26); - } 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 RetrieveResults::MergePartialFromCodedStream( - ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - // @@protoc_insertion_point(parse_start:milvus.proto.milvus.RetrieveResults) - 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; - } - - // .milvus.proto.schema.IDs ids = 2; - case 2: { - if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (18 & 0xFF)) { - DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage( - input, mutable_ids())); - } else { - goto handle_unusual; - } - break; - } - - // repeated .milvus.proto.schema.FieldData fields_data = 3; - case 3: { - if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (26 & 0xFF)) { - DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage( - input, add_fields_data())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:milvus.proto.milvus.RetrieveResults) - return true; -failure: - // @@protoc_insertion_point(parse_failure:milvus.proto.milvus.RetrieveResults) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void RetrieveResults::SerializeWithCachedSizes( - ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:milvus.proto.milvus.RetrieveResults) - ::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); - } - - // .milvus.proto.schema.IDs ids = 2; - if (this->has_ids()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, _Internal::ids(this), output); - } - - // repeated .milvus.proto.schema.FieldData fields_data = 3; - for (unsigned int i = 0, - n = static_cast(this->fields_data_size()); i < n; i++) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, - this->fields_data(static_cast(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.milvus.RetrieveResults) -} - -::PROTOBUF_NAMESPACE_ID::uint8* RetrieveResults::InternalSerializeWithCachedSizesToArray( - ::PROTOBUF_NAMESPACE_ID::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:milvus.proto.milvus.RetrieveResults) - ::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); - } - - // .milvus.proto.schema.IDs ids = 2; - if (this->has_ids()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, _Internal::ids(this), target); - } - - // repeated .milvus.proto.schema.FieldData fields_data = 3; - for (unsigned int i = 0, - n = static_cast(this->fields_data_size()); i < n; i++) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, this->fields_data(static_cast(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.milvus.RetrieveResults) - return target; -} - -size_t RetrieveResults::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:milvus.proto.milvus.RetrieveResults) - 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.schema.FieldData fields_data = 3; - { - unsigned int count = static_cast(this->fields_data_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - this->fields_data(static_cast(i))); - } - } - - // .milvus.proto.common.Status status = 1; - if (this->has_status()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *status_); - } - - // .milvus.proto.schema.IDs ids = 2; - if (this->has_ids()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *ids_); - } - - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void RetrieveResults::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:milvus.proto.milvus.RetrieveResults) - GOOGLE_DCHECK_NE(&from, this); - const RetrieveResults* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:milvus.proto.milvus.RetrieveResults) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:milvus.proto.milvus.RetrieveResults) - MergeFrom(*source); - } -} - -void RetrieveResults::MergeFrom(const RetrieveResults& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:milvus.proto.milvus.RetrieveResults) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - fields_data_.MergeFrom(from.fields_data_); - if (from.has_status()) { - mutable_status()->::milvus::proto::common::Status::MergeFrom(from.status()); - } - if (from.has_ids()) { - mutable_ids()->::milvus::proto::schema::IDs::MergeFrom(from.ids()); - } -} - -void RetrieveResults::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:milvus.proto.milvus.RetrieveResults) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void RetrieveResults::CopyFrom(const RetrieveResults& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:milvus.proto.milvus.RetrieveResults) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool RetrieveResults::IsInitialized() const { - return true; -} - -void RetrieveResults::InternalSwap(RetrieveResults* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&fields_data_)->InternalSwap(CastToBase(&other->fields_data_)); - swap(status_, other->status_); - swap(ids_, other->ids_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata RetrieveResults::GetMetadata() const { - return GetMetadataStatic(); -} - - // =================================================================== void Hits::InitAsDefaultInstance() { @@ -23383,6 +22236,9 @@ QueryRequest::QueryRequest(const QueryRequest& from) } else { base_ = nullptr; } + ::memcpy(&travel_timestamp_, &from.travel_timestamp_, + static_cast(reinterpret_cast(&guarantee_timestamp_) - + reinterpret_cast(&travel_timestamp_)) + sizeof(guarantee_timestamp_)); // @@protoc_insertion_point(copy_constructor:milvus.proto.milvus.QueryRequest) } @@ -23391,7 +22247,9 @@ void QueryRequest::SharedCtor() { db_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); collection_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); expr_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - base_ = nullptr; + ::memset(&base_, 0, static_cast( + reinterpret_cast(&guarantee_timestamp_) - + reinterpret_cast(&base_)) + sizeof(guarantee_timestamp_)); } QueryRequest::~QueryRequest() { @@ -23430,6 +22288,9 @@ void QueryRequest::Clear() { delete base_; } base_ = nullptr; + ::memset(&travel_timestamp_, 0, static_cast( + reinterpret_cast(&guarantee_timestamp_) - + reinterpret_cast(&travel_timestamp_)) + sizeof(guarantee_timestamp_)); _internal_metadata_.Clear(); } @@ -23493,6 +22354,20 @@ const char* QueryRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_I } while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 50); } else goto handle_unusual; continue; + // uint64 travel_timestamp = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) { + travel_timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint64 guarantee_timestamp = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) { + guarantee_timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { @@ -23611,6 +22486,32 @@ bool QueryRequest::MergePartialFromCodedStream( break; } + // uint64 travel_timestamp = 7; + case 7: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (56 & 0xFF)) { + + DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPrimitive< + ::PROTOBUF_NAMESPACE_ID::uint64, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64>( + input, &travel_timestamp_))); + } else { + goto handle_unusual; + } + break; + } + + // uint64 guarantee_timestamp = 8; + case 8: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (64 & 0xFF)) { + + DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPrimitive< + ::PROTOBUF_NAMESPACE_ID::uint64, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64>( + input, &guarantee_timestamp_))); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: if (tag == 0) { @@ -23694,6 +22595,16 @@ void QueryRequest::SerializeWithCachedSizes( 6, this->partition_names(i), output); } + // uint64 travel_timestamp = 7; + if (this->travel_timestamp() != 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64(7, this->travel_timestamp(), output); + } + + // uint64 guarantee_timestamp = 8; + if (this->guarantee_timestamp() != 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64(8, this->guarantee_timestamp(), output); + } + if (_internal_metadata_.have_unknown_fields()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); @@ -23767,6 +22678,16 @@ void QueryRequest::SerializeWithCachedSizes( WriteStringToArray(6, this->partition_names(i), target); } + // uint64 travel_timestamp = 7; + if (this->travel_timestamp() != 0) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64ToArray(7, this->travel_timestamp(), target); + } + + // uint64 guarantee_timestamp = 8; + if (this->guarantee_timestamp() != 0) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64ToArray(8, this->guarantee_timestamp(), target); + } + if (_internal_metadata_.have_unknown_fields()) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); @@ -23832,6 +22753,20 @@ size_t QueryRequest::ByteSizeLong() const { *base_); } + // uint64 travel_timestamp = 7; + if (this->travel_timestamp() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt64Size( + this->travel_timestamp()); + } + + // uint64 guarantee_timestamp = 8; + if (this->guarantee_timestamp() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt64Size( + this->guarantee_timestamp()); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); SetCachedSize(cached_size); return total_size; @@ -23876,6 +22811,12 @@ void QueryRequest::MergeFrom(const QueryRequest& from) { if (from.has_base()) { mutable_base()->::milvus::proto::common::MsgBase::MergeFrom(from.base()); } + if (from.travel_timestamp() != 0) { + set_travel_timestamp(from.travel_timestamp()); + } + if (from.guarantee_timestamp() != 0) { + set_guarantee_timestamp(from.guarantee_timestamp()); + } } void QueryRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { @@ -23908,6 +22849,8 @@ void QueryRequest::InternalSwap(QueryRequest* other) { expr_.Swap(&other->expr_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); swap(base_, other->base_); + swap(travel_timestamp_, other->travel_timestamp_); + swap(guarantee_timestamp_, other->guarantee_timestamp_); } ::PROTOBUF_NAMESPACE_ID::Metadata QueryRequest::GetMetadata() const { @@ -29598,12 +28541,6 @@ template<> PROTOBUF_NOINLINE ::milvus::proto::milvus::PlaceholderGroup* Arena::C template<> PROTOBUF_NOINLINE ::milvus::proto::milvus::SearchRequest* Arena::CreateMaybeMessage< ::milvus::proto::milvus::SearchRequest >(Arena* arena) { return Arena::CreateInternal< ::milvus::proto::milvus::SearchRequest >(arena); } -template<> PROTOBUF_NOINLINE ::milvus::proto::milvus::RetrieveRequest* Arena::CreateMaybeMessage< ::milvus::proto::milvus::RetrieveRequest >(Arena* arena) { - return Arena::CreateInternal< ::milvus::proto::milvus::RetrieveRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::milvus::proto::milvus::RetrieveResults* Arena::CreateMaybeMessage< ::milvus::proto::milvus::RetrieveResults >(Arena* arena) { - return Arena::CreateInternal< ::milvus::proto::milvus::RetrieveResults >(arena); -} template<> PROTOBUF_NOINLINE ::milvus::proto::milvus::Hits* Arena::CreateMaybeMessage< ::milvus::proto::milvus::Hits >(Arena* arena) { return Arena::CreateInternal< ::milvus::proto::milvus::Hits >(arena); } diff --git a/internal/core/src/pb/milvus.pb.h b/internal/core/src/pb/milvus.pb.h index d0efa590cf..67f6a87c25 100644 --- a/internal/core/src/pb/milvus.pb.h +++ b/internal/core/src/pb/milvus.pb.h @@ -53,7 +53,7 @@ struct TableStruct_milvus_2eproto { PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[63] + static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[61] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; @@ -213,12 +213,6 @@ extern ReleaseCollectionRequestDefaultTypeInternal _ReleaseCollectionRequest_def class ReleasePartitionsRequest; class ReleasePartitionsRequestDefaultTypeInternal; extern ReleasePartitionsRequestDefaultTypeInternal _ReleasePartitionsRequest_default_instance_; -class RetrieveRequest; -class RetrieveRequestDefaultTypeInternal; -extern RetrieveRequestDefaultTypeInternal _RetrieveRequest_default_instance_; -class RetrieveResults; -class RetrieveResultsDefaultTypeInternal; -extern RetrieveResultsDefaultTypeInternal _RetrieveResults_default_instance_; class SearchRequest; class SearchRequestDefaultTypeInternal; extern SearchRequestDefaultTypeInternal _SearchRequest_default_instance_; @@ -306,8 +300,6 @@ template<> ::milvus::proto::milvus::RegisterLinkRequest* Arena::CreateMaybeMessa template<> ::milvus::proto::milvus::RegisterLinkResponse* Arena::CreateMaybeMessage<::milvus::proto::milvus::RegisterLinkResponse>(Arena*); template<> ::milvus::proto::milvus::ReleaseCollectionRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::ReleaseCollectionRequest>(Arena*); template<> ::milvus::proto::milvus::ReleasePartitionsRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::ReleasePartitionsRequest>(Arena*); -template<> ::milvus::proto::milvus::RetrieveRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::RetrieveRequest>(Arena*); -template<> ::milvus::proto::milvus::RetrieveResults* Arena::CreateMaybeMessage<::milvus::proto::milvus::RetrieveResults>(Arena*); template<> ::milvus::proto::milvus::SearchRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::SearchRequest>(Arena*); template<> ::milvus::proto::milvus::SearchResults* Arena::CreateMaybeMessage<::milvus::proto::milvus::SearchResults>(Arena*); template<> ::milvus::proto::milvus::ShowCollectionsRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::ShowCollectionsRequest>(Arena*); @@ -7284,385 +7276,6 @@ class SearchRequest : }; // ------------------------------------------------------------------- -class RetrieveRequest : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.RetrieveRequest) */ { - public: - RetrieveRequest(); - virtual ~RetrieveRequest(); - - RetrieveRequest(const RetrieveRequest& from); - RetrieveRequest(RetrieveRequest&& from) noexcept - : RetrieveRequest() { - *this = ::std::move(from); - } - - inline RetrieveRequest& operator=(const RetrieveRequest& from) { - CopyFrom(from); - return *this; - } - inline RetrieveRequest& operator=(RetrieveRequest&& 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 RetrieveRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const RetrieveRequest* internal_default_instance() { - return reinterpret_cast( - &_RetrieveRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 40; - - friend void swap(RetrieveRequest& a, RetrieveRequest& b) { - a.Swap(&b); - } - inline void Swap(RetrieveRequest* other) { - if (other == this) return; - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - inline RetrieveRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - RetrieveRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void CopyFrom(const RetrieveRequest& from); - void MergeFrom(const RetrieveRequest& 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(RetrieveRequest* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "milvus.proto.milvus.RetrieveRequest"; - } - private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto); - return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages]; - } - - public: - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPartitionNamesFieldNumber = 4, - kOutputFieldsFieldNumber = 6, - kDbNameFieldNumber = 2, - kCollectionNameFieldNumber = 3, - kBaseFieldNumber = 1, - kIdsFieldNumber = 5, - kTravelTimestampFieldNumber = 7, - kGuaranteeTimestampFieldNumber = 8, - }; - // repeated string partition_names = 4; - int partition_names_size() const; - void clear_partition_names(); - const std::string& partition_names(int index) const; - std::string* mutable_partition_names(int index); - void set_partition_names(int index, const std::string& value); - void set_partition_names(int index, std::string&& value); - void set_partition_names(int index, const char* value); - void set_partition_names(int index, const char* value, size_t size); - std::string* add_partition_names(); - void add_partition_names(const std::string& value); - void add_partition_names(std::string&& value); - void add_partition_names(const char* value); - void add_partition_names(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& partition_names() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_partition_names(); - - // repeated string output_fields = 6; - int output_fields_size() const; - void clear_output_fields(); - const std::string& output_fields(int index) const; - std::string* mutable_output_fields(int index); - void set_output_fields(int index, const std::string& value); - void set_output_fields(int index, std::string&& value); - void set_output_fields(int index, const char* value); - void set_output_fields(int index, const char* value, size_t size); - std::string* add_output_fields(); - void add_output_fields(const std::string& value); - void add_output_fields(std::string&& value); - void add_output_fields(const char* value); - void add_output_fields(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& output_fields() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_output_fields(); - - // string db_name = 2; - void clear_db_name(); - const std::string& db_name() const; - void set_db_name(const std::string& value); - void set_db_name(std::string&& value); - void set_db_name(const char* value); - void set_db_name(const char* value, size_t size); - std::string* mutable_db_name(); - std::string* release_db_name(); - void set_allocated_db_name(std::string* db_name); - - // string collection_name = 3; - void clear_collection_name(); - const std::string& collection_name() const; - void set_collection_name(const std::string& value); - void set_collection_name(std::string&& value); - void set_collection_name(const char* value); - void set_collection_name(const char* value, size_t size); - std::string* mutable_collection_name(); - std::string* release_collection_name(); - void set_allocated_collection_name(std::string* collection_name); - - // .milvus.proto.common.MsgBase base = 1; - bool has_base() const; - void clear_base(); - const ::milvus::proto::common::MsgBase& base() const; - ::milvus::proto::common::MsgBase* release_base(); - ::milvus::proto::common::MsgBase* mutable_base(); - void set_allocated_base(::milvus::proto::common::MsgBase* base); - - // .milvus.proto.schema.IDs ids = 5; - bool has_ids() const; - void clear_ids(); - const ::milvus::proto::schema::IDs& ids() const; - ::milvus::proto::schema::IDs* release_ids(); - ::milvus::proto::schema::IDs* mutable_ids(); - void set_allocated_ids(::milvus::proto::schema::IDs* ids); - - // uint64 travel_timestamp = 7; - void clear_travel_timestamp(); - ::PROTOBUF_NAMESPACE_ID::uint64 travel_timestamp() const; - void set_travel_timestamp(::PROTOBUF_NAMESPACE_ID::uint64 value); - - // uint64 guarantee_timestamp = 8; - void clear_guarantee_timestamp(); - ::PROTOBUF_NAMESPACE_ID::uint64 guarantee_timestamp() const; - void set_guarantee_timestamp(::PROTOBUF_NAMESPACE_ID::uint64 value); - - // @@protoc_insertion_point(class_scope:milvus.proto.milvus.RetrieveRequest) - private: - class _Internal; - - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField partition_names_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField output_fields_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr db_name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_name_; - ::milvus::proto::common::MsgBase* base_; - ::milvus::proto::schema::IDs* ids_; - ::PROTOBUF_NAMESPACE_ID::uint64 travel_timestamp_; - ::PROTOBUF_NAMESPACE_ID::uint64 guarantee_timestamp_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_milvus_2eproto; -}; -// ------------------------------------------------------------------- - -class RetrieveResults : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.RetrieveResults) */ { - public: - RetrieveResults(); - virtual ~RetrieveResults(); - - RetrieveResults(const RetrieveResults& from); - RetrieveResults(RetrieveResults&& from) noexcept - : RetrieveResults() { - *this = ::std::move(from); - } - - inline RetrieveResults& operator=(const RetrieveResults& from) { - CopyFrom(from); - return *this; - } - inline RetrieveResults& operator=(RetrieveResults&& 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 RetrieveResults& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const RetrieveResults* internal_default_instance() { - return reinterpret_cast( - &_RetrieveResults_default_instance_); - } - static constexpr int kIndexInFileMessages = - 41; - - friend void swap(RetrieveResults& a, RetrieveResults& b) { - a.Swap(&b); - } - inline void Swap(RetrieveResults* other) { - if (other == this) return; - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - inline RetrieveResults* New() const final { - return CreateMaybeMessage(nullptr); - } - - RetrieveResults* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void CopyFrom(const RetrieveResults& from); - void MergeFrom(const RetrieveResults& 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(RetrieveResults* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "milvus.proto.milvus.RetrieveResults"; - } - private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto); - return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages]; - } - - public: - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFieldsDataFieldNumber = 3, - kStatusFieldNumber = 1, - kIdsFieldNumber = 2, - }; - // repeated .milvus.proto.schema.FieldData fields_data = 3; - int fields_data_size() const; - void clear_fields_data(); - ::milvus::proto::schema::FieldData* mutable_fields_data(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::schema::FieldData >* - mutable_fields_data(); - const ::milvus::proto::schema::FieldData& fields_data(int index) const; - ::milvus::proto::schema::FieldData* add_fields_data(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::schema::FieldData >& - fields_data() const; - - // .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); - - // .milvus.proto.schema.IDs ids = 2; - bool has_ids() const; - void clear_ids(); - const ::milvus::proto::schema::IDs& ids() const; - ::milvus::proto::schema::IDs* release_ids(); - ::milvus::proto::schema::IDs* mutable_ids(); - void set_allocated_ids(::milvus::proto::schema::IDs* ids); - - // @@protoc_insertion_point(class_scope:milvus.proto.milvus.RetrieveResults) - private: - class _Internal; - - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::schema::FieldData > fields_data_; - ::milvus::proto::common::Status* status_; - ::milvus::proto::schema::IDs* ids_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_milvus_2eproto; -}; -// ------------------------------------------------------------------- - class Hits : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.Hits) */ { public: @@ -7705,7 +7318,7 @@ class Hits : &_Hits_default_instance_); } static constexpr int kIndexInFileMessages = - 42; + 40; friend void swap(Hits& a, Hits& b) { a.Swap(&b); @@ -7876,7 +7489,7 @@ class SearchResults : &_SearchResults_default_instance_); } static constexpr int kIndexInFileMessages = - 43; + 41; friend void swap(SearchResults& a, SearchResults& b) { a.Swap(&b); @@ -8020,7 +7633,7 @@ class FlushRequest : &_FlushRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 44; + 42; friend void swap(FlushRequest& a, FlushRequest& b) { a.Swap(&b); @@ -8168,7 +7781,7 @@ public: private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto); - return ::descriptor_table_milvus_2eproto.file_level_metadata[45]; + return ::descriptor_table_milvus_2eproto.file_level_metadata[43]; } public: @@ -8218,7 +7831,7 @@ class FlushResponse : &_FlushResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 46; + 44; friend void swap(FlushResponse& a, FlushResponse& b) { a.Swap(&b); @@ -8381,7 +7994,7 @@ class QueryRequest : &_QueryRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 47; + 45; friend void swap(QueryRequest& a, QueryRequest& b) { a.Swap(&b); @@ -8458,6 +8071,8 @@ class QueryRequest : kCollectionNameFieldNumber = 3, kExprFieldNumber = 4, kBaseFieldNumber = 1, + kTravelTimestampFieldNumber = 7, + kGuaranteeTimestampFieldNumber = 8, }; // repeated string output_fields = 5; int output_fields_size() const; @@ -8534,6 +8149,16 @@ class QueryRequest : ::milvus::proto::common::MsgBase* mutable_base(); void set_allocated_base(::milvus::proto::common::MsgBase* base); + // uint64 travel_timestamp = 7; + void clear_travel_timestamp(); + ::PROTOBUF_NAMESPACE_ID::uint64 travel_timestamp() const; + void set_travel_timestamp(::PROTOBUF_NAMESPACE_ID::uint64 value); + + // uint64 guarantee_timestamp = 8; + void clear_guarantee_timestamp(); + ::PROTOBUF_NAMESPACE_ID::uint64 guarantee_timestamp() const; + void set_guarantee_timestamp(::PROTOBUF_NAMESPACE_ID::uint64 value); + // @@protoc_insertion_point(class_scope:milvus.proto.milvus.QueryRequest) private: class _Internal; @@ -8545,6 +8170,8 @@ class QueryRequest : ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_name_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr expr_; ::milvus::proto::common::MsgBase* base_; + ::PROTOBUF_NAMESPACE_ID::uint64 travel_timestamp_; + ::PROTOBUF_NAMESPACE_ID::uint64 guarantee_timestamp_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_milvus_2eproto; }; @@ -8592,7 +8219,7 @@ class QueryResults : &_QueryResults_default_instance_); } static constexpr int kIndexInFileMessages = - 48; + 46; friend void swap(QueryResults& a, QueryResults& b) { a.Swap(&b); @@ -8739,7 +8366,7 @@ class VectorIDs : &_VectorIDs_default_instance_); } static constexpr int kIndexInFileMessages = - 49; + 47; friend void swap(VectorIDs& a, VectorIDs& b) { a.Swap(&b); @@ -8924,7 +8551,7 @@ class VectorsArray : &_VectorsArray_default_instance_); } static constexpr int kIndexInFileMessages = - 50; + 48; friend void swap(VectorsArray& a, VectorsArray& b) { a.Swap(&b); @@ -9080,7 +8707,7 @@ class CalcDistanceRequest : &_CalcDistanceRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 51; + 49; friend void swap(CalcDistanceRequest& a, CalcDistanceRequest& b) { a.Swap(&b); @@ -9253,7 +8880,7 @@ class CalcDistanceResults : &_CalcDistanceResults_default_instance_); } static constexpr int kIndexInFileMessages = - 52; + 50; friend void swap(CalcDistanceResults& a, CalcDistanceResults& b) { a.Swap(&b); @@ -9419,7 +9046,7 @@ class PersistentSegmentInfo : &_PersistentSegmentInfo_default_instance_); } static constexpr int kIndexInFileMessages = - 53; + 51; friend void swap(PersistentSegmentInfo& a, PersistentSegmentInfo& b) { a.Swap(&b); @@ -9578,7 +9205,7 @@ class GetPersistentSegmentInfoRequest : &_GetPersistentSegmentInfoRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 54; + 52; friend void swap(GetPersistentSegmentInfoRequest& a, GetPersistentSegmentInfoRequest& b) { a.Swap(&b); @@ -9738,7 +9365,7 @@ class GetPersistentSegmentInfoResponse : &_GetPersistentSegmentInfoResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 55; + 53; friend void swap(GetPersistentSegmentInfoResponse& a, GetPersistentSegmentInfoResponse& b) { a.Swap(&b); @@ -9885,7 +9512,7 @@ class QuerySegmentInfo : &_QuerySegmentInfo_default_instance_); } static constexpr int kIndexInFileMessages = - 56; + 54; friend void swap(QuerySegmentInfo& a, QuerySegmentInfo& b) { a.Swap(&b); @@ -10064,7 +9691,7 @@ class GetQuerySegmentInfoRequest : &_GetQuerySegmentInfoRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 57; + 55; friend void swap(GetQuerySegmentInfoRequest& a, GetQuerySegmentInfoRequest& b) { a.Swap(&b); @@ -10224,7 +9851,7 @@ class GetQuerySegmentInfoResponse : &_GetQuerySegmentInfoResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 58; + 56; friend void swap(GetQuerySegmentInfoResponse& a, GetQuerySegmentInfoResponse& b) { a.Swap(&b); @@ -10371,7 +9998,7 @@ class DummyRequest : &_DummyRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 59; + 57; friend void swap(DummyRequest& a, DummyRequest& b) { a.Swap(&b); @@ -10508,7 +10135,7 @@ class DummyResponse : &_DummyResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 60; + 58; friend void swap(DummyResponse& a, DummyResponse& b) { a.Swap(&b); @@ -10645,7 +10272,7 @@ class RegisterLinkRequest : &_RegisterLinkRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 61; + 59; friend void swap(RegisterLinkRequest& a, RegisterLinkRequest& b) { a.Swap(&b); @@ -10767,7 +10394,7 @@ class RegisterLinkResponse : &_RegisterLinkResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 62; + 60; friend void swap(RegisterLinkResponse& a, RegisterLinkResponse& b) { a.Swap(&b); @@ -17865,481 +17492,6 @@ inline void SearchRequest::set_guarantee_timestamp(::PROTOBUF_NAMESPACE_ID::uint // ------------------------------------------------------------------- -// RetrieveRequest - -// .milvus.proto.common.MsgBase base = 1; -inline bool RetrieveRequest::has_base() const { - return this != internal_default_instance() && base_ != nullptr; -} -inline const ::milvus::proto::common::MsgBase& RetrieveRequest::base() const { - const ::milvus::proto::common::MsgBase* p = base_; - // @@protoc_insertion_point(field_get:milvus.proto.milvus.RetrieveRequest.base) - return p != nullptr ? *p : *reinterpret_cast( - &::milvus::proto::common::_MsgBase_default_instance_); -} -inline ::milvus::proto::common::MsgBase* RetrieveRequest::release_base() { - // @@protoc_insertion_point(field_release:milvus.proto.milvus.RetrieveRequest.base) - - ::milvus::proto::common::MsgBase* temp = base_; - base_ = nullptr; - return temp; -} -inline ::milvus::proto::common::MsgBase* RetrieveRequest::mutable_base() { - - if (base_ == nullptr) { - auto* p = CreateMaybeMessage<::milvus::proto::common::MsgBase>(GetArenaNoVirtual()); - base_ = p; - } - // @@protoc_insertion_point(field_mutable:milvus.proto.milvus.RetrieveRequest.base) - return base_; -} -inline void RetrieveRequest::set_allocated_base(::milvus::proto::common::MsgBase* base) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_); - } - if (base) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, base, submessage_arena); - } - - } else { - - } - base_ = base; - // @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.RetrieveRequest.base) -} - -// string db_name = 2; -inline void RetrieveRequest::clear_db_name() { - db_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& RetrieveRequest::db_name() const { - // @@protoc_insertion_point(field_get:milvus.proto.milvus.RetrieveRequest.db_name) - return db_name_.GetNoArena(); -} -inline void RetrieveRequest::set_db_name(const std::string& value) { - - db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:milvus.proto.milvus.RetrieveRequest.db_name) -} -inline void RetrieveRequest::set_db_name(std::string&& value) { - - db_name_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.RetrieveRequest.db_name) -} -inline void RetrieveRequest::set_db_name(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:milvus.proto.milvus.RetrieveRequest.db_name) -} -inline void RetrieveRequest::set_db_name(const char* value, size_t size) { - - db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.RetrieveRequest.db_name) -} -inline std::string* RetrieveRequest::mutable_db_name() { - - // @@protoc_insertion_point(field_mutable:milvus.proto.milvus.RetrieveRequest.db_name) - return db_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* RetrieveRequest::release_db_name() { - // @@protoc_insertion_point(field_release:milvus.proto.milvus.RetrieveRequest.db_name) - - return db_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void RetrieveRequest::set_allocated_db_name(std::string* db_name) { - if (db_name != nullptr) { - - } else { - - } - db_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), db_name); - // @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.RetrieveRequest.db_name) -} - -// string collection_name = 3; -inline void RetrieveRequest::clear_collection_name() { - collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& RetrieveRequest::collection_name() const { - // @@protoc_insertion_point(field_get:milvus.proto.milvus.RetrieveRequest.collection_name) - return collection_name_.GetNoArena(); -} -inline void RetrieveRequest::set_collection_name(const std::string& value) { - - collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:milvus.proto.milvus.RetrieveRequest.collection_name) -} -inline void RetrieveRequest::set_collection_name(std::string&& value) { - - collection_name_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.RetrieveRequest.collection_name) -} -inline void RetrieveRequest::set_collection_name(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:milvus.proto.milvus.RetrieveRequest.collection_name) -} -inline void RetrieveRequest::set_collection_name(const char* value, size_t size) { - - collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.RetrieveRequest.collection_name) -} -inline std::string* RetrieveRequest::mutable_collection_name() { - - // @@protoc_insertion_point(field_mutable:milvus.proto.milvus.RetrieveRequest.collection_name) - return collection_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* RetrieveRequest::release_collection_name() { - // @@protoc_insertion_point(field_release:milvus.proto.milvus.RetrieveRequest.collection_name) - - return collection_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void RetrieveRequest::set_allocated_collection_name(std::string* collection_name) { - if (collection_name != nullptr) { - - } else { - - } - collection_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), collection_name); - // @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.RetrieveRequest.collection_name) -} - -// repeated string partition_names = 4; -inline int RetrieveRequest::partition_names_size() const { - return partition_names_.size(); -} -inline void RetrieveRequest::clear_partition_names() { - partition_names_.Clear(); -} -inline const std::string& RetrieveRequest::partition_names(int index) const { - // @@protoc_insertion_point(field_get:milvus.proto.milvus.RetrieveRequest.partition_names) - return partition_names_.Get(index); -} -inline std::string* RetrieveRequest::mutable_partition_names(int index) { - // @@protoc_insertion_point(field_mutable:milvus.proto.milvus.RetrieveRequest.partition_names) - return partition_names_.Mutable(index); -} -inline void RetrieveRequest::set_partition_names(int index, const std::string& value) { - // @@protoc_insertion_point(field_set:milvus.proto.milvus.RetrieveRequest.partition_names) - partition_names_.Mutable(index)->assign(value); -} -inline void RetrieveRequest::set_partition_names(int index, std::string&& value) { - // @@protoc_insertion_point(field_set:milvus.proto.milvus.RetrieveRequest.partition_names) - partition_names_.Mutable(index)->assign(std::move(value)); -} -inline void RetrieveRequest::set_partition_names(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - partition_names_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:milvus.proto.milvus.RetrieveRequest.partition_names) -} -inline void RetrieveRequest::set_partition_names(int index, const char* value, size_t size) { - partition_names_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.RetrieveRequest.partition_names) -} -inline std::string* RetrieveRequest::add_partition_names() { - // @@protoc_insertion_point(field_add_mutable:milvus.proto.milvus.RetrieveRequest.partition_names) - return partition_names_.Add(); -} -inline void RetrieveRequest::add_partition_names(const std::string& value) { - partition_names_.Add()->assign(value); - // @@protoc_insertion_point(field_add:milvus.proto.milvus.RetrieveRequest.partition_names) -} -inline void RetrieveRequest::add_partition_names(std::string&& value) { - partition_names_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:milvus.proto.milvus.RetrieveRequest.partition_names) -} -inline void RetrieveRequest::add_partition_names(const char* value) { - GOOGLE_DCHECK(value != nullptr); - partition_names_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:milvus.proto.milvus.RetrieveRequest.partition_names) -} -inline void RetrieveRequest::add_partition_names(const char* value, size_t size) { - partition_names_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:milvus.proto.milvus.RetrieveRequest.partition_names) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -RetrieveRequest::partition_names() const { - // @@protoc_insertion_point(field_list:milvus.proto.milvus.RetrieveRequest.partition_names) - return partition_names_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -RetrieveRequest::mutable_partition_names() { - // @@protoc_insertion_point(field_mutable_list:milvus.proto.milvus.RetrieveRequest.partition_names) - return &partition_names_; -} - -// .milvus.proto.schema.IDs ids = 5; -inline bool RetrieveRequest::has_ids() const { - return this != internal_default_instance() && ids_ != nullptr; -} -inline const ::milvus::proto::schema::IDs& RetrieveRequest::ids() const { - const ::milvus::proto::schema::IDs* p = ids_; - // @@protoc_insertion_point(field_get:milvus.proto.milvus.RetrieveRequest.ids) - return p != nullptr ? *p : *reinterpret_cast( - &::milvus::proto::schema::_IDs_default_instance_); -} -inline ::milvus::proto::schema::IDs* RetrieveRequest::release_ids() { - // @@protoc_insertion_point(field_release:milvus.proto.milvus.RetrieveRequest.ids) - - ::milvus::proto::schema::IDs* temp = ids_; - ids_ = nullptr; - return temp; -} -inline ::milvus::proto::schema::IDs* RetrieveRequest::mutable_ids() { - - if (ids_ == nullptr) { - auto* p = CreateMaybeMessage<::milvus::proto::schema::IDs>(GetArenaNoVirtual()); - ids_ = p; - } - // @@protoc_insertion_point(field_mutable:milvus.proto.milvus.RetrieveRequest.ids) - return ids_; -} -inline void RetrieveRequest::set_allocated_ids(::milvus::proto::schema::IDs* ids) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(ids_); - } - if (ids) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - ids = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, ids, submessage_arena); - } - - } else { - - } - ids_ = ids; - // @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.RetrieveRequest.ids) -} - -// repeated string output_fields = 6; -inline int RetrieveRequest::output_fields_size() const { - return output_fields_.size(); -} -inline void RetrieveRequest::clear_output_fields() { - output_fields_.Clear(); -} -inline const std::string& RetrieveRequest::output_fields(int index) const { - // @@protoc_insertion_point(field_get:milvus.proto.milvus.RetrieveRequest.output_fields) - return output_fields_.Get(index); -} -inline std::string* RetrieveRequest::mutable_output_fields(int index) { - // @@protoc_insertion_point(field_mutable:milvus.proto.milvus.RetrieveRequest.output_fields) - return output_fields_.Mutable(index); -} -inline void RetrieveRequest::set_output_fields(int index, const std::string& value) { - // @@protoc_insertion_point(field_set:milvus.proto.milvus.RetrieveRequest.output_fields) - output_fields_.Mutable(index)->assign(value); -} -inline void RetrieveRequest::set_output_fields(int index, std::string&& value) { - // @@protoc_insertion_point(field_set:milvus.proto.milvus.RetrieveRequest.output_fields) - output_fields_.Mutable(index)->assign(std::move(value)); -} -inline void RetrieveRequest::set_output_fields(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - output_fields_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:milvus.proto.milvus.RetrieveRequest.output_fields) -} -inline void RetrieveRequest::set_output_fields(int index, const char* value, size_t size) { - output_fields_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.RetrieveRequest.output_fields) -} -inline std::string* RetrieveRequest::add_output_fields() { - // @@protoc_insertion_point(field_add_mutable:milvus.proto.milvus.RetrieveRequest.output_fields) - return output_fields_.Add(); -} -inline void RetrieveRequest::add_output_fields(const std::string& value) { - output_fields_.Add()->assign(value); - // @@protoc_insertion_point(field_add:milvus.proto.milvus.RetrieveRequest.output_fields) -} -inline void RetrieveRequest::add_output_fields(std::string&& value) { - output_fields_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:milvus.proto.milvus.RetrieveRequest.output_fields) -} -inline void RetrieveRequest::add_output_fields(const char* value) { - GOOGLE_DCHECK(value != nullptr); - output_fields_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:milvus.proto.milvus.RetrieveRequest.output_fields) -} -inline void RetrieveRequest::add_output_fields(const char* value, size_t size) { - output_fields_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:milvus.proto.milvus.RetrieveRequest.output_fields) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -RetrieveRequest::output_fields() const { - // @@protoc_insertion_point(field_list:milvus.proto.milvus.RetrieveRequest.output_fields) - return output_fields_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -RetrieveRequest::mutable_output_fields() { - // @@protoc_insertion_point(field_mutable_list:milvus.proto.milvus.RetrieveRequest.output_fields) - return &output_fields_; -} - -// uint64 travel_timestamp = 7; -inline void RetrieveRequest::clear_travel_timestamp() { - travel_timestamp_ = PROTOBUF_ULONGLONG(0); -} -inline ::PROTOBUF_NAMESPACE_ID::uint64 RetrieveRequest::travel_timestamp() const { - // @@protoc_insertion_point(field_get:milvus.proto.milvus.RetrieveRequest.travel_timestamp) - return travel_timestamp_; -} -inline void RetrieveRequest::set_travel_timestamp(::PROTOBUF_NAMESPACE_ID::uint64 value) { - - travel_timestamp_ = value; - // @@protoc_insertion_point(field_set:milvus.proto.milvus.RetrieveRequest.travel_timestamp) -} - -// uint64 guarantee_timestamp = 8; -inline void RetrieveRequest::clear_guarantee_timestamp() { - guarantee_timestamp_ = PROTOBUF_ULONGLONG(0); -} -inline ::PROTOBUF_NAMESPACE_ID::uint64 RetrieveRequest::guarantee_timestamp() const { - // @@protoc_insertion_point(field_get:milvus.proto.milvus.RetrieveRequest.guarantee_timestamp) - return guarantee_timestamp_; -} -inline void RetrieveRequest::set_guarantee_timestamp(::PROTOBUF_NAMESPACE_ID::uint64 value) { - - guarantee_timestamp_ = value; - // @@protoc_insertion_point(field_set:milvus.proto.milvus.RetrieveRequest.guarantee_timestamp) -} - -// ------------------------------------------------------------------- - -// RetrieveResults - -// .milvus.proto.common.Status status = 1; -inline bool RetrieveResults::has_status() const { - return this != internal_default_instance() && status_ != nullptr; -} -inline const ::milvus::proto::common::Status& RetrieveResults::status() const { - const ::milvus::proto::common::Status* p = status_; - // @@protoc_insertion_point(field_get:milvus.proto.milvus.RetrieveResults.status) - return p != nullptr ? *p : *reinterpret_cast( - &::milvus::proto::common::_Status_default_instance_); -} -inline ::milvus::proto::common::Status* RetrieveResults::release_status() { - // @@protoc_insertion_point(field_release:milvus.proto.milvus.RetrieveResults.status) - - ::milvus::proto::common::Status* temp = status_; - status_ = nullptr; - return temp; -} -inline ::milvus::proto::common::Status* RetrieveResults::mutable_status() { - - if (status_ == nullptr) { - auto* p = CreateMaybeMessage<::milvus::proto::common::Status>(GetArenaNoVirtual()); - status_ = p; - } - // @@protoc_insertion_point(field_mutable:milvus.proto.milvus.RetrieveResults.status) - return status_; -} -inline void RetrieveResults::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.milvus.RetrieveResults.status) -} - -// .milvus.proto.schema.IDs ids = 2; -inline bool RetrieveResults::has_ids() const { - return this != internal_default_instance() && ids_ != nullptr; -} -inline const ::milvus::proto::schema::IDs& RetrieveResults::ids() const { - const ::milvus::proto::schema::IDs* p = ids_; - // @@protoc_insertion_point(field_get:milvus.proto.milvus.RetrieveResults.ids) - return p != nullptr ? *p : *reinterpret_cast( - &::milvus::proto::schema::_IDs_default_instance_); -} -inline ::milvus::proto::schema::IDs* RetrieveResults::release_ids() { - // @@protoc_insertion_point(field_release:milvus.proto.milvus.RetrieveResults.ids) - - ::milvus::proto::schema::IDs* temp = ids_; - ids_ = nullptr; - return temp; -} -inline ::milvus::proto::schema::IDs* RetrieveResults::mutable_ids() { - - if (ids_ == nullptr) { - auto* p = CreateMaybeMessage<::milvus::proto::schema::IDs>(GetArenaNoVirtual()); - ids_ = p; - } - // @@protoc_insertion_point(field_mutable:milvus.proto.milvus.RetrieveResults.ids) - return ids_; -} -inline void RetrieveResults::set_allocated_ids(::milvus::proto::schema::IDs* ids) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(ids_); - } - if (ids) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - ids = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, ids, submessage_arena); - } - - } else { - - } - ids_ = ids; - // @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.RetrieveResults.ids) -} - -// repeated .milvus.proto.schema.FieldData fields_data = 3; -inline int RetrieveResults::fields_data_size() const { - return fields_data_.size(); -} -inline ::milvus::proto::schema::FieldData* RetrieveResults::mutable_fields_data(int index) { - // @@protoc_insertion_point(field_mutable:milvus.proto.milvus.RetrieveResults.fields_data) - return fields_data_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::schema::FieldData >* -RetrieveResults::mutable_fields_data() { - // @@protoc_insertion_point(field_mutable_list:milvus.proto.milvus.RetrieveResults.fields_data) - return &fields_data_; -} -inline const ::milvus::proto::schema::FieldData& RetrieveResults::fields_data(int index) const { - // @@protoc_insertion_point(field_get:milvus.proto.milvus.RetrieveResults.fields_data) - return fields_data_.Get(index); -} -inline ::milvus::proto::schema::FieldData* RetrieveResults::add_fields_data() { - // @@protoc_insertion_point(field_add:milvus.proto.milvus.RetrieveResults.fields_data) - return fields_data_.Add(); -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::schema::FieldData >& -RetrieveResults::fields_data() const { - // @@protoc_insertion_point(field_list:milvus.proto.milvus.RetrieveResults.fields_data) - return fields_data_; -} - -// ------------------------------------------------------------------- - // Hits // repeated int64 IDs = 1; @@ -19175,6 +18327,34 @@ QueryRequest::mutable_partition_names() { return &partition_names_; } +// uint64 travel_timestamp = 7; +inline void QueryRequest::clear_travel_timestamp() { + travel_timestamp_ = PROTOBUF_ULONGLONG(0); +} +inline ::PROTOBUF_NAMESPACE_ID::uint64 QueryRequest::travel_timestamp() const { + // @@protoc_insertion_point(field_get:milvus.proto.milvus.QueryRequest.travel_timestamp) + return travel_timestamp_; +} +inline void QueryRequest::set_travel_timestamp(::PROTOBUF_NAMESPACE_ID::uint64 value) { + + travel_timestamp_ = value; + // @@protoc_insertion_point(field_set:milvus.proto.milvus.QueryRequest.travel_timestamp) +} + +// uint64 guarantee_timestamp = 8; +inline void QueryRequest::clear_guarantee_timestamp() { + guarantee_timestamp_ = PROTOBUF_ULONGLONG(0); +} +inline ::PROTOBUF_NAMESPACE_ID::uint64 QueryRequest::guarantee_timestamp() const { + // @@protoc_insertion_point(field_get:milvus.proto.milvus.QueryRequest.guarantee_timestamp) + return guarantee_timestamp_; +} +inline void QueryRequest::set_guarantee_timestamp(::PROTOBUF_NAMESPACE_ID::uint64 value) { + + guarantee_timestamp_ = value; + // @@protoc_insertion_point(field_set:milvus.proto.milvus.QueryRequest.guarantee_timestamp) +} + // ------------------------------------------------------------------- // QueryResults @@ -20866,10 +20046,6 @@ inline void RegisterLinkResponse::set_allocated_status(::milvus::proto::common:: // ------------------------------------------------------------------- -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - // @@protoc_insertion_point(namespace_scope) diff --git a/internal/distributed/proxy/service.go b/internal/distributed/proxy/service.go index 2ac384ae54..1edb8b9635 100644 --- a/internal/distributed/proxy/service.go +++ b/internal/distributed/proxy/service.go @@ -374,10 +374,6 @@ func (s *Server) Search(ctx context.Context, request *milvuspb.SearchRequest) (* return s.proxy.Search(ctx, request) } -func (s *Server) Retrieve(ctx context.Context, request *milvuspb.RetrieveRequest) (*milvuspb.RetrieveResults, error) { - return s.proxy.Retrieve(ctx, request) -} - func (s *Server) Flush(ctx context.Context, request *milvuspb.FlushRequest) (*milvuspb.FlushResponse, error) { return s.proxy.Flush(ctx, request) } diff --git a/internal/proto/milvus.proto b/internal/proto/milvus.proto index b5268f7303..cb7d8887d7 100644 --- a/internal/proto/milvus.proto +++ b/internal/proto/milvus.proto @@ -32,7 +32,6 @@ service MilvusService { rpc Insert(InsertRequest) returns (MutationResult) {} rpc Search(SearchRequest) returns (SearchResults) {} - rpc Retrieve(RetrieveRequest) returns (RetrieveResults) {} rpc Flush(FlushRequest) returns (FlushResponse) {} rpc Query(QueryRequest) returns (QueryResults) {} rpc CalcDistance(CalcDistanceRequest) returns (CalcDistanceResults) {} @@ -348,23 +347,6 @@ message SearchRequest { uint64 guarantee_timestamp = 11; // guarantee_timestamp } -message RetrieveRequest { - common.MsgBase base = 1; // must - string db_name = 2; - string collection_name = 3; // must - repeated string partition_names = 4; // must - schema.IDs ids = 5; // must - repeated string output_fields = 6; // must - uint64 travel_timestamp = 7; - uint64 guarantee_timestamp = 8; // guarantee_timestamp -} - -message RetrieveResults { - common.Status status = 1; - schema.IDs ids = 2; - repeated schema.FieldData fields_data = 3; -} - message Hits { repeated int64 IDs = 1; repeated bytes row_data = 2; @@ -395,6 +377,8 @@ message QueryRequest { string expr = 4; repeated string output_fields = 5; repeated string partition_names = 6; + uint64 travel_timestamp = 7; + uint64 guarantee_timestamp = 8; // guarantee_timestamp } message QueryResults { diff --git a/internal/proto/milvuspb/milvus.pb.go b/internal/proto/milvuspb/milvus.pb.go index 6fe390f5a6..3435cae008 100644 --- a/internal/proto/milvuspb/milvus.pb.go +++ b/internal/proto/milvuspb/milvus.pb.go @@ -2666,156 +2666,6 @@ func (m *SearchRequest) GetGuaranteeTimestamp() uint64 { return 0 } -type RetrieveRequest struct { - Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` - DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` - CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` - PartitionNames []string `protobuf:"bytes,4,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"` - Ids *schemapb.IDs `protobuf:"bytes,5,opt,name=ids,proto3" json:"ids,omitempty"` - OutputFields []string `protobuf:"bytes,6,rep,name=output_fields,json=outputFields,proto3" json:"output_fields,omitempty"` - TravelTimestamp uint64 `protobuf:"varint,7,opt,name=travel_timestamp,json=travelTimestamp,proto3" json:"travel_timestamp,omitempty"` - GuaranteeTimestamp uint64 `protobuf:"varint,8,opt,name=guarantee_timestamp,json=guaranteeTimestamp,proto3" json:"guarantee_timestamp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RetrieveRequest) Reset() { *m = RetrieveRequest{} } -func (m *RetrieveRequest) String() string { return proto.CompactTextString(m) } -func (*RetrieveRequest) ProtoMessage() {} -func (*RetrieveRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{40} -} - -func (m *RetrieveRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RetrieveRequest.Unmarshal(m, b) -} -func (m *RetrieveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RetrieveRequest.Marshal(b, m, deterministic) -} -func (m *RetrieveRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RetrieveRequest.Merge(m, src) -} -func (m *RetrieveRequest) XXX_Size() int { - return xxx_messageInfo_RetrieveRequest.Size(m) -} -func (m *RetrieveRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RetrieveRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_RetrieveRequest proto.InternalMessageInfo - -func (m *RetrieveRequest) GetBase() *commonpb.MsgBase { - if m != nil { - return m.Base - } - return nil -} - -func (m *RetrieveRequest) GetDbName() string { - if m != nil { - return m.DbName - } - return "" -} - -func (m *RetrieveRequest) GetCollectionName() string { - if m != nil { - return m.CollectionName - } - return "" -} - -func (m *RetrieveRequest) GetPartitionNames() []string { - if m != nil { - return m.PartitionNames - } - return nil -} - -func (m *RetrieveRequest) GetIds() *schemapb.IDs { - if m != nil { - return m.Ids - } - return nil -} - -func (m *RetrieveRequest) GetOutputFields() []string { - if m != nil { - return m.OutputFields - } - return nil -} - -func (m *RetrieveRequest) GetTravelTimestamp() uint64 { - if m != nil { - return m.TravelTimestamp - } - return 0 -} - -func (m *RetrieveRequest) GetGuaranteeTimestamp() uint64 { - if m != nil { - return m.GuaranteeTimestamp - } - return 0 -} - -type RetrieveResults struct { - Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` - Ids *schemapb.IDs `protobuf:"bytes,2,opt,name=ids,proto3" json:"ids,omitempty"` - FieldsData []*schemapb.FieldData `protobuf:"bytes,3,rep,name=fields_data,json=fieldsData,proto3" json:"fields_data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RetrieveResults) Reset() { *m = RetrieveResults{} } -func (m *RetrieveResults) String() string { return proto.CompactTextString(m) } -func (*RetrieveResults) ProtoMessage() {} -func (*RetrieveResults) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{41} -} - -func (m *RetrieveResults) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RetrieveResults.Unmarshal(m, b) -} -func (m *RetrieveResults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RetrieveResults.Marshal(b, m, deterministic) -} -func (m *RetrieveResults) XXX_Merge(src proto.Message) { - xxx_messageInfo_RetrieveResults.Merge(m, src) -} -func (m *RetrieveResults) XXX_Size() int { - return xxx_messageInfo_RetrieveResults.Size(m) -} -func (m *RetrieveResults) XXX_DiscardUnknown() { - xxx_messageInfo_RetrieveResults.DiscardUnknown(m) -} - -var xxx_messageInfo_RetrieveResults proto.InternalMessageInfo - -func (m *RetrieveResults) GetStatus() *commonpb.Status { - if m != nil { - return m.Status - } - return nil -} - -func (m *RetrieveResults) GetIds() *schemapb.IDs { - if m != nil { - return m.Ids - } - return nil -} - -func (m *RetrieveResults) GetFieldsData() []*schemapb.FieldData { - if m != nil { - return m.FieldsData - } - return nil -} - type Hits struct { IDs []int64 `protobuf:"varint,1,rep,packed,name=IDs,proto3" json:"IDs,omitempty"` RowData [][]byte `protobuf:"bytes,2,rep,name=row_data,json=rowData,proto3" json:"row_data,omitempty"` @@ -2829,7 +2679,7 @@ func (m *Hits) Reset() { *m = Hits{} } func (m *Hits) String() string { return proto.CompactTextString(m) } func (*Hits) ProtoMessage() {} func (*Hits) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{42} + return fileDescriptor_02345ba45cc0e303, []int{40} } func (m *Hits) XXX_Unmarshal(b []byte) error { @@ -2883,7 +2733,7 @@ func (m *SearchResults) Reset() { *m = SearchResults{} } func (m *SearchResults) String() string { return proto.CompactTextString(m) } func (*SearchResults) ProtoMessage() {} func (*SearchResults) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{43} + return fileDescriptor_02345ba45cc0e303, []int{41} } func (m *SearchResults) XXX_Unmarshal(b []byte) error { @@ -2931,7 +2781,7 @@ func (m *FlushRequest) Reset() { *m = FlushRequest{} } func (m *FlushRequest) String() string { return proto.CompactTextString(m) } func (*FlushRequest) ProtoMessage() {} func (*FlushRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{44} + return fileDescriptor_02345ba45cc0e303, []int{42} } func (m *FlushRequest) XXX_Unmarshal(b []byte) error { @@ -2986,7 +2836,7 @@ func (m *FlushResponse) Reset() { *m = FlushResponse{} } func (m *FlushResponse) String() string { return proto.CompactTextString(m) } func (*FlushResponse) ProtoMessage() {} func (*FlushResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{45} + return fileDescriptor_02345ba45cc0e303, []int{43} } func (m *FlushResponse) XXX_Unmarshal(b []byte) error { @@ -3035,6 +2885,8 @@ type QueryRequest struct { Expr string `protobuf:"bytes,4,opt,name=expr,proto3" json:"expr,omitempty"` OutputFields []string `protobuf:"bytes,5,rep,name=output_fields,json=outputFields,proto3" json:"output_fields,omitempty"` PartitionNames []string `protobuf:"bytes,6,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"` + TravelTimestamp uint64 `protobuf:"varint,7,opt,name=travel_timestamp,json=travelTimestamp,proto3" json:"travel_timestamp,omitempty"` + GuaranteeTimestamp uint64 `protobuf:"varint,8,opt,name=guarantee_timestamp,json=guaranteeTimestamp,proto3" json:"guarantee_timestamp,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -3044,7 +2896,7 @@ func (m *QueryRequest) Reset() { *m = QueryRequest{} } func (m *QueryRequest) String() string { return proto.CompactTextString(m) } func (*QueryRequest) ProtoMessage() {} func (*QueryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{46} + return fileDescriptor_02345ba45cc0e303, []int{44} } func (m *QueryRequest) XXX_Unmarshal(b []byte) error { @@ -3107,6 +2959,20 @@ func (m *QueryRequest) GetPartitionNames() []string { return nil } +func (m *QueryRequest) GetTravelTimestamp() uint64 { + if m != nil { + return m.TravelTimestamp + } + return 0 +} + +func (m *QueryRequest) GetGuaranteeTimestamp() uint64 { + if m != nil { + return m.GuaranteeTimestamp + } + return 0 +} + type QueryResults struct { Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` FieldsData []*schemapb.FieldData `protobuf:"bytes,2,rep,name=fields_data,json=fieldsData,proto3" json:"fields_data,omitempty"` @@ -3119,7 +2985,7 @@ func (m *QueryResults) Reset() { *m = QueryResults{} } func (m *QueryResults) String() string { return proto.CompactTextString(m) } func (*QueryResults) ProtoMessage() {} func (*QueryResults) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{47} + return fileDescriptor_02345ba45cc0e303, []int{45} } func (m *QueryResults) XXX_Unmarshal(b []byte) error { @@ -3168,7 +3034,7 @@ func (m *VectorIDs) Reset() { *m = VectorIDs{} } func (m *VectorIDs) String() string { return proto.CompactTextString(m) } func (*VectorIDs) ProtoMessage() {} func (*VectorIDs) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{48} + return fileDescriptor_02345ba45cc0e303, []int{46} } func (m *VectorIDs) XXX_Unmarshal(b []byte) error { @@ -3231,7 +3097,7 @@ func (m *VectorsArray) Reset() { *m = VectorsArray{} } func (m *VectorsArray) String() string { return proto.CompactTextString(m) } func (*VectorsArray) ProtoMessage() {} func (*VectorsArray) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{49} + return fileDescriptor_02345ba45cc0e303, []int{47} } func (m *VectorsArray) XXX_Unmarshal(b []byte) error { @@ -3311,7 +3177,7 @@ func (m *CalcDistanceRequest) Reset() { *m = CalcDistanceRequest{} } func (m *CalcDistanceRequest) String() string { return proto.CompactTextString(m) } func (*CalcDistanceRequest) ProtoMessage() {} func (*CalcDistanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{50} + return fileDescriptor_02345ba45cc0e303, []int{48} } func (m *CalcDistanceRequest) XXX_Unmarshal(b []byte) error { @@ -3377,7 +3243,7 @@ func (m *CalcDistanceResults) Reset() { *m = CalcDistanceResults{} } func (m *CalcDistanceResults) String() string { return proto.CompactTextString(m) } func (*CalcDistanceResults) ProtoMessage() {} func (*CalcDistanceResults) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{51} + return fileDescriptor_02345ba45cc0e303, []int{49} } func (m *CalcDistanceResults) XXX_Unmarshal(b []byte) error { @@ -3465,7 +3331,7 @@ func (m *PersistentSegmentInfo) Reset() { *m = PersistentSegmentInfo{} } func (m *PersistentSegmentInfo) String() string { return proto.CompactTextString(m) } func (*PersistentSegmentInfo) ProtoMessage() {} func (*PersistentSegmentInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{52} + return fileDescriptor_02345ba45cc0e303, []int{50} } func (m *PersistentSegmentInfo) XXX_Unmarshal(b []byte) error { @@ -3534,7 +3400,7 @@ func (m *GetPersistentSegmentInfoRequest) Reset() { *m = GetPersistentSe func (m *GetPersistentSegmentInfoRequest) String() string { return proto.CompactTextString(m) } func (*GetPersistentSegmentInfoRequest) ProtoMessage() {} func (*GetPersistentSegmentInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{53} + return fileDescriptor_02345ba45cc0e303, []int{51} } func (m *GetPersistentSegmentInfoRequest) XXX_Unmarshal(b []byte) error { @@ -3588,7 +3454,7 @@ func (m *GetPersistentSegmentInfoResponse) Reset() { *m = GetPersistentS func (m *GetPersistentSegmentInfoResponse) String() string { return proto.CompactTextString(m) } func (*GetPersistentSegmentInfoResponse) ProtoMessage() {} func (*GetPersistentSegmentInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{54} + return fileDescriptor_02345ba45cc0e303, []int{52} } func (m *GetPersistentSegmentInfoResponse) XXX_Unmarshal(b []byte) error { @@ -3640,7 +3506,7 @@ func (m *QuerySegmentInfo) Reset() { *m = QuerySegmentInfo{} } func (m *QuerySegmentInfo) String() string { return proto.CompactTextString(m) } func (*QuerySegmentInfo) ProtoMessage() {} func (*QuerySegmentInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{55} + return fileDescriptor_02345ba45cc0e303, []int{53} } func (m *QuerySegmentInfo) XXX_Unmarshal(b []byte) error { @@ -3723,7 +3589,7 @@ func (m *GetQuerySegmentInfoRequest) Reset() { *m = GetQuerySegmentInfoR func (m *GetQuerySegmentInfoRequest) String() string { return proto.CompactTextString(m) } func (*GetQuerySegmentInfoRequest) ProtoMessage() {} func (*GetQuerySegmentInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{56} + return fileDescriptor_02345ba45cc0e303, []int{54} } func (m *GetQuerySegmentInfoRequest) XXX_Unmarshal(b []byte) error { @@ -3777,7 +3643,7 @@ func (m *GetQuerySegmentInfoResponse) Reset() { *m = GetQuerySegmentInfo func (m *GetQuerySegmentInfoResponse) String() string { return proto.CompactTextString(m) } func (*GetQuerySegmentInfoResponse) ProtoMessage() {} func (*GetQuerySegmentInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{57} + return fileDescriptor_02345ba45cc0e303, []int{55} } func (m *GetQuerySegmentInfoResponse) XXX_Unmarshal(b []byte) error { @@ -3823,7 +3689,7 @@ func (m *DummyRequest) Reset() { *m = DummyRequest{} } func (m *DummyRequest) String() string { return proto.CompactTextString(m) } func (*DummyRequest) ProtoMessage() {} func (*DummyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{58} + return fileDescriptor_02345ba45cc0e303, []int{56} } func (m *DummyRequest) XXX_Unmarshal(b []byte) error { @@ -3862,7 +3728,7 @@ func (m *DummyResponse) Reset() { *m = DummyResponse{} } func (m *DummyResponse) String() string { return proto.CompactTextString(m) } func (*DummyResponse) ProtoMessage() {} func (*DummyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{59} + return fileDescriptor_02345ba45cc0e303, []int{57} } func (m *DummyResponse) XXX_Unmarshal(b []byte) error { @@ -3900,7 +3766,7 @@ func (m *RegisterLinkRequest) Reset() { *m = RegisterLinkRequest{} } func (m *RegisterLinkRequest) String() string { return proto.CompactTextString(m) } func (*RegisterLinkRequest) ProtoMessage() {} func (*RegisterLinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{60} + return fileDescriptor_02345ba45cc0e303, []int{58} } func (m *RegisterLinkRequest) XXX_Unmarshal(b []byte) error { @@ -3933,7 +3799,7 @@ func (m *RegisterLinkResponse) Reset() { *m = RegisterLinkResponse{} } func (m *RegisterLinkResponse) String() string { return proto.CompactTextString(m) } func (*RegisterLinkResponse) ProtoMessage() {} func (*RegisterLinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{61} + return fileDescriptor_02345ba45cc0e303, []int{59} } func (m *RegisterLinkResponse) XXX_Unmarshal(b []byte) error { @@ -4011,8 +3877,6 @@ func init() { proto.RegisterType((*PlaceholderValue)(nil), "milvus.proto.milvus.PlaceholderValue") proto.RegisterType((*PlaceholderGroup)(nil), "milvus.proto.milvus.PlaceholderGroup") proto.RegisterType((*SearchRequest)(nil), "milvus.proto.milvus.SearchRequest") - proto.RegisterType((*RetrieveRequest)(nil), "milvus.proto.milvus.RetrieveRequest") - proto.RegisterType((*RetrieveResults)(nil), "milvus.proto.milvus.RetrieveResults") proto.RegisterType((*Hits)(nil), "milvus.proto.milvus.Hits") proto.RegisterType((*SearchResults)(nil), "milvus.proto.milvus.SearchResults") proto.RegisterType((*FlushRequest)(nil), "milvus.proto.milvus.FlushRequest") @@ -4039,194 +3903,190 @@ func init() { func init() { proto.RegisterFile("milvus.proto", fileDescriptor_02345ba45cc0e303) } var fileDescriptor_02345ba45cc0e303 = []byte{ - // 2989 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 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0x14, 0xb7, 0xae, 0x4d, 0x2b, 0xa0, 0xce, 0x51, 0x47, 0xae, 0xf3, 0x30, 0xd3, 0x09, 0xf9, 0x10, - 0x78, 0xd3, 0x1c, 0xaf, 0x12, 0x41, 0xf9, 0x29, 0xfb, 0x48, 0x83, 0x79, 0x76, 0xc9, 0x3a, 0x49, - 0x3c, 0xff, 0x5a, 0x83, 0xb9, 0xdb, 0x16, 0x39, 0x49, 0x2c, 0xff, 0x56, 0x86, 0xa0, 0x88, 0xe7, - 0xa3, 0x74, 0xad, 0x0c, 0x31, 0xc9, 0x74, 0x18, 0xd5, 0x67, 0x12, 0x5c, 0x13, 0xe3, 0x77, 0xfd, - 0x58, 0x75, 0xc2, 0x38, 0xff, 0x83, 0x06, 0x67, 0x6f, 0x61, 0x1a, 0x71, 0x7d, 0x2c, 0x62, 0xda, - 0xb8, 0xd6, 0xf2, 0xbe, 0x88, 0xc8, 0x4a, 0xe6, 0x8f, 0x24, 0xf2, 0xbd, 0x97, 0x81, 0x05, 0x16, - 0x16, 0x8e, 0x87, 0x11, 0x8c, 0x73, 0x29, 0x57, 0x18, 0x4a, 0x4e, 0x65, 0x28, 0x51, 0x3c, 0xcd, - 0x8f, 0x1d, 0x4f, 0x8d, 0xdf, 0x64, 0xc4, 0x3d, 0x20, 0xae, 0x8d, 0x49, 0xb6, 0x45, 0xc1, 0x6b, - 0x46, 0xc9, 0xab, 0x01, 0x7a, 0x04, 0xd9, 0x58, 0x0f, 0xe3, 0x63, 0x02, 0x76, 0x6c, 0xc3, 0xe3, - 0xf7, 0x35, 0x58, 0x0c, 0x9f, 0x41, 0x5b, 0xb8, 0xd9, 0xc6, 0x1e, 0xbd, 0x7f, 0x1b, 0x1a, 0xb4, - 0x80, 0x8c, 0xc2, 0x02, 0xce, 0x40, 0x89, 0x88, 0x75, 0xa2, 0x17, 0x4e, 0x1f, 0x60, 0x7c, 0xa8, - 0xc1, 0xe9, 0x21, 0x76, 0x26, 0xd9, 0xc4, 0x25, 0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09, - 0xed, 0xbe, 0xd8, 0x61, 0xb8, 0x3d, 0xaf, 0x8c, 0x2d, 0x83, 0x4a, 0x32, 0x4f, 0x39, 0x03, 0x10, - 0x62, 0xfc, 0x45, 0x83, 0x33, 0xb7, 0x30, 0xe5, 0xa8, 0x37, 0x98, 0xef, 0xd8, 0x0c, 0xfc, 0x66, - 0x80, 0x09, 0x39, 0xb9, 0xf6, 0xf1, 0x13, 0x71, 0x3f, 0x53, 0x89, 0x34, 0x89, 0xfe, 0x57, 0x40, - 0xe7, 0x6b, 0x60, 0xbb, 0x1e, 0xf8, 0xfb, 0x44, 0xda, 0x51, 0x59, 0xc2, 0x4c, 0x7f, 0x9f, 0x1b, - 0x04, 0xf5, 0xa9, 0xe5, 0x0a, 0x04, 0x19, 0x18, 0x38, 0x84, 0x0d, 0xf3, 0x33, 0x18, 0x32, 0xc6, - 0x26, 0xc7, 0x27, 0x57, 0xc7, 0xbf, 0xd4, 0x60, 0x61, 0x40, 0x94, 0x49, 0x74, 0xfb, 0x94, 0xb8, - 0x3d, 0x0a, 0x61, 0x66, 0xd6, 0xce, 0x29, 0x69, 0x62, 0x8b, 0x09, 0x6c, 0x74, 0x0e, 0xca, 0x3b, - 0x96, 0xe3, 0xd6, 0x03, 0x6c, 0x11, 0xdf, 0x93, 0x82, 0x02, 0x03, 0x99, 0x1c, 0x62, 0x7c, 0xa2, - 0x41, 0x95, 0x3d, 0x41, 0x4f, 0xb8, 0xc7, 0xfb, 0x45, 0x06, 0x2a, 0x1b, 0x1e, 0xc1, 0x01, 0x3d, - 0xfe, 0x2f, 0x0c, 0xf4, 0x3c, 0x94, 0xb9, 0x60, 0xa4, 0x6e, 0x5b, 0xd4, 0x92, 0xe1, 0xea, 0x21, - 0x65, 0x16, 0xf9, 0x45, 0x86, 0xb7, 0x6e, 0x51, 0xcb, 0x14, 0xda, 0x21, 0xec, 0x1b, 0x3d, 0x08, - 0xa5, 0x96, 0x45, 0x5a, 0xf5, 0x5d, 0xdc, 0x13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c0, 0xbf, 0xd7, 0x0b, 0xaf, 0xfe, 0xff, 0x9f, 0x65, 0x6f, 0x3c, 0xf5, 0xcd, 0x6b, 0x4d, - 0x87, 0xb6, 0xba, 0xdb, 0xcc, 0xbb, 0x5c, 0x11, 0xb8, 0x8f, 0x3b, 0xbe, 0xfc, 0xba, 0xe2, 0x78, - 0x14, 0x07, 0x9e, 0xe5, 0x5e, 0xe1, 0x73, 0x49, 0x68, 0x67, 0x7b, 0x3b, 0xcf, 0xff, 0xaf, 0xfd, - 0x2f, 0x00, 0x00, 0xff, 0xff, 0x0c, 0x57, 0x35, 0x52, 0x26, 0x3a, 0x00, 0x00, + // 2925 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x3a, 0xdd, 0x6f, 0x1c, 0x57, + 0xf5, 0x9e, 0x5d, 0xef, 0xd7, 0xd9, 0x59, 0x7b, 0x73, 0xfd, 0x11, 0x77, 0x9b, 0x34, 0xf6, 0xf4, + 0x97, 0x5f, 0x9d, 0xa4, 0x4d, 0x1a, 0xa7, 0xa5, 0xa5, 0x05, 0xda, 0x24, 0xa6, 0x89, 0xd5, 0xa4, + 0xb8, 0xe3, 0xb6, 0x52, 0xa9, 0xaa, 0xd1, 0x78, 0xe7, 0x7a, 0x77, 0xe4, 0xd9, 0x99, 0x65, 0xee, + 0xdd, 0x38, 0xdb, 0x27, 0xa4, 0x02, 0x12, 0x2a, 0xb4, 0x42, 0x20, 0x10, 0x6f, 0x08, 0xe8, 0x03, + 0x6f, 0x14, 0x90, 0x40, 0x3c, 0xf1, 0xd0, 0x07, 0x1e, 0x90, 0xf8, 0xf8, 0x0b, 0x78, 0xe1, 0xb1, + 0xff, 0x01, 0x12, 0xe8, 0x7e, 0xcc, 0xec, 0xcc, 0xfa, 0xce, 0x7a, 0x9d, 0x6d, 0xb0, 0xfd, 0x36, + 0x73, 0xee, 0x39, 0xf7, 0x9e, 0x7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3f, 0xf6, 0xb2, 0x99, + 0x82, 0x09, 0xc5, 0x60, 0x07, 0x6f, 0x35, 0x7d, 0xca, 0x03, 0x89, 0x3c, 0x53, 0x0c, 0x06, 0xb9, + 0xe9, 0x53, 0x36, 0xec, 0x60, 0x0f, 0x53, 0xcc, 0x87, 0x4b, 0x62, 0x58, 0x40, 0xe4, 0x70, 0xaf, + 0x1b, 0x53, 0x97, 0xc5, 0xb0, 0x80, 0xb0, 0xe1, 0x33, 0x50, 0x19, 0x24, 0xb9, 0x2b, 0x83, 0x6c, + 0xa0, 0x48, 0x6d, 0xdf, 0x83, 0xfa, 0xa6, 0x67, 0x37, 0x71, 0x3b, 0xf0, 0x1c, 0x1c, 0x72, 0xef, + 0x87, 0xea, 0x90, 0xa7, 0x76, 0x4b, 0xba, 0x57, 0xf6, 0x89, 0x9e, 0x97, 0x31, 0x8e, 0xb8, 0xb8, + 0xff, 0xa7, 0xf4, 0x43, 0x89, 0x69, 0x12, 0xa9, 0xc3, 0x45, 0x28, 0xf2, 0xd2, 0x8c, 0x70, 0xbc, + 0xba, 0x29, 0xff, 0x8c, 0x77, 0x53, 0xeb, 0xde, 0x0a, 0x83, 0x5e, 0x17, 0x6d, 0x80, 0xde, 0x1d, + 0xc0, 0xd8, 0x69, 0x66, 0x7b, 0xbd, 0x61, 0xa6, 0xcd, 0x14, 0xa9, 0xf1, 0x59, 0x1e, 0x6a, 0x5b, + 0xd8, 0x0e, 0x9b, 0xed, 0x93, 0x90, 0x6c, 0x60, 0x12, 0x77, 0x88, 0x27, 0x4d, 0x02, 0xfb, 0x44, + 0x97, 0xe0, 0x54, 0x62, 0x43, 0x56, 0x8b, 0x09, 0x88, 0x6b, 0x86, 0x6e, 0xd6, 0xbb, 0xc3, 0x82, + 0x7b, 0x0e, 0xca, 0x0e, 0xf1, 0x2c, 0x7e, 0x44, 0x25, 0x7e, 0x44, 0xea, 0xfd, 0xad, 0x13, 0x8f, + 0x1f, 0x4d, 0xc9, 0x11, 0x1f,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5a, 0xc6, 0x4a, 0xca, 0x8a, 0x95, 0x31, 0x85, + 0xbe, 0x99, 0xa8, 0x66, 0xa5, 0x2a, 0x86, 0xe8, 0xea, 0xc8, 0x79, 0x54, 0x05, 0xd3, 0xc6, 0xda, + 0x61, 0x48, 0x62, 0x16, 0x5e, 0x87, 0x4a, 0x5c, 0xa8, 0x42, 0xe7, 0x33, 0xcd, 0xc2, 0x61, 0x4e, + 0x6a, 0x0b, 0x8a, 0xa2, 0x68, 0x84, 0x8c, 0x8c, 0xf2, 0x70, 0xa2, 0xa2, 0xd4, 0x78, 0x5c, 0x89, + 0x93, 0xae, 0xa7, 0x18, 0x53, 0xc8, 0x84, 0xa2, 0x48, 0x4b, 0x66, 0x4c, 0x9a, 0x4a, 0xad, 0x37, + 0x46, 0xe3, 0x88, 0x5c, 0xe6, 0x14, 0xda, 0x84, 0x02, 0x4f, 0xdf, 0xa1, 0x95, 0x51, 0xa9, 0xbd, + 0x51, 0x33, 0xa6, 0xb2, 0x7f, 0xc6, 0x14, 0xfa, 0x1a, 0x14, 0xf8, 0x2b, 0x35, 0x63, 0xc6, 0x64, + 0x7e, 0xae, 0x31, 0x12, 0x25, 0x62, 0xd1, 0x01, 0x3d, 0x19, 0xbd, 0x67, 0x98, 0x57, 0x45, 0x7e, + 0xa3, 0x31, 0x0e, 0x66, 0xb4, 0xca, 0x77, 0x35, 0x58, 0xca, 0x0a, 0xf4, 0x50, 0xa6, 0x0f, 0x1d, + 0x15, 0xad, 0x36, 0x9e, 0x3d, 0x24, 0x55, 0x2c, 0xc2, 0xf7, 0x60, 0x4e, 0x11, 0x5e, 0xa0, 0x2b, + 0x59, 0xf3, 0x65, 0x44, 0x46, 0x8d, 0xa7, 0xc7, 0x27, 0x88, 0xd7, 0xde, 0x84, 0x02, 0x0f, 0x0b, + 0x32, 0x8e, 0x2f, 0x19, 0x65, 0x64, 0x28, 0x44, 0x2a, 0xaa, 0x30, 0xa6, 0x10, 0x06, 0x3d, 0x19, + 0x23, 0x64, 0x9c, 0x9f, 0x22, 0xbc, 0x68, 0x5c, 0x18, 0x03, 0x33, 0x5a, 0x66, 0xad, 0x07, 0xfa, + 0x66, 0x18, 0xdc, 0xef, 0x47, 0x0f, 0xf4, 0xff, 0xcd, 0xb2, 0x37, 0x9e, 0xfd, 0xfa, 0xb5, 0x96, + 0x4b, 0xdb, 0xbd, 0x6d, 0x66, 0x03, 0xae, 0x08, 0xdc, 0xa7, 0xdc, 0x40, 0x7e, 0x5d, 0x71, 0x7d, + 0x8a, 0x43, 0xdf, 0xf6, 0xae, 0xf0, 0xb9, 0x24, 0xb4, 0xbb, 0xbd, 0x5d, 0xe4, 0xff, 0xd7, 0xfe, + 0x1b, 0x00, 0x00, 0xff, 0xff, 0x1a, 0xa4, 0x5f, 0x7a, 0x14, 0x38, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -4263,7 +4123,6 @@ type MilvusServiceClient interface { DropIndex(ctx context.Context, in *DropIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error) Insert(ctx context.Context, in *InsertRequest, opts ...grpc.CallOption) (*MutationResult, error) Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResults, error) - Retrieve(ctx context.Context, in *RetrieveRequest, opts ...grpc.CallOption) (*RetrieveResults, error) Flush(ctx context.Context, in *FlushRequest, opts ...grpc.CallOption) (*FlushResponse, error) Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResults, error) CalcDistance(ctx context.Context, in *CalcDistanceRequest, opts ...grpc.CallOption) (*CalcDistanceResults, error) @@ -4480,15 +4339,6 @@ func (c *milvusServiceClient) Search(ctx context.Context, in *SearchRequest, opt return out, nil } -func (c *milvusServiceClient) Retrieve(ctx context.Context, in *RetrieveRequest, opts ...grpc.CallOption) (*RetrieveResults, error) { - out := new(RetrieveResults) - err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/Retrieve", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - func (c *milvusServiceClient) Flush(ctx context.Context, in *FlushRequest, opts ...grpc.CallOption) (*FlushResponse, error) { out := new(FlushResponse) err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/Flush", in, out, opts...) @@ -4576,7 +4426,6 @@ type MilvusServiceServer interface { DropIndex(context.Context, *DropIndexRequest) (*commonpb.Status, error) Insert(context.Context, *InsertRequest) (*MutationResult, error) Search(context.Context, *SearchRequest) (*SearchResults, error) - Retrieve(context.Context, *RetrieveRequest) (*RetrieveResults, error) Flush(context.Context, *FlushRequest) (*FlushResponse, error) Query(context.Context, *QueryRequest) (*QueryResults, error) CalcDistance(context.Context, *CalcDistanceRequest) (*CalcDistanceResults, error) @@ -4657,9 +4506,6 @@ func (*UnimplementedMilvusServiceServer) Insert(ctx context.Context, req *Insert func (*UnimplementedMilvusServiceServer) Search(ctx context.Context, req *SearchRequest) (*SearchResults, error) { return nil, status.Errorf(codes.Unimplemented, "method Search not implemented") } -func (*UnimplementedMilvusServiceServer) Retrieve(ctx context.Context, req *RetrieveRequest) (*RetrieveResults, error) { - return nil, status.Errorf(codes.Unimplemented, "method Retrieve not implemented") -} func (*UnimplementedMilvusServiceServer) Flush(ctx context.Context, req *FlushRequest) (*FlushResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Flush not implemented") } @@ -5082,24 +4928,6 @@ func _MilvusService_Search_Handler(srv interface{}, ctx context.Context, dec fun return interceptor(ctx, in, info, handler) } -func _MilvusService_Retrieve_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RetrieveRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MilvusServiceServer).Retrieve(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/milvus.proto.milvus.MilvusService/Retrieve", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MilvusServiceServer).Retrieve(ctx, req.(*RetrieveRequest)) - } - return interceptor(ctx, in, info, handler) -} - func _MilvusService_Flush_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(FlushRequest) if err := dec(in); err != nil { @@ -5318,10 +5146,6 @@ var _MilvusService_serviceDesc = grpc.ServiceDesc{ MethodName: "Search", Handler: _MilvusService_Search_Handler, }, - { - MethodName: "Retrieve", - Handler: _MilvusService_Retrieve_Handler, - }, { MethodName: "Flush", Handler: _MilvusService_Flush_Handler, diff --git a/internal/proxy/dummyreq.go b/internal/proxy/dummyreq.go index eaa4105b4c..b5fc10522b 100644 --- a/internal/proxy/dummyreq.go +++ b/internal/proxy/dummyreq.go @@ -27,17 +27,17 @@ func parseDummyRequestType(str string) (*dummyRequestType, error) { return drt, nil } -type dummyRetrieveRequest struct { +type dummyQueryRequest struct { RequestType string `json:"request_type"` DbName string `json:"dbname"` CollectionName string `json:"collection_name"` PartitionNames []string `json:"partition_names"` - Ids []int64 `json:"ids"` + Expr string `json:"expr"` OutputFields []string `json:"output_fields"` } -func parseDummyRetrieveRequest(str string) (*dummyRetrieveRequest, error) { - dr := &dummyRetrieveRequest{} +func parseDummyQueryRequest(str string) (*dummyQueryRequest, error) { + dr := &dummyQueryRequest{} if err := json.Unmarshal([]byte(str), &dr); err != nil { return nil, err diff --git a/internal/proxy/dummyreq_test.go b/internal/proxy/dummyreq_test.go index c07ea48062..c807ddfe8c 100644 --- a/internal/proxy/dummyreq_test.go +++ b/internal/proxy/dummyreq_test.go @@ -11,49 +11,30 @@ package proxy -import ( - "testing" +// func TestParseDummyQueryRequest(t *testing.T) { +// invalidStr := `{"request_type":"query"` +// _, err := parseDummyQueryRequest(invalidStr) +// assert.NotNil(t, err) - "github.com/stretchr/testify/assert" -) +// onlytypeStr := `{"request_type":"query"}` +// drr, err := parseDummyQueryRequest(onlytypeStr) +// assert.Nil(t, err) +// assert.Equal(t, drr.RequestType, "query") +// assert.Equal(t, len(drr.DbName), 0) -func TestParseDummyRequestType(t *testing.T) { - invalidStr := `{"request_type":"retrieve"` - _, err := parseDummyRequestType(invalidStr) - assert.NotNil(t, err) - - retrievetypeStr := `{"request_type":"retrieve"}` - drt, err := parseDummyRequestType(retrievetypeStr) - assert.Nil(t, err) - assert.Equal(t, drt.RequestType, "retrieve") -} - -func TestParseDummyRetrieveRequest(t *testing.T) { - invalidStr := `{"request_type":"retrieve"` - _, err := parseDummyRetrieveRequest(invalidStr) - assert.NotNil(t, err) - - onlytypeStr := `{"request_type":"retrieve"}` - drr, err := parseDummyRetrieveRequest(onlytypeStr) - assert.Nil(t, err) - assert.Equal(t, drr.RequestType, "retrieve") - assert.Equal(t, len(drr.DbName), 0) - - fulltypeStr := `{ - "request_type":"retrieve", - "dbname":"", - "collection_name":"test", - "partition_names": [], - "ids": [100, 101], - "output_fields": ["_id", "age"] - }` - drr2, err := parseDummyRetrieveRequest(fulltypeStr) - assert.Nil(t, err) - assert.Equal(t, drr2.RequestType, "retrieve") - assert.Equal(t, len(drr2.DbName), 0) - assert.Equal(t, drr2.CollectionName, "test") - assert.Equal(t, len(drr2.PartitionNames), 0) - assert.Equal(t, len(drr2.Ids), 2) - assert.Equal(t, drr2.Ids, []int64{100, 101}) - assert.Equal(t, drr2.OutputFields, []string{"_id", "age"}) -} +// fulltypeStr := `{ +// "request_type":"query", +// "dbname":"", +// "collection_name":"test", +// "partition_names": [], +// "expr": "_id in [ 100 ,101 ]", +// "output_fields": ["_id", "age"] +// }` +// drr2, err := parseDummyQueryRequest(fulltypeStr) +// assert.Nil(t, err) +// assert.Equal(t, drr2.RequestType, "retrieve") +// assert.Equal(t, len(drr2.DbName), 0) +// assert.Equal(t, drr2.CollectionName, "test") +// assert.Equal(t, len(drr2.PartitionNames), 0) +// assert.Equal(t, drr2.OutputFields, []string{"_id", "age"}) +// } diff --git a/internal/proxy/impl.go b/internal/proxy/impl.go index 62790e0593..906316d538 100644 --- a/internal/proxy/impl.go +++ b/internal/proxy/impl.go @@ -26,7 +26,6 @@ import ( "github.com/milvus-io/milvus/internal/proto/datapb" "github.com/milvus-io/milvus/internal/proto/internalpb" "github.com/milvus-io/milvus/internal/proto/milvuspb" - "github.com/milvus-io/milvus/internal/proto/planpb" "github.com/milvus-io/milvus/internal/proto/proxypb" "github.com/milvus-io/milvus/internal/proto/querypb" "github.com/milvus-io/milvus/internal/proto/schemapb" @@ -1319,75 +1318,6 @@ func (node *Proxy) Search(ctx context.Context, request *milvuspb.SearchRequest) return qt.result, nil } -func (node *Proxy) Retrieve(ctx context.Context, request *milvuspb.RetrieveRequest) (*milvuspb.RetrieveResults, error) { - if !node.checkHealthy() { - return &milvuspb.RetrieveResults{ - Status: unhealthyStatus(), - }, nil - } - rt := &RetrieveTask{ - ctx: ctx, - Condition: NewTaskCondition(ctx), - RetrieveRequest: &internalpb.RetrieveRequest{ - Base: &commonpb.MsgBase{ - MsgType: commonpb.MsgType_Retrieve, - SourceID: Params.ProxyID, - }, - ResultChannelID: strconv.FormatInt(Params.ProxyID, 10), - }, - resultBuf: make(chan []*internalpb.RetrieveResults), - retrieve: request, - chMgr: node.chMgr, - qc: node.queryCoord, - } - - err := node.sched.DqQueue.Enqueue(rt) - if err != nil { - return &milvuspb.RetrieveResults{ - Status: &commonpb.Status{ - ErrorCode: commonpb.ErrorCode_UnexpectedError, - Reason: err.Error(), - }, - }, nil - } - - log.Debug("Retrieve", - zap.String("role", Params.RoleName), - zap.Int64("msgID", rt.Base.MsgID), - zap.Uint64("timestamp", rt.Base.Timestamp), - zap.String("db", request.DbName), - zap.String("collection", request.CollectionName), - zap.Any("partitions", request.PartitionNames), - zap.Any("len(Ids)", len(request.Ids.IdField.(*schemapb.IDs_IntId).IntId.Data))) - defer func() { - idsCount := 0 - if rt.result != nil { - idsCount = len(rt.result.Ids.IdField.(*schemapb.IDs_IntId).IntId.Data) - } - log.Debug("Retrieve Done", - zap.Error(err), - zap.String("role", Params.RoleName), - zap.Int64("msgID", rt.Base.MsgID), - zap.Uint64("timestamp", rt.Base.Timestamp), - zap.String("db", request.DbName), - zap.String("collection", request.CollectionName), - zap.Any("partitions", request.PartitionNames), - zap.Any("len(Ids)", idsCount)) - }() - - err = rt.WaitToFinish() - if err != nil { - return &milvuspb.RetrieveResults{ - Status: &commonpb.Status{ - ErrorCode: commonpb.ErrorCode_UnexpectedError, - Reason: err.Error(), - }, - }, nil - } - - return rt.result, nil -} - func (node *Proxy) Flush(ctx context.Context, request *milvuspb.FlushRequest) (*milvuspb.FlushResponse, error) { resp := &milvuspb.FlushResponse{ Status: &commonpb.Status{ @@ -1443,133 +1373,72 @@ func (node *Proxy) Query(ctx context.Context, request *milvuspb.QueryRequest) (* Status: unhealthyStatus(), }, nil } - schemaPb, err := globalMetaCache.GetCollectionSchema(ctx, request.CollectionName) - if err != nil { // err is not nil if collection not exists - return nil, err + + queryRequest := &milvuspb.QueryRequest{ + DbName: request.DbName, + CollectionName: request.CollectionName, + PartitionNames: request.PartitionNames, + Expr: request.Expr, + OutputFields: request.OutputFields, } - schema, err := typeutil.CreateSchemaHelper(schemaPb) + + qt := &QueryTask{ + ctx: ctx, + Condition: NewTaskCondition(ctx), + RetrieveRequest: &internalpb.RetrieveRequest{ + Base: &commonpb.MsgBase{ + MsgType: commonpb.MsgType_Retrieve, + SourceID: Params.ProxyID, + }, + ResultChannelID: strconv.FormatInt(Params.ProxyID, 10), + }, + resultBuf: make(chan []*internalpb.RetrieveResults), + query: queryRequest, + chMgr: node.chMgr, + qc: node.queryCoord, + } + + err := node.sched.DqQueue.Enqueue(qt) if err != nil { - return nil, err - } - - if request.Expr == "" { - errMsg := "Query expression is empty!" - return nil, fmt.Errorf(errMsg) - } - - parseRetrieveTask := func(exprString string) ([]int64, error) { - expr, err := parseQueryExpr(schema, exprString) - if err != nil { - return nil, err - } - - switch xExpr := expr.Expr.(type) { - case *planpb.Expr_TermExpr: - var ids []int64 - for _, value := range xExpr.TermExpr.Values { - switch v := value.Val.(type) { - case *planpb.GenericValue_Int64Val: - ids = append(ids, v.Int64Val) - default: - return nil, errors.New("column is not int64") - } - } - - if !xExpr.TermExpr.ColumnInfo.IsPrimaryKey { - return nil, errors.New("column is not primary key") - } - - return ids, nil - default: - return nil, errors.New("not top level term") - } - } - - ids, err := parseRetrieveTask(request.Expr) - - if err == nil { - retrieveRequest := &milvuspb.RetrieveRequest{ - DbName: request.DbName, - CollectionName: request.CollectionName, - PartitionNames: request.PartitionNames, - Ids: &schemapb.IDs{ - IdField: &schemapb.IDs_IntId{ - IntId: &schemapb.LongArray{ - Data: ids, - }, - }, - }, - OutputFields: request.OutputFields, - } - - rt := &RetrieveTask{ - ctx: ctx, - Condition: NewTaskCondition(ctx), - RetrieveRequest: &internalpb.RetrieveRequest{ - Base: &commonpb.MsgBase{ - MsgType: commonpb.MsgType_Retrieve, - SourceID: Params.ProxyID, - }, - ResultChannelID: strconv.FormatInt(Params.ProxyID, 10), - }, - resultBuf: make(chan []*internalpb.RetrieveResults), - retrieve: retrieveRequest, - chMgr: node.chMgr, - qc: node.queryCoord, - } - - err := node.sched.DqQueue.Enqueue(rt) - if err != nil { - return &milvuspb.QueryResults{ - Status: &commonpb.Status{ - ErrorCode: commonpb.ErrorCode_UnexpectedError, - Reason: err.Error(), - }, - }, nil - } - - log.Debug("Retrieve", - zap.String("role", Params.RoleName), - zap.Int64("msgID", rt.Base.MsgID), - zap.Uint64("timestamp", rt.Base.Timestamp), - zap.String("db", retrieveRequest.DbName), - zap.String("collection", retrieveRequest.CollectionName), - zap.Any("partitions", retrieveRequest.PartitionNames), - zap.Any("len(Ids)", len(retrieveRequest.Ids.IdField.(*schemapb.IDs_IntId).IntId.Data))) - defer func() { - log.Debug("Retrieve Done", - zap.Error(err), - zap.String("role", Params.RoleName), - zap.Int64("msgID", rt.Base.MsgID), - zap.Uint64("timestamp", rt.Base.Timestamp), - zap.String("db", retrieveRequest.DbName), - zap.String("collection", retrieveRequest.CollectionName), - zap.Any("partitions", retrieveRequest.PartitionNames)) - }() - - err = rt.WaitToFinish() - if err != nil { - return &milvuspb.QueryResults{ - Status: &commonpb.Status{ - ErrorCode: commonpb.ErrorCode_UnexpectedError, - Reason: err.Error(), - }, - }, nil - } - return &milvuspb.QueryResults{ - Status: rt.result.Status, - FieldsData: rt.result.FieldsData, + Status: &commonpb.Status{ + ErrorCode: commonpb.ErrorCode_UnexpectedError, + Reason: err.Error(), + }, + }, nil + } + + log.Debug("Query", + zap.String("role", Params.RoleName), + zap.Int64("msgID", qt.Base.MsgID), + zap.Uint64("timestamp", qt.Base.Timestamp), + zap.String("db", queryRequest.DbName), + zap.String("collection", queryRequest.CollectionName), + zap.Any("partitions", queryRequest.PartitionNames)) + defer func() { + log.Debug("Query Done", + zap.String("role", Params.RoleName), + zap.Int64("msgID", qt.Base.MsgID), + zap.Uint64("timestamp", qt.Base.Timestamp), + zap.String("db", queryRequest.DbName), + zap.String("collection", queryRequest.CollectionName), + zap.Any("partitions", queryRequest.PartitionNames)) + }() + + err = qt.WaitToFinish() + if err != nil { + return &milvuspb.QueryResults{ + Status: &commonpb.Status{ + ErrorCode: commonpb.ErrorCode_UnexpectedError, + Reason: err.Error(), + }, }, nil } return &milvuspb.QueryResults{ - Status: &commonpb.Status{ - ErrorCode: commonpb.ErrorCode_UnexpectedError, - Reason: err.Error(), - }, + Status: qt.result.Status, + FieldsData: qt.result.FieldsData, }, nil - } func (node *Proxy) CalcDistance(ctx context.Context, request *milvuspb.CalcDistanceRequest) (*milvuspb.CalcDistanceResults, error) { @@ -1584,17 +1453,57 @@ func (node *Proxy) CalcDistance(ctx context.Context, request *milvuspb.CalcDista }, nil } - retrieveTask := func(ids *milvuspb.VectorIDs) (*milvuspb.RetrieveResults, error) { + query := func(ids *milvuspb.VectorIDs) (*milvuspb.QueryResults, error) { outputFields := []string{ids.FieldName} - retrieveRequest := &milvuspb.RetrieveRequest{ + + queryRequest := &milvuspb.QueryRequest{ DbName: "", CollectionName: ids.CollectionName, PartitionNames: ids.PartitionNames, - Ids: ids.IdArray, OutputFields: outputFields, } - return node.Retrieve(ctx, retrieveRequest) + qt := &QueryTask{ + ctx: ctx, + Condition: NewTaskCondition(ctx), + RetrieveRequest: &internalpb.RetrieveRequest{ + Base: &commonpb.MsgBase{ + MsgType: commonpb.MsgType_Retrieve, + SourceID: Params.ProxyID, + }, + Ids: ids.IdArray, + ResultChannelID: strconv.FormatInt(Params.ProxyID, 10), + }, + resultBuf: make(chan []*internalpb.RetrieveResults), + query: queryRequest, + chMgr: node.chMgr, + qc: node.queryCoord, + } + + err := node.sched.DqQueue.Enqueue(qt) + if err != nil { + return &milvuspb.QueryResults{ + Status: &commonpb.Status{ + ErrorCode: commonpb.ErrorCode_UnexpectedError, + Reason: err.Error(), + }, + }, nil + } + + err = qt.WaitToFinish() + if err != nil { + return &milvuspb.QueryResults{ + Status: &commonpb.Status{ + ErrorCode: commonpb.ErrorCode_UnexpectedError, + Reason: err.Error(), + }, + }, nil + } + + return &milvuspb.QueryResults{ + Status: qt.result.Status, + FieldsData: qt.result.FieldsData, + }, nil } // the vectors retrieved are random order, we need re-arrange the vectors by the order of input ids @@ -1674,7 +1583,7 @@ func (node *Proxy) CalcDistance(ctx context.Context, request *milvuspb.CalcDista vectorsLeft := request.GetOpLeft().GetDataArray() opLeft := request.GetOpLeft().GetIdArray() if opLeft != nil { - result, err := retrieveTask(opLeft) + result, err := query(opLeft) if err != nil { return &milvuspb.CalcDistanceResults{ Status: &commonpb.Status{ @@ -1707,7 +1616,7 @@ func (node *Proxy) CalcDistance(ctx context.Context, request *milvuspb.CalcDista vectorsRight := request.GetOpRight().GetDataArray() opRight := request.GetOpRight().GetIdArray() if opRight != nil { - result, err := retrieveTask(opRight) + result, err := query(opRight) if err != nil { return &milvuspb.CalcDistanceResults{ Status: &commonpb.Status{ @@ -2010,30 +1919,23 @@ func (node *Proxy) Dummy(ctx context.Context, req *milvuspb.DummyRequest) (*milv return failedResponse, nil } - if drt.RequestType == "retrieve" { - drr, err := parseDummyRetrieveRequest(req.RequestType) + if drt.RequestType == "query" { + drr, err := parseDummyQueryRequest(req.RequestType) if err != nil { - log.Debug("Failed to parse dummy retrieve request") + log.Debug("Failed to parse dummy query request") return failedResponse, nil } - request := &milvuspb.RetrieveRequest{ + request := &milvuspb.QueryRequest{ DbName: drr.DbName, CollectionName: drr.CollectionName, PartitionNames: drr.PartitionNames, - Ids: &schemapb.IDs{ - IdField: &schemapb.IDs_IntId{ - IntId: &schemapb.LongArray{ - Data: drr.Ids, - }, - }, - }, - OutputFields: drr.OutputFields, + OutputFields: drr.OutputFields, } - _, err = node.Retrieve(ctx, request) + _, err = node.Query(ctx, request) if err != nil { - log.Debug("Failed to execute dummy retrieve") + log.Debug("Failed to execute dummy query") return failedResponse, err } diff --git a/internal/proxy/task.go b/internal/proxy/task.go index bad2c8c193..d95dce85ee 100644 --- a/internal/proxy/task.go +++ b/internal/proxy/task.go @@ -53,6 +53,7 @@ const ( DropCollectionTaskName = "DropCollectionTask" SearchTaskName = "SearchTask" RetrieveTaskName = "RetrieveTask" + QueryTaskName = "QueryTask" AnnsFieldKey = "anns_field" TopKKey = "topk" MetricTypeKey = "metric_type" @@ -1990,118 +1991,146 @@ func (st *SearchTask) PostExecute(ctx context.Context) error { } } -type RetrieveTask struct { +type QueryTask struct { Condition *internalpb.RetrieveRequest ctx context.Context resultBuf chan []*internalpb.RetrieveResults - result *milvuspb.RetrieveResults - retrieve *milvuspb.RetrieveRequest + result *milvuspb.QueryResults + query *milvuspb.QueryRequest chMgr channelsMgr qc types.QueryCoord } -func (rt *RetrieveTask) TraceCtx() context.Context { - return rt.ctx +func (qt *QueryTask) TraceCtx() context.Context { + return qt.ctx } -func (rt *RetrieveTask) ID() UniqueID { - return rt.Base.MsgID +func (qt *QueryTask) ID() UniqueID { + return qt.Base.MsgID } -func (rt *RetrieveTask) SetID(uid UniqueID) { - rt.Base.MsgID = uid +func (qt *QueryTask) SetID(uid UniqueID) { + qt.Base.MsgID = uid } -func (rt *RetrieveTask) Name() string { +func (qt *QueryTask) Name() string { return RetrieveTaskName } -func (rt *RetrieveTask) Type() commonpb.MsgType { - return rt.Base.MsgType +func (qt *QueryTask) Type() commonpb.MsgType { + return qt.Base.MsgType } -func (rt *RetrieveTask) BeginTs() Timestamp { - return rt.Base.Timestamp +func (qt *QueryTask) BeginTs() Timestamp { + return qt.Base.Timestamp } -func (rt *RetrieveTask) EndTs() Timestamp { - return rt.Base.Timestamp +func (qt *QueryTask) EndTs() Timestamp { + return qt.Base.Timestamp } -func (rt *RetrieveTask) SetTs(ts Timestamp) { - rt.Base.Timestamp = ts +func (qt *QueryTask) SetTs(ts Timestamp) { + qt.Base.Timestamp = ts } -func (rt *RetrieveTask) OnEnqueue() error { - rt.Base.MsgType = commonpb.MsgType_Retrieve +func (qt *QueryTask) OnEnqueue() error { + qt.Base.MsgType = commonpb.MsgType_Retrieve return nil } -func (rt *RetrieveTask) getChannels() ([]pChan, error) { - collID, err := globalMetaCache.GetCollectionID(rt.ctx, rt.retrieve.CollectionName) +func (qt *QueryTask) getChannels() ([]pChan, error) { + collID, err := globalMetaCache.GetCollectionID(qt.ctx, qt.query.CollectionName) if err != nil { return nil, err } - return rt.chMgr.getChannels(collID) + return qt.chMgr.getChannels(collID) } -func (rt *RetrieveTask) getVChannels() ([]vChan, error) { - collID, err := globalMetaCache.GetCollectionID(rt.ctx, rt.retrieve.CollectionName) +func (qt *QueryTask) getVChannels() ([]vChan, error) { + collID, err := globalMetaCache.GetCollectionID(qt.ctx, qt.query.CollectionName) if err != nil { return nil, err } - _, err = rt.chMgr.getChannels(collID) + _, err = qt.chMgr.getChannels(collID) if err != nil { - err := rt.chMgr.createDMLMsgStream(collID) + err := qt.chMgr.createDMLMsgStream(collID) if err != nil { return nil, err } } - return rt.chMgr.getVChannels(collID) + return qt.chMgr.getVChannels(collID) } -func (rt *RetrieveTask) PreExecute(ctx context.Context) error { - rt.Base.MsgType = commonpb.MsgType_Retrieve - rt.Base.SourceID = Params.ProxyID +func parseIdsFromExpr(exprStr string, schema *typeutil.SchemaHelper) ([]int64, error) { + expr, err := parseQueryExpr(schema, exprStr) + if err != nil { + return nil, err + } - collectionName := rt.retrieve.CollectionName + switch xExpr := expr.Expr.(type) { + case *planpb.Expr_TermExpr: + var ids []int64 + for _, value := range xExpr.TermExpr.Values { + switch v := value.Val.(type) { + case *planpb.GenericValue_Int64Val: + ids = append(ids, v.Int64Val) + default: + return nil, errors.New("column is not int64") + } + } + + if !xExpr.TermExpr.ColumnInfo.IsPrimaryKey { + return nil, errors.New("column is not primary key") + } + + return ids, nil + default: + return nil, errors.New("not top level term") + } +} + +func (qt *QueryTask) PreExecute(ctx context.Context) error { + qt.Base.MsgType = commonpb.MsgType_Retrieve + qt.Base.SourceID = Params.ProxyID + + collectionName := qt.query.CollectionName collectionID, err := globalMetaCache.GetCollectionID(ctx, collectionName) if err != nil { log.Debug("Failed to get collection id.", zap.Any("collectionName", collectionName), - zap.Any("requestID", rt.Base.MsgID), zap.Any("requestType", "retrieve")) + zap.Any("requestID", qt.Base.MsgID), zap.Any("requestType", "query")) return err } log.Info("Get collection id by name.", zap.Any("collectionName", collectionName), - zap.Any("requestID", rt.Base.MsgID), zap.Any("requestType", "retrieve")) + zap.Any("requestID", qt.Base.MsgID), zap.Any("requestType", "query")) - if err := ValidateCollectionName(rt.retrieve.CollectionName); err != nil { + if err := ValidateCollectionName(qt.query.CollectionName); err != nil { log.Debug("Invalid collection name.", zap.Any("collectionName", collectionName), - zap.Any("requestID", rt.Base.MsgID), zap.Any("requestType", "retrieve")) + zap.Any("requestID", qt.Base.MsgID), zap.Any("requestType", "query")) return err } log.Info("Validate collection name.", zap.Any("collectionName", collectionName), - zap.Any("requestID", rt.Base.MsgID), zap.Any("requestType", "retrieve")) + zap.Any("requestID", qt.Base.MsgID), zap.Any("requestType", "query")) - for _, tag := range rt.retrieve.PartitionNames { + for _, tag := range qt.query.PartitionNames { if err := ValidatePartitionTag(tag, false); err != nil { log.Debug("Invalid partition name.", zap.Any("partitionName", tag), - zap.Any("requestID", rt.Base.MsgID), zap.Any("requestType", "retrieve")) + zap.Any("requestID", qt.Base.MsgID), zap.Any("requestType", "query")) return err } } log.Info("Validate partition names.", - zap.Any("requestID", rt.Base.MsgID), zap.Any("requestType", "retrieve")) + zap.Any("requestID", qt.Base.MsgID), zap.Any("requestType", "query")) // check if collection was already loaded into query node - showResp, err := rt.qc.ShowCollections(rt.ctx, &querypb.ShowCollectionsRequest{ + showResp, err := qt.qc.ShowCollections(qt.ctx, &querypb.ShowCollectionsRequest{ Base: &commonpb.MsgBase{ MsgType: commonpb.MsgType_ShowCollections, - MsgID: rt.Base.MsgID, - Timestamp: rt.Base.Timestamp, + MsgID: qt.Base.MsgID, + Timestamp: qt.Base.Timestamp, SourceID: Params.ProxyID, }, DbID: 0, // TODO(dragondriver) @@ -2127,32 +2156,50 @@ func (rt *RetrieveTask) PreExecute(ctx context.Context) error { return fmt.Errorf("collection %v was not loaded into memory", collectionName) } + schema, err := globalMetaCache.GetCollectionSchema(ctx, qt.query.CollectionName) + if err != nil { // err is not nil if collection not exists + return err + } + schemaHelper, err := typeutil.CreateSchemaHelper(schema) + if err != nil { + return err + } + // TODO(dragondriver): necessary to check if partition was loaded into query node? - rt.Base.MsgType = commonpb.MsgType_Retrieve - if rt.retrieve.Ids == nil { - errMsg := "Retrieve ids is nil" - return errors.New(errMsg) + if qt.Ids == nil { + if qt.query.Expr == "" { + errMsg := "Query expression is empty" + return fmt.Errorf(errMsg) + } + + ids, err := parseIdsFromExpr(qt.query.Expr, schemaHelper) + if err != nil { + return err + } + qt.Base.MsgType = commonpb.MsgType_Retrieve + qt.Ids = &schemapb.IDs{ + IdField: &schemapb.IDs_IntId{ + IntId: &schemapb.LongArray{ + Data: ids, + }, + }, + } } - rt.Ids = rt.retrieve.Ids - schema, err := globalMetaCache.GetCollectionSchema(ctx, collectionName) + qt.query.OutputFields, err = translateOutputFields(qt.query.OutputFields, schema, true) if err != nil { return err } - rt.retrieve.OutputFields, err = translateOutputFields(rt.retrieve.OutputFields, schema, true) - if err != nil { - return err - } - log.Debug("translate output fields", zap.Any("OutputFields", rt.retrieve.OutputFields)) - if len(rt.retrieve.OutputFields) == 0 { + log.Debug("translate output fields", zap.Any("OutputFields", qt.query.OutputFields)) + if len(qt.query.OutputFields) == 0 { for _, field := range schema.Fields { if field.FieldID >= 100 && field.DataType != schemapb.DataType_FloatVector && field.DataType != schemapb.DataType_BinaryVector { - rt.OutputFieldsId = append(rt.OutputFieldsId, field.FieldID) + qt.OutputFieldsId = append(qt.OutputFieldsId, field.FieldID) } } } else { addPrimaryKey := false - for _, reqField := range rt.retrieve.OutputFields { + for _, reqField := range qt.query.OutputFields { findField := false for _, field := range schema.Fields { if reqField == field.Name { @@ -2160,10 +2207,10 @@ func (rt *RetrieveTask) PreExecute(ctx context.Context) error { addPrimaryKey = true } findField = true - rt.OutputFieldsId = append(rt.OutputFieldsId, field.FieldID) + qt.OutputFieldsId = append(qt.OutputFieldsId, field.FieldID) } else { if field.IsPrimaryKey && !addPrimaryKey { - rt.OutputFieldsId = append(rt.OutputFieldsId, field.FieldID) + qt.OutputFieldsId = append(qt.OutputFieldsId, field.FieldID) addPrimaryKey = true } } @@ -2174,48 +2221,48 @@ func (rt *RetrieveTask) PreExecute(ctx context.Context) error { } } } - log.Debug("translate output fields to field ids", zap.Any("OutputFieldsID", rt.OutputFieldsId)) + log.Debug("translate output fields to field ids", zap.Any("OutputFieldsID", qt.OutputFieldsId)) - travelTimestamp := rt.retrieve.TravelTimestamp + travelTimestamp := qt.query.TravelTimestamp if travelTimestamp == 0 { - travelTimestamp = rt.BeginTs() + travelTimestamp = qt.BeginTs() } - guaranteeTimestamp := rt.retrieve.GuaranteeTimestamp + guaranteeTimestamp := qt.query.GuaranteeTimestamp if guaranteeTimestamp == 0 { - guaranteeTimestamp = rt.BeginTs() + guaranteeTimestamp = qt.BeginTs() } - rt.RetrieveRequest.TravelTimestamp = travelTimestamp - rt.RetrieveRequest.GuaranteeTimestamp = guaranteeTimestamp + qt.TravelTimestamp = travelTimestamp + qt.GuaranteeTimestamp = guaranteeTimestamp - rt.ResultChannelID = Params.RetrieveResultChannelNames[0] - rt.DbID = 0 // todo(yukun) + qt.ResultChannelID = Params.RetrieveResultChannelNames[0] + qt.DbID = 0 // todo(yukun) - rt.CollectionID = collectionID - rt.PartitionIDs = make([]UniqueID, 0) + qt.CollectionID = collectionID + qt.PartitionIDs = make([]UniqueID, 0) partitionsMap, err := globalMetaCache.GetPartitions(ctx, collectionName) if err != nil { log.Debug("Failed to get partitions in collection.", zap.Any("collectionName", collectionName), - zap.Any("requestID", rt.Base.MsgID), zap.Any("requestType", "retrieve")) + zap.Any("requestID", qt.Base.MsgID), zap.Any("requestType", "query")) return err } log.Info("Get partitions in collection.", zap.Any("collectionName", collectionName), - zap.Any("requestID", rt.Base.MsgID), zap.Any("requestType", "retrieve")) + zap.Any("requestID", qt.Base.MsgID), zap.Any("requestType", "query")) partitionsRecord := make(map[UniqueID]bool) - for _, partitionName := range rt.retrieve.PartitionNames { + for _, partitionName := range qt.query.PartitionNames { pattern := fmt.Sprintf("^%s$", partitionName) re, err := regexp.Compile(pattern) if err != nil { log.Debug("Failed to compile partition name regex expression.", zap.Any("partitionName", partitionName), - zap.Any("requestID", rt.Base.MsgID), zap.Any("requestType", "retrieve")) + zap.Any("requestID", qt.Base.MsgID), zap.Any("requestType", "query")) return errors.New("invalid partition names") } found := false for name, pID := range partitionsMap { if re.MatchString(name) { if _, exist := partitionsRecord[pID]; !exist { - rt.PartitionIDs = append(rt.PartitionIDs, pID) + qt.PartitionIDs = append(qt.PartitionIDs, pID) partitionsRecord[pID] = true } found = true @@ -2228,46 +2275,46 @@ func (rt *RetrieveTask) PreExecute(ctx context.Context) error { } } - log.Info("Retrieve PreExecute done.", - zap.Any("requestID", rt.Base.MsgID), zap.Any("requestType", "retrieve")) + log.Info("Query PreExecute done.", + zap.Any("requestID", qt.Base.MsgID), zap.Any("requestType", "query")) return nil } -func (rt *RetrieveTask) Execute(ctx context.Context) error { +func (qt *QueryTask) Execute(ctx context.Context) error { var tsMsg msgstream.TsMsg = &msgstream.RetrieveMsg{ - RetrieveRequest: *rt.RetrieveRequest, + RetrieveRequest: *qt.RetrieveRequest, BaseMsg: msgstream.BaseMsg{ Ctx: ctx, HashValues: []uint32{uint32(Params.ProxyID)}, - BeginTimestamp: rt.Base.Timestamp, - EndTimestamp: rt.Base.Timestamp, + BeginTimestamp: qt.Base.Timestamp, + EndTimestamp: qt.Base.Timestamp, }, } msgPack := msgstream.MsgPack{ - BeginTs: rt.Base.Timestamp, - EndTs: rt.Base.Timestamp, + BeginTs: qt.Base.Timestamp, + EndTs: qt.Base.Timestamp, Msgs: make([]msgstream.TsMsg, 1), } msgPack.Msgs[0] = tsMsg - collectionName := rt.retrieve.CollectionName + collectionName := qt.query.CollectionName collID, err := globalMetaCache.GetCollectionID(ctx, collectionName) if err != nil { return err } - stream, err := rt.chMgr.getDQLStream(collID) + stream, err := qt.chMgr.getDQLStream(collID) if err != nil { - err = rt.chMgr.createDQLStream(collID) + err = qt.chMgr.createDQLStream(collID) if err != nil { - rt.result.Status.ErrorCode = commonpb.ErrorCode_UnexpectedError - rt.result.Status.Reason = err.Error() + qt.result.Status.ErrorCode = commonpb.ErrorCode_UnexpectedError + qt.result.Status.Reason = err.Error() return err } - stream, err = rt.chMgr.getDQLStream(collID) + stream, err = qt.chMgr.getDQLStream(collID) if err != nil { - rt.result.Status.ErrorCode = commonpb.ErrorCode_UnexpectedError - rt.result.Status.Reason = err.Error() + qt.result.Status.ErrorCode = commonpb.ErrorCode_UnexpectedError + qt.result.Status.Reason = err.Error() return err } } @@ -2275,24 +2322,24 @@ func (rt *RetrieveTask) Execute(ctx context.Context) error { log.Debug("proxy", zap.Int("length of retrieveMsg", len(msgPack.Msgs))) if err != nil { log.Debug("Failed to send retrieve request.", - zap.Any("requestID", rt.Base.MsgID), zap.Any("requestType", "retrieve")) + zap.Any("requestID", qt.Base.MsgID), zap.Any("requestType", "query")) } - log.Info("Retrieve Execute done.", - zap.Any("requestID", rt.Base.MsgID), zap.Any("requestType", "retrieve")) + log.Info("Query Execute done.", + zap.Any("requestID", qt.Base.MsgID), zap.Any("requestType", "query")) return err } -func (rt *RetrieveTask) PostExecute(ctx context.Context) error { +func (qt *QueryTask) PostExecute(ctx context.Context) error { t0 := time.Now() defer func() { log.Debug("WaitAndPostExecute", zap.Any("time cost", time.Since(t0))) }() select { - case <-rt.TraceCtx().Done(): - log.Debug("proxy", zap.Int64("Retrieve: wait to finish failed, timeout!, taskID:", rt.ID())) - return fmt.Errorf("RetrieveTask:wait to finish failed, timeout : %d", rt.ID()) - case retrieveResults := <-rt.resultBuf: + case <-qt.TraceCtx().Done(): + log.Debug("proxy", zap.Int64("Query: wait to finish failed, timeout!, taskID:", qt.ID())) + return fmt.Errorf("QueryTask:wait to finish failed, timeout : %d", qt.ID()) + case retrieveResults := <-qt.resultBuf: retrieveResult := make([]*internalpb.RetrieveResults, 0) var reason string for _, partialRetrieveResult := range retrieveResults { @@ -2304,87 +2351,56 @@ func (rt *RetrieveTask) PostExecute(ctx context.Context) error { } if len(retrieveResult) == 0 { - rt.result = &milvuspb.RetrieveResults{ + qt.result = &milvuspb.QueryResults{ Status: &commonpb.Status{ ErrorCode: commonpb.ErrorCode_UnexpectedError, Reason: reason, }, } - log.Debug("Retrieve failed on all querynodes.", - zap.Any("requestID", rt.Base.MsgID), zap.Any("requestType", "retrieve")) + log.Debug("Query failed on all querynodes.", + zap.Any("requestID", qt.Base.MsgID), zap.Any("requestType", "query")) return errors.New(reason) } availableQueryNodeNum := 0 - rt.result = &milvuspb.RetrieveResults{ + qt.result = &milvuspb.QueryResults{ Status: &commonpb.Status{ ErrorCode: commonpb.ErrorCode_Success, }, - Ids: &schemapb.IDs{}, FieldsData: make([]*schemapb.FieldData, 0), } for idx, partialRetrieveResult := range retrieveResult { - log.Debug("Index-" + strconv.Itoa(idx)) availableQueryNodeNum++ if partialRetrieveResult.Ids == nil { reason += "ids is nil\n" continue } else { - intIds, intOk := partialRetrieveResult.Ids.IdField.(*schemapb.IDs_IntId) - strIds, strOk := partialRetrieveResult.Ids.IdField.(*schemapb.IDs_StrId) - if !intOk && !strOk { - reason += "ids is empty\n" - continue - } - - if !intOk { - if idsStr, ok := rt.result.Ids.IdField.(*schemapb.IDs_StrId); ok { - idsStr.StrId.Data = append(idsStr.StrId.Data, strIds.StrId.Data...) - } else { - rt.result.Ids.IdField = &schemapb.IDs_StrId{ - StrId: &schemapb.StringArray{ - Data: strIds.StrId.Data, - }, - } - } - } else { - if idsInt, ok := rt.result.Ids.IdField.(*schemapb.IDs_IntId); ok { - idsInt.IntId.Data = append(idsInt.IntId.Data, intIds.IntId.Data...) - } else { - rt.result.Ids.IdField = &schemapb.IDs_IntId{ - IntId: &schemapb.LongArray{ - Data: intIds.IntId.Data, - }, - } - } - } - if idx == 0 { - rt.result.FieldsData = append(rt.result.FieldsData, partialRetrieveResult.FieldsData...) + qt.result.FieldsData = append(qt.result.FieldsData, partialRetrieveResult.FieldsData...) } else { for k, fieldData := range partialRetrieveResult.FieldsData { switch fieldType := fieldData.Field.(type) { case *schemapb.FieldData_Scalars: switch scalarType := fieldType.Scalars.Data.(type) { case *schemapb.ScalarField_BoolData: - rt.result.FieldsData[k].GetScalars().GetBoolData().Data = append(rt.result.FieldsData[k].GetScalars().GetBoolData().Data, scalarType.BoolData.Data...) + qt.result.FieldsData[k].GetScalars().GetBoolData().Data = append(qt.result.FieldsData[k].GetScalars().GetBoolData().Data, scalarType.BoolData.Data...) case *schemapb.ScalarField_IntData: - rt.result.FieldsData[k].GetScalars().GetIntData().Data = append(rt.result.FieldsData[k].GetScalars().GetIntData().Data, scalarType.IntData.Data...) + qt.result.FieldsData[k].GetScalars().GetIntData().Data = append(qt.result.FieldsData[k].GetScalars().GetIntData().Data, scalarType.IntData.Data...) case *schemapb.ScalarField_LongData: - rt.result.FieldsData[k].GetScalars().GetLongData().Data = append(rt.result.FieldsData[k].GetScalars().GetLongData().Data, scalarType.LongData.Data...) + qt.result.FieldsData[k].GetScalars().GetLongData().Data = append(qt.result.FieldsData[k].GetScalars().GetLongData().Data, scalarType.LongData.Data...) case *schemapb.ScalarField_FloatData: - rt.result.FieldsData[k].GetScalars().GetFloatData().Data = append(rt.result.FieldsData[k].GetScalars().GetFloatData().Data, scalarType.FloatData.Data...) + qt.result.FieldsData[k].GetScalars().GetFloatData().Data = append(qt.result.FieldsData[k].GetScalars().GetFloatData().Data, scalarType.FloatData.Data...) case *schemapb.ScalarField_DoubleData: - rt.result.FieldsData[k].GetScalars().GetDoubleData().Data = append(rt.result.FieldsData[k].GetScalars().GetDoubleData().Data, scalarType.DoubleData.Data...) + qt.result.FieldsData[k].GetScalars().GetDoubleData().Data = append(qt.result.FieldsData[k].GetScalars().GetDoubleData().Data, scalarType.DoubleData.Data...) default: - log.Debug("Retrieve received not supported data type") + log.Debug("Query received not supported data type") } case *schemapb.FieldData_Vectors: switch vectorType := fieldType.Vectors.Data.(type) { case *schemapb.VectorField_BinaryVector: - rt.result.FieldsData[k].GetVectors().Data.(*schemapb.VectorField_BinaryVector).BinaryVector = append(rt.result.FieldsData[k].GetVectors().Data.(*schemapb.VectorField_BinaryVector).BinaryVector, vectorType.BinaryVector...) + qt.result.FieldsData[k].GetVectors().Data.(*schemapb.VectorField_BinaryVector).BinaryVector = append(qt.result.FieldsData[k].GetVectors().Data.(*schemapb.VectorField_BinaryVector).BinaryVector, vectorType.BinaryVector...) case *schemapb.VectorField_FloatVector: - rt.result.FieldsData[k].GetVectors().GetFloatVector().Data = append(rt.result.FieldsData[k].GetVectors().GetFloatVector().Data, vectorType.FloatVector.Data...) + qt.result.FieldsData[k].GetVectors().GetFloatVector().Data = append(qt.result.FieldsData[k].GetVectors().GetFloatVector().Data, vectorType.FloatVector.Data...) } default: } @@ -2396,8 +2412,8 @@ func (rt *RetrieveTask) PostExecute(ctx context.Context) error { if availableQueryNodeNum == 0 { log.Info("Not any valid result found.", - zap.Any("requestID", rt.Base.MsgID), zap.Any("requestType", "retrieve")) - rt.result = &milvuspb.RetrieveResults{ + zap.Any("requestID", qt.Base.MsgID), zap.Any("requestType", "query")) + qt.result = &milvuspb.QueryResults{ Status: &commonpb.Status{ ErrorCode: commonpb.ErrorCode_UnexpectedError, Reason: reason, @@ -2406,10 +2422,10 @@ func (rt *RetrieveTask) PostExecute(ctx context.Context) error { return nil } - if len(rt.result.FieldsData) == 0 { - log.Info("Retrieve result is nil.", - zap.Any("requestID", rt.Base.MsgID), zap.Any("requestType", "retrieve")) - rt.result = &milvuspb.RetrieveResults{ + if len(qt.result.FieldsData) == 0 { + log.Info("Query result is nil.", + zap.Any("requestID", qt.Base.MsgID), zap.Any("requestType", "query")) + qt.result = &milvuspb.QueryResults{ Status: &commonpb.Status{ ErrorCode: commonpb.ErrorCode_EmptyCollection, Reason: reason, @@ -2418,23 +2434,23 @@ func (rt *RetrieveTask) PostExecute(ctx context.Context) error { return nil } - schema, err := globalMetaCache.GetCollectionSchema(ctx, rt.retrieve.CollectionName) + schema, err := globalMetaCache.GetCollectionSchema(ctx, qt.query.CollectionName) if err != nil { return err } - for i := 0; i < len(rt.result.FieldsData); i++ { + for i := 0; i < len(qt.result.FieldsData); i++ { for _, field := range schema.Fields { - if field.FieldID == rt.OutputFieldsId[i] { - rt.result.FieldsData[i].FieldName = field.Name - rt.result.FieldsData[i].FieldId = field.FieldID - rt.result.FieldsData[i].Type = field.DataType + if field.FieldID == qt.OutputFieldsId[i] { + qt.result.FieldsData[i].FieldName = field.Name + qt.result.FieldsData[i].FieldId = field.FieldID + qt.result.FieldsData[i].Type = field.DataType } } } } - log.Info("Retrieve PostExecute done.", - zap.Any("requestID", rt.Base.MsgID), zap.Any("requestType", "retrieve")) + log.Info("Query PostExecute done.", + zap.Any("requestID", qt.Base.MsgID), zap.Any("requestType", "query")) return nil } diff --git a/internal/proxy/task_scheduler.go b/internal/proxy/task_scheduler.go index 8c90591bd8..ea9fdec13c 100644 --- a/internal/proxy/task_scheduler.go +++ b/internal/proxy/task_scheduler.go @@ -808,9 +808,9 @@ func (sched *TaskScheduler) collectResultLoop() { continue } - st, ok := t.(*RetrieveTask) + st, ok := t.(*QueryTask) if !ok { - log.Debug("Proxy collectResultLoop type assert t as RetrieveTask failed") + log.Debug("Proxy collectResultLoop type assert t as QueryTask failed") delete(queryResultBufs, reqID) queryResultBufFlags[reqID] = true continue @@ -842,7 +842,7 @@ func (sched *TaskScheduler) collectResultLoop() { //t := sched.getTaskByReqID(reqID) { - colName := t.(*RetrieveTask).retrieve.CollectionName + colName := t.(*QueryTask).query.CollectionName log.Debug("Proxy collectResultLoop", zap.String("collection name", colName), zap.String("reqID", reqIDStr), zap.Int("answer cnt", len(queryResultBufs[reqID].resultBuf))) }