SYMBOL INDEX (1557 symbols across 132 files) FILE: conanfile.py class MilvusLiteConan (line 5) | class MilvusLiteConan(ConanFile): method configure (line 70) | def configure(self): method config_options (line 78) | def config_options(self): method requirements (line 82) | def requirements(self): method imports (line 88) | def imports(self): method build (line 92) | def build(self): FILE: examples/bfloat16_example.py function gen_bf16_vectors (line 13) | def gen_bf16_vectors(num, dim): function bf16_vector_search (line 23) | def bf16_vector_search(): FILE: examples/binary_example.py function gen_binary_vectors (line 14) | def gen_binary_vectors(num, dim): function binary_vector_search (line 25) | def binary_vector_search(): FILE: examples/example_group_by.py function generate_random_hex_string (line 7) | def generate_random_hex_string(length): FILE: examples/float16_example.py function gen_fp16_vectors (line 16) | def gen_fp16_vectors(num, dim): function fp16_vector_search (line 26) | def fp16_vector_search(): FILE: examples/hello_hybrid_bm25.py function random_embedding (line 67) | def random_embedding(texts): FILE: examples/hello_milvus_delete.py function fetch_data_by_pk (line 34) | def fetch_data_by_pk(pk): FILE: examples/sparse.py function generate_sparse_vector (line 7) | def generate_sparse_vector(dimension: int, non_zero_count: int) -> dict: FILE: python/setup.py class CMakeBuild (line 34) | class CMakeBuild(_bdist_wheel): method finalize_options (line 35) | def finalize_options(self): method copy_lib (line 45) | def copy_lib(self, lib_path, dst_dir, pick_libs): method _pack_macos (line 53) | def _pack_macos(self, src_dir: str, dst_dir: str): method _pack_linux (line 74) | def _pack_linux(self, src_dir: str, dst_dir: str): method run (line 90) | def run(self): function test_suite (line 137) | def test_suite(): function parse_requirements (line 143) | def parse_requirements(file_name: str) -> List[str]: FILE: python/src/milvus_lite/cmdline.py class MilvusEncoder (line 24) | class MilvusEncoder(json.JSONEncoder): method default (line 25) | def default(self, o): function dump_func (line 33) | def dump_func(args): function bfloat16_to_float32 (line 37) | def bfloat16_to_float32(byte_data): function binary_to_int_list (line 45) | def binary_to_int_list(packed_bytes): function dump_collection (line 50) | def dump_collection(db_file, collection_name, path): function main (line 105) | def main(): FILE: python/src/milvus_lite/server.py class Server (line 30) | class Server: method __init__ (line 37) | def __init__(self, db_file: str, address: Optional[str] = None): method init (line 62) | def init(self) -> bool: method milvus_bin (line 71) | def milvus_bin(self): method log_level (line 75) | def log_level(self): method uds_path (line 79) | def uds_path(self): method args (line 83) | def args(self): method start (line 88) | def start(self) -> bool: method stop (line 119) | def stop(self): method __del__ (line 143) | def __del__(self): FILE: python/src/milvus_lite/server_manager.py class ServerManager (line 24) | class ServerManager: method __init__ (line 25) | def __init__(self): method start_and_get_uri (line 29) | def start_and_get_uri(self, path: str, args=None) -> Optional[str]: method release_server (line 41) | def release_server(self, path: str): method release_all (line 50) | def release_all(self): method __del__ (line 55) | def __del__(self): FILE: src/common.h function namespace (line 21) | namespace milvus::local { FILE: src/create_collection_task.cpp type milvus::local (line 28) | namespace milvus::local { function Status (line 45) | Status function Status (line 58) | Status function Status (line 253) | Status function Status (line 313) | Status function Status (line 359) | Status function Status (line 398) | Status FILE: src/create_collection_task.h function namespace (line 24) | namespace milvus::local { FILE: src/create_index_task.cpp type milvus::local (line 32) | namespace milvus::local { class AutoIndexConfig (line 70) | class AutoIndexConfig final : NonCopyableNonMovable { method AutoIndexConfig (line 72) | AutoIndexConfig() class IndexChecker (line 88) | class IndexChecker : NonCopyableNonMovable { method IndexChecker (line 90) | IndexChecker(const std::string& index_type, function Status (line 115) | Status class FloatVectorIndexChecker (line 146) | class FloatVectorIndexChecker : public virtual IndexChecker { method FloatVectorIndexChecker (line 148) | FloatVectorIndexChecker(const std::string& index_type, class BinaryVectorChecker (line 161) | class BinaryVectorChecker : public virtual IndexChecker { method BinaryVectorChecker (line 163) | BinaryVectorChecker(const std::string& index_type, class Float16VectorChecker (line 177) | class Float16VectorChecker : public virtual IndexChecker { method Float16VectorChecker (line 179) | Float16VectorChecker(const std::string& index_type, class BFloat16VectorChecker (line 192) | class BFloat16VectorChecker : public virtual IndexChecker { method BFloat16VectorChecker (line 194) | BFloat16VectorChecker(const std::string& index_type, class SparseFloatVectorChecker (line 207) | class SparseFloatVectorChecker : public virtual IndexChecker { method SparseFloatVectorChecker (line 209) | SparseFloatVectorChecker(const std::string& index_type, function Status (line 223) | Status function Status (line 277) | Status function Status (line 338) | Status function Status (line 526) | Status FILE: src/create_index_task.h function namespace (line 28) | namespace milvus::local { FILE: src/delete_task.cpp type milvus::local (line 24) | namespace milvus::local { function Status (line 26) | Status FILE: src/delete_task.h function namespace (line 23) | namespace milvus::local { FILE: src/function/bm25_function.cpp type milvus::local::function (line 25) | namespace milvus::local::function { function Status (line 31) | Status function Status (line 76) | Status function Status (line 106) | Status FILE: src/function/function.h function namespace (line 30) | namespace milvus::local::function { FILE: src/function/function_executor.cpp type milvus::local::function (line 27) | namespace milvus::local::function { function Status (line 86) | Status function Status (line 94) | Status function Status (line 115) | Status FILE: src/function/function_executor.h function namespace (line 27) | namespace milvus::local::function { FILE: src/function/function_util.h function namespace (line 21) | namespace milvus::local::function { FILE: src/hybrid_search_task.cpp type milvus::local (line 31) | namespace milvus::local { function Status (line 33) | Status function Status (line 90) | Status function Status (line 134) | Status function Status (line 197) | Status function Status (line 289) | Status FILE: src/hybrid_search_task.h function namespace (line 29) | namespace milvus::local { FILE: src/index.cpp type milvus::local (line 21) | namespace milvus::local { function Status (line 23) | Status function Status (line 48) | Status function Status (line 60) | Status function Status (line 71) | Status function Status (line 82) | Status function Status (line 95) | Status FILE: src/index.h function namespace (line 25) | namespace milvus::local { FILE: src/insert_task.cpp type milvus::local (line 33) | namespace milvus::local { function Status (line 145) | Status function Status (line 203) | Status FILE: src/insert_task.h function namespace (line 26) | namespace milvus::local { FILE: src/milvus_id.hpp type milvus::local (line 21) | namespace milvus::local { class MilvusID (line 23) | class MilvusID { type IDType (line 24) | enum IDType { INT, STR } method MilvusID (line 27) | explicit MilvusID(int64_t id) { method MilvusID (line 32) | explicit MilvusID(const std::string& id) { method MilvusID (line 37) | explicit MilvusID(const ::milvus::proto::schema::IDs& ids, int64_t i... method AppendToIDs (line 68) | void FILE: src/milvus_local.cpp type milvus::local (line 29) | namespace milvus::local { function Status (line 56) | Status function Status (line 105) | Status function Status (line 116) | Status function Status (line 126) | Status function Status (line 136) | Status function Status (line 166) | Status function Status (line 194) | Status function Status (line 226) | Status function Status (line 246) | Status function Status (line 268) | Status function Status (line 277) | Status function Status (line 287) | Status function Status (line 302) | Status function Status (line 314) | Status function Status (line 336) | Status function Status (line 348) | Status FILE: src/milvus_local.h function namespace (line 31) | namespace milvus::local { FILE: src/milvus_proxy.cpp type milvus::local (line 48) | namespace milvus::local { function Status (line 61) | Status function Status (line 66) | Status function Status (line 91) | Status function Status (line 102) | Status function Status (line 116) | Status function Status (line 132) | Status function Status (line 149) | Status function Status (line 180) | Status function Status (line 215) | Status function Status (line 235) | Status function Status (line 301) | Status function Status (line 348) | Status function Status (line 372) | Status function Status (line 419) | Status function Status (line 433) | Status function Status (line 453) | Status function Status (line 486) | Status function Status (line 493) | Status function Status (line 536) | Status FILE: src/milvus_proxy.h function namespace (line 24) | namespace milvus::local { FILE: src/milvus_service_impl.cpp type milvus::local (line 23) | namespace milvus::local { function Status2Response (line 25) | void FILE: src/milvus_service_impl.h function namespace (line 21) | namespace milvus::local { FILE: src/parser/antlr/PlanBaseVisitor.h function class (line 15) | class PlanBaseVisitor : public PlanVisitor { function virtual (line 22) | virtual std::any visitParens(PlanParser::ParensContext *ctx) override { function virtual (line 26) | virtual std::any visitString(PlanParser::StringContext *ctx) override { function virtual (line 30) | virtual std::any visitFloating(PlanParser::FloatingContext *ctx) override { function virtual (line 34) | virtual std::any visitJSONContainsAll(PlanParser::JSONContainsAllContext... function virtual (line 38) | virtual std::any visitLogicalOr(PlanParser::LogicalOrContext *ctx) overr... function virtual (line 42) | virtual std::any visitMulDivMod(PlanParser::MulDivModContext *ctx) overr... function virtual (line 46) | virtual std::any visitIdentifier(PlanParser::IdentifierContext *ctx) ove... function virtual (line 50) | virtual std::any visitLike(PlanParser::LikeContext *ctx) override { function virtual (line 54) | virtual std::any visitLogicalAnd(PlanParser::LogicalAndContext *ctx) ove... function virtual (line 58) | virtual std::any visitEquality(PlanParser::EqualityContext *ctx) override { function virtual (line 62) | virtual std::any visitBoolean(PlanParser::BooleanContext *ctx) override { function virtual (line 66) | virtual std::any visitShift(PlanParser::ShiftContext *ctx) override { function virtual (line 70) | virtual std::any visitReverseRange(PlanParser::ReverseRangeContext *ctx)... function virtual (line 74) | virtual std::any visitBitOr(PlanParser::BitOrContext *ctx) override { function virtual (line 78) | virtual std::any visitAddSub(PlanParser::AddSubContext *ctx) override { function virtual (line 82) | virtual std::any visitRelational(PlanParser::RelationalContext *ctx) ove... function virtual (line 86) | virtual std::any visitArrayLength(PlanParser::ArrayLengthContext *ctx) o... function virtual (line 90) | virtual std::any visitTerm(PlanParser::TermContext *ctx) override { function virtual (line 94) | virtual std::any visitJSONContains(PlanParser::JSONContainsContext *ctx)... function virtual (line 98) | virtual std::any visitRange(PlanParser::RangeContext *ctx) override { function virtual (line 102) | virtual std::any visitUnary(PlanParser::UnaryContext *ctx) override { function virtual (line 106) | virtual std::any visitInteger(PlanParser::IntegerContext *ctx) override { function virtual (line 110) | virtual std::any visitArray(PlanParser::ArrayContext *ctx) override { function virtual (line 114) | virtual std::any visitJSONContainsAny(PlanParser::JSONContainsAnyContext... function virtual (line 118) | virtual std::any visitBitXor(PlanParser::BitXorContext *ctx) override { function virtual (line 122) | virtual std::any visitExists(PlanParser::ExistsContext *ctx) override { function virtual (line 126) | virtual std::any visitBitAnd(PlanParser::BitAndContext *ctx) override { function virtual (line 130) | virtual std::any visitEmptyTerm(PlanParser::EmptyTermContext *ctx) overr... function virtual (line 134) | virtual std::any visitPower(PlanParser::PowerContext *ctx) override { FILE: src/parser/antlr/PlanLexer.cpp type PlanLexerStaticData (line 16) | struct PlanLexerStaticData final { method PlanLexerStaticData (line 17) | PlanLexerStaticData(std::vector ruleNames, method PlanLexerStaticData (line 27) | PlanLexerStaticData(const PlanLexerStaticData&) = delete; method PlanLexerStaticData (line 28) | PlanLexerStaticData(PlanLexerStaticData&&) = delete; method PlanLexerStaticData (line 29) | PlanLexerStaticData& operator=(const PlanLexerStaticData&) = delete; method PlanLexerStaticData (line 30) | PlanLexerStaticData& operator=(PlanLexerStaticData&&) = delete; function planlexerLexerInitialize (line 50) | void planlexerLexerInitialize() { FILE: src/parser/antlr/PlanLexer.h function class (line 12) | class PlanLexer : public antlr4::Lexer { FILE: src/parser/antlr/PlanParser.cpp type PlanParserStaticData (line 16) | struct PlanParserStaticData final { method PlanParserStaticData (line 17) | PlanParserStaticData(std::vector ruleNames, method PlanParserStaticData (line 24) | PlanParserStaticData(const PlanParserStaticData&) = delete; method PlanParserStaticData (line 25) | PlanParserStaticData(PlanParserStaticData&&) = delete; method PlanParserStaticData (line 26) | PlanParserStaticData& operator=(const PlanParserStaticData&) = delete; method PlanParserStaticData (line 27) | PlanParserStaticData& operator=(PlanParserStaticData&&) = delete; function planParserInitialize (line 45) | void planParserInitialize() { FILE: src/parser/antlr/PlanParser.h function class (line 12) | class PlanParser : public antlr4::Parser { FILE: src/parser/antlr/PlanVisitor.h function class (line 16) | class PlanVisitor : public antlr4::tree::AbstractParseTreeVisitor { FILE: src/parser/parser.cc type milvus::local (line 17) | namespace milvus::local { function ParserToMessage (line 19) | std::string function ParseIdentifier (line 46) | std::shared_ptr FILE: src/parser/parser.h function namespace (line 27) | namespace milvus::local { function virtual (line 931) | virtual std::any function virtual (line 1034) | virtual std::any function virtual (line 1059) | virtual std::any function virtual (line 1142) | virtual std::any FILE: src/parser/utils.h function namespace (line 26) | namespace milvus::local { function arithmeticDtype (line 164) | inline bool function proto (line 184) | inline proto::schema::DataType function canArithmeticDtype (line 197) | inline bool function proto (line 214) | inline proto::schema::DataType function GetPartitionKeyField (line 262) | struct SchemaHelper { function proto (line 284) | const proto::schema::FieldSchema& function proto (line 291) | const proto::schema::FieldSchema& function proto (line 300) | const proto::schema::FieldSchema& function proto (line 312) | const proto::schema::FieldSchema& function GetVectorDimFromID (line 319) | int function SchemaHelper (line 337) | inline SchemaHelper function std (line 361) | inline std::string function proto (line 774) | inline proto::plan::OpType function checkDirectComparisonBinaryField (line 818) | inline bool FILE: src/query_task.cpp type milvus::local (line 31) | namespace milvus::local { function Status (line 80) | Status function Status (line 138) | Status FILE: src/query_task.h function namespace (line 25) | namespace milvus::local { FILE: src/re_scorer.cpp type milvus::local (line 25) | namespace milvus::local { function Status (line 68) | Status FILE: src/re_scorer.h function namespace (line 25) | namespace milvus::local { FILE: src/retrieve_result.h function namespace (line 20) | namespace milvus::local { FILE: src/schema_util.cpp type milvus::local (line 27) | namespace milvus::local { type schema_util (line 28) | namespace schema_util { function GetField (line 32) | std::any function IsVectorField (line 100) | bool function IsSparseVectorType (line 109) | bool function FindDimFromFieldParams (line 114) | bool function GetDim (line 133) | int64_t function FillEmptyField (line 158) | bool function FindDimFromSchema (line 227) | bool function DataTypeToVectorType (line 238) | std::optional<::milvus::proto::plan::VectorType> function Status (line 255) | Status function MergeIndexs (line 294) | std::string function GetIndexMetricType (line 304) | std::string function GetPkId (line 326) | std::optional function GetPkName (line 336) | std::optional function PickFieldDataByIndex (line 346) | bool function SliceFieldData (line 460) | bool function TranslateOutputFields (line 484) | bool function ReduceFieldByIDs (line 571) | bool function Status (line 606) | Status function SchemaEquals (line 621) | bool function CheckParamsEqual (line 664) | bool function CheckValueFieldEqual (line 685) | bool function FillInFieldInfo (line 722) | void function GetOutputFieldsIds (line 763) | bool FILE: src/schema_util.h function namespace (line 32) | namespace milvus::local { FILE: src/search_result.h function namespace (line 24) | namespace milvus::local { FILE: src/search_task.cpp type milvus::local (line 32) | namespace milvus::local { function Status (line 158) | Status FILE: src/search_task.h function namespace (line 26) | namespace milvus::local { FILE: src/segcore_wrapper.cpp type milvus::local (line 35) | namespace milvus::local { class RetrievePlanWrapper (line 39) | class RetrievePlanWrapper final : private NonCopyableNonMovable { method RetrievePlanWrapper (line 41) | RetrievePlanWrapper() : plan_(nullptr) { class SearchPlanWrapper (line 51) | class SearchPlanWrapper final : private NonCopyableNonMovable { method SearchPlanWrapper (line 53) | SearchPlanWrapper() : plan_(nullptr) { class PlaceholderGroupWrapper (line 63) | class PlaceholderGroupWrapper final : private NonCopyableNonMovable { method PlaceholderGroupWrapper (line 65) | PlaceholderGroupWrapper() : group_(nullptr) { class SearchResultWrapper (line 75) | class SearchResultWrapper final : private NonCopyableNonMovable { method SearchResultWrapper (line 77) | SearchResultWrapper() : ret_(nullptr) { function Status (line 104) | Status function Status (line 143) | Status function Status (line 154) | Status function Status (line 195) | Status function Status (line 240) | Status function Status (line 297) | Status FILE: src/segcore_wrapper.h function namespace (line 33) | namespace milvus::local { FILE: src/server.cpp function BlockLock (line 25) | int function main (line 52) | int FILE: src/status.h function namespace (line 21) | namespace milvus::local { FILE: src/storage/bm25_stats.cpp type milvus::local (line 19) | namespace milvus::local { FILE: src/storage/bm25_stats.h function namespace (line 38) | namespace milvus::local { FILE: src/storage/collection_data.cpp type milvus::local (line 26) | namespace milvus::local { FILE: src/storage/collection_data.h function namespace (line 54) | namespace milvus::local { FILE: src/storage/collection_meta.cpp type milvus::local (line 24) | namespace milvus::local { FILE: src/storage/collection_meta.h function std (line 83) | const std::string& function AddIndex (line 87) | bool function GetIndex (line 97) | bool FILE: src/storage/storage.cpp type milvus::local (line 32) | namespace milvus::local { FILE: src/storage/storage.h function class (line 39) | class Storage final { function GetTokenNQ (line 139) | int32_t FILE: src/string_util.hpp type milvus::local (line 27) | namespace milvus::local { type string_util (line 29) | namespace string_util { function ToLower (line 31) | inline std::string function ToUpper (line 41) | inline std::string function Trim (line 51) | inline std::string function SFormat (line 61) | inline std::string function Join (line 67) | inline std::string function IsAlpha (line 72) | inline bool function GenRandomString (line 80) | inline std::string function ToNumber (line 101) | inline std::pair FILE: src/timer.cpp type milvus::local (line 18) | namespace milvus::local { function InitializeTimer (line 21) | void function RecordEvent (line 26) | void function PrintTimerRecords (line 31) | void function StopTimer (line 36) | void FILE: src/timer.h function Start (line 35) | void function DoRecord (line 45) | void FILE: src/type.h function namespace (line 21) | namespace milvus::local { FILE: src/unittest/bm25_function_test.cpp type milvus::local::function (line 19) | namespace milvus::local::function { type test (line 20) | namespace test { function TEST (line 26) | TEST(BM25FunctionTest, normal) { FILE: src/unittest/grpc_server_test.cpp type milvus::local (line 24) | namespace milvus::local { type test (line 25) | namespace test { function TEST (line 29) | TEST(MilvusServiceImplTest, create_collection) { function TEST (line 68) | TEST(MilvusServiceImplTest, CreateIndex) { function TEST (line 98) | TEST(MilvusServiceImplTest, Insert) { function TEST (line 119) | TEST(MilvusServiceImplTest, Upsert) { function TEST (line 160) | TEST(MilvusServiceImplTest, Search) { function TEST (line 213) | TEST(MilvusServiceImplTest, Query) { function TEST (line 243) | TEST(MilvusServiceImplTest, Delete) { function TEST (line 297) | TEST(MilvusServiceImplTest, describe_collection) { FILE: src/unittest/milvus_local_test.cpp type milvus::local (line 30) | namespace milvus::local { type test (line 32) | namespace test { function TEST (line 34) | TEST(MilvusLocal, h) { function TEST (line 147) | TEST(MilvusLocal, parser) { FILE: src/unittest/milvus_proxy_test.cpp type milvus::local (line 25) | namespace milvus::local { type test (line 26) | namespace test { function TEST (line 30) | TEST(MilvusProxyTest, CreateCollection) { function TEST (line 57) | TEST(MilvusProxyTest, CreateIndex) { function TEST (line 77) | TEST(MilvusProxyTest, Insert) { function TEST (line 93) | TEST(MilvusProxyTest, search) { function TEST (line 161) | TEST(MilvusProxyTest, query) { function TEST (line 197) | TEST(MilvusProxyTest, delete) { FILE: src/unittest/run_examples.py function run_all (line 18) | def run_all(py_path): FILE: src/unittest/storage_test.cpp type milvus::local (line 20) | namespace milvus::local { function TEST (line 22) | TEST(Storage, h) { FILE: src/unittest/test_util.cpp type milvus::local (line 30) | namespace milvus::local { type test (line 31) | namespace test { function CreateCollection (line 33) | std::string function CreateBM25Function (line 81) | std::string function CreateVectorIndex (line 93) | std::string function CreateData (line 110) | milvus::local::Rows function GetCreateCollectionRequestProto (line 147) | ::milvus::proto::milvus::CreateCollectionRequest function GetLoadCollectionRequestProto (line 157) | ::milvus::proto::milvus::LoadCollectionRequest function GetCreateIndexRequestProto (line 164) | ::milvus::proto::milvus::CreateIndexRequest function GetInsertRequestProto (line 187) | ::milvus::proto::milvus::InsertRequest function GetUpsertRequestProto (line 228) | ::milvus::proto::milvus::UpsertRequest function GetSearchRequestProto (line 269) | ::milvus::proto::milvus::SearchRequest function GetQueryRequestProto (line 322) | ::milvus::proto::milvus::QueryRequest function GetDeleteRequestProto (line 354) | ::milvus::proto::milvus::DeleteRequest function GetDescribeCollectionRequest (line 363) | ::milvus::proto::milvus::DescribeCollectionRequest FILE: src/unittest/test_util.h function namespace (line 22) | namespace milvus::local { FILE: src/upsert_task.cpp type milvus::local (line 7) | namespace milvus::local { function Status (line 9) | Status FILE: src/upsert_task.h function namespace (line 8) | namespace milvus::local { FILE: tests/base/client_base.py class Base (line 24) | class Base: method setup_class (line 38) | def setup_class(self): method teardown_class (line 41) | def teardown_class(self): method setup_method (line 44) | def setup_method(self, method): method teardown_method (line 57) | def teardown_method(self, method): class TestcaseBase (line 124) | class TestcaseBase(Base): method _connect (line 130) | def _connect(self, enable_milvus_client_api=False, enable_milvus_local... method init_collection_wrap (line 163) | def init_collection_wrap(self, name=None, schema=None, check_task=None... method init_multi_fields_collection_wrap (line 177) | def init_multi_fields_collection_wrap(self, name=cf.gen_unique_str()): method init_partition_wrap (line 186) | def init_partition_wrap(self, collection_wrap=None, name=None, descrip... method insert_data_general (line 197) | def insert_data_general(self, prefix="test", insert_data=False, nb=ct.... method init_collection_general (line 239) | def init_collection_general(self, prefix="test", insert_data=False, nb... method insert_entities_into_two_partitions_in_half (line 321) | def insert_entities_into_two_partitions_in_half(self, half, prefix='qu... method collection_insert_multi_segments_one_shard (line 342) | def collection_insert_multi_segments_one_shard(self, collection_prefix... method init_resource_group (line 361) | def init_resource_group(self, name, using="default", timeout=None, che... method init_user_with_privilege (line 372) | def init_user_with_privilege(self, privilege_object, object_name, priv... FILE: tests/base/collection_wrapper.py class ApiCollectionWrapper (line 24) | class ApiCollectionWrapper: method __init__ (line 27) | def __init__(self, active_trace=False): method init_collection (line 30) | def init_collection(self, name, schema=None, using="default", check_ta... method schema (line 45) | def schema(self): method description (line 49) | def description(self): method name (line 53) | def name(self): method is_empty (line 57) | def is_empty(self): method num_entities (line 62) | def num_entities(self): method num_shards (line 67) | def num_shards(self): method num_entities_without_flush (line 71) | def num_entities_without_flush(self): method primary_field (line 75) | def primary_field(self): method aliases (line 79) | def aliases(self): method construct_from_dataframe (line 83) | def construct_from_dataframe(self, name, dataframe, check_task=None, c... method drop (line 92) | def drop(self, check_task=None, check_items=None, **kwargs): method load (line 102) | def load(self, partition_names=None, replica_number=NaN, timeout=None,... method release (line 113) | def release(self, check_task=None, check_items=None, **kwargs): method insert (line 124) | def insert(self, data, partition_name=None, check_task=None, check_ite... method flush (line 153) | def flush(self, check_task=None, check_items=None, **kwargs): method search (line 164) | def search(self, data, anns_field, param, limit, expr=None, method hybrid_search (line 180) | def hybrid_search(self, reqs, rerank, limit, method search_iterator (line 195) | def search_iterator(self, data, anns_field, param, batch_size, limit=-... method query (line 211) | def query(self, expr, output_fields=None, partition_names=None, timeou... method query_iterator (line 225) | def query_iterator(self, batch_size=1000, limit=-1, expr=None, output_... method partitions (line 240) | def partitions(self): method partition (line 244) | def partition(self, partition_name, check_task=None, check_items=None): method has_partition (line 252) | def has_partition(self, partition_name, check_task=None, check_items=N... method drop_partition (line 260) | def drop_partition(self, partition_name, check_task=None, check_items=... method create_partition (line 271) | def create_partition(self, partition_name, check_task=None, check_item... method indexes (line 279) | def indexes(self): method index (line 283) | def index(self, check_task=None, check_items=None): method create_index (line 290) | def create_index(self, field_name, index_params=None, index_name=None,... method has_index (line 301) | def has_index(self, index_name=None, check_task=None, check_items=None... method drop_index (line 312) | def drop_index(self, index_name=None, check_task=None, check_items=Non... method delete (line 324) | def delete(self, expr, partition_name=None, timeout=None, check_task=N... method upsert (line 332) | def upsert(self, data, partition_name=None, timeout=None, check_task=N... method compact (line 340) | def compact(self, timeout=None, check_task=None, check_items=None, **k... method get_compaction_state (line 348) | def get_compaction_state(self, timeout=None, check_task=None, check_it... method get_compaction_plans (line 356) | def get_compaction_plans(self, timeout=None, check_task=None, check_it... method wait_for_compaction_completed (line 363) | def wait_for_compaction_completed(self, timeout=None, **kwargs): method get_replicas (line 370) | def get_replicas(self, timeout=None, check_task=None, check_items=None... method describe (line 378) | def describe(self, timeout=None, check_task=None, check_items=None): method alter_index (line 386) | def alter_index(self, index_name, extra_params={}, timeout=None, chec... method set_properties (line 394) | def set_properties(self, extra_params={}, timeout=None, check_task=No... FILE: tests/base/connections_wrapper.py class ApiConnectionsWrapper (line 11) | class ApiConnectionsWrapper: method __init__ (line 12) | def __init__(self): method add_connection (line 15) | def add_connection(self, check_task=None, check_items=None, **kwargs): method disconnect (line 21) | def disconnect(self, alias, check_task=None, check_items=None): method remove_connection (line 27) | def remove_connection(self, alias, check_task=None, check_items=None): method connect (line 33) | def connect(self, alias=DefaultConfig.DEFAULT_USING, user="", password... method has_connection (line 41) | def has_connection(self, alias=DefaultConfig.DEFAULT_USING, check_task... method list_connections (line 53) | def list_connections(self, check_task=None, check_items=None): method get_connection_addr (line 59) | def get_connection_addr(self, alias, check_task=None, check_items=None): method MilvusClient (line 66) | def MilvusClient(self, check_task=None, check_items=None, **kwargs): FILE: tests/base/database_wrapper.py class ApiDatabaseWrapper (line 9) | class ApiDatabaseWrapper: method create_database (line 13) | def create_database(self, db_name, using="default", timeout=None, chec... method using_database (line 19) | def using_database(self, db_name, using="default", check_task=None, ch... method drop_database (line 25) | def drop_database(self, db_name, using="default", timeout=None, check_... method list_database (line 31) | def list_database(self, using="default", timeout=None, check_task=None... FILE: tests/base/high_level_api_wrapper.py class HighLevelApiWrapper (line 25) | class HighLevelApiWrapper: method __init__ (line 29) | def __init__(self, active_trace=False): method init_milvus_client (line 32) | def init_milvus_client(self, uri, user="", password="", db_name="", to... method init_collection (line 44) | def init_collection(self, name, schema=None, using="default", check_ta... method create_schema (line 60) | def create_schema(self, client, timeout=None, check_task=None, method create_collection (line 72) | def create_collection(self, client, collection_name, dimension, timeou... method has_collection (line 84) | def has_collection(self, client, collection_name, timeout=None, check_... method insert (line 97) | def insert(self, client, collection_name, data, timeout=None, check_ta... method upsert (line 109) | def upsert(self, client, collection_name, data, timeout=None, check_ta... method search (line 121) | def search(self, client, collection_name, data, limit=10, filter=None,... method query (line 135) | def query(self, client, collection_name, timeout=None, check_task=None... method get (line 147) | def get(self, client, collection_name, ids, output_fields=None, method num_entities (line 161) | def num_entities(self, client, collection_name, timeout=None, check_ta... method delete (line 173) | def delete(self, client, collection_name, timeout=None, check_task=Non... method flush (line 185) | def flush(self, client, collection_name, timeout=None, check_task=None... method describe_collection (line 197) | def describe_collection(self, client, collection_name, timeout=None, c... method list_collections (line 209) | def list_collections(self, client, timeout=None, check_task=None, chec... method drop_collection (line 220) | def drop_collection(self, client, collection_name, check_task=None, ch... method list_partitions (line 229) | def list_partitions(self, client, collection_name, check_task=None, ch... method list_indexes (line 238) | def list_indexes(self, client, collection_name, check_task=None, check... method get_load_state (line 247) | def get_load_state(self, client, collection_name, check_task=None, che... method prepare_index_params (line 256) | def prepare_index_params(self, client, timeout=None, check_task=None, ... method load_collection (line 267) | def load_collection(self, client, collection_name, timeout=None, check... method release_collection (line 279) | def release_collection(self, client, collection_name, timeout=None, ch... method load_partitions (line 291) | def load_partitions(self, client, collection_name, partition_names, ti... method release_partitions (line 305) | def release_partitions(self, client, collection_name, partition_names,... method rename_collection (line 319) | def rename_collection(self, client, old_name, new_name, timeout=None, ... method use_database (line 333) | def use_database(self, client, db_name, timeout=None, check_task=None,... method create_partition (line 346) | def create_partition(self, client, collection_name, partition_name, ti... method list_partitions (line 360) | def list_partitions(self, client, collection_name, timeout=None, check... method drop_partition (line 373) | def drop_partition(self, client, collection_name, partition_name, time... method has_partition (line 387) | def has_partition(self, client, collection_name, partition_name, timeo... method get_partition_stats (line 401) | def get_partition_stats(self, client, collection_name, partition_name,... method prepare_index_params (line 415) | def prepare_index_params(self, client, check_task=None, check_items=No... method create_index (line 425) | def create_index(self, client, collection_name, index_params, timeout=... method drop_index (line 439) | def drop_index(self, client, collection_name, index_name, timeout=None... method describe_index (line 453) | def describe_index(self, client, collection_name, index_name, timeout=... method list_indexes (line 467) | def list_indexes(self, client, collection_name, timeout=None, check_ta... method create_alias (line 480) | def create_alias(self, client, collection_name, alias, timeout=None, c... method drop_alias (line 494) | def drop_alias(self, client, alias, timeout=None, check_task=None, che... method alter_alias (line 507) | def alter_alias(self, client, collection_name, alias, timeout=None, ch... method describe_alias (line 521) | def describe_alias(self, client, alias, timeout=None, check_task=None,... method list_aliases (line 534) | def list_aliases(self, client, collection_name, timeout=None, check_ta... method using_database (line 546) | def using_database(self, client, db_name, timeout=None, check_task=Non... method create_user (line 558) | def create_user(self, user_name, password, timeout=None, check_task=No... method drop_user (line 569) | def drop_user(self, user_name, timeout=None, check_task=None, check_it... method update_password (line 579) | def update_password(self, user_name, old_password, new_password, reset... method list_users (line 593) | def list_users(self, timeout=None, check_task=None, check_items=None, ... method describe_user (line 603) | def describe_user(self, user_name, timeout=None, check_task=None, chec... method create_role (line 613) | def create_role(self, role_name, timeout=None, check_task=None, check_... method drop_role (line 623) | def drop_role(self, role_name, timeout=None, check_task=None, check_it... method describe_role (line 633) | def describe_role(self, role_name, timeout=None, check_task=None, chec... method list_roles (line 643) | def list_roles(self, timeout=None, check_task=None, check_items=None, ... method grant_role (line 653) | def grant_role(self, user_name, role_name, timeout=None, check_task=No... method revoke_role (line 663) | def revoke_role(self, user_name, role_name, timeout=None, check_task=N... method grant_privilege (line 673) | def grant_privilege(self, role_name, object_type, privilege, object_na... method revoke_privilege (line 686) | def revoke_privilege(self, role_name, object_type, privilege, object_n... method hybrid_search (line 699) | def hybrid_search(self, client, reqs, rerank, limit, FILE: tests/base/index_wrapper.py class ApiIndexWrapper (line 12) | class ApiIndexWrapper: method init_index (line 15) | def init_index(self, collection, field_name, index_params, index_name=... method drop (line 32) | def drop(self, index_name=None, check_task=None, check_items=None, **k... method params (line 44) | def params(self): method collection_name (line 48) | def collection_name(self): method field_name (line 52) | def field_name(self): FILE: tests/base/partition_wrapper.py class ApiPartitionWrapper (line 15) | class ApiPartitionWrapper: method init_partition (line 18) | def init_partition(self, collection, name, description="", method description (line 29) | def description(self): method name (line 33) | def name(self): method is_empty (line 37) | def is_empty(self): method num_entities (line 42) | def num_entities(self): method drop (line 46) | def drop(self, check_task=None, check_items=None, **kwargs): method load (line 56) | def load(self, replica_number=NaN, timeout=None, check_task=None, chec... method release (line 67) | def release(self, check_task=None, check_items=None, **kwargs): method flush (line 78) | def flush(self, check_task=None, check_items=None, **kwargs): method insert (line 89) | def insert(self, data, check_task=None, check_items=None, **kwargs): method search (line 100) | def search(self, data, anns_field, params, limit, expr=None, output_fi... method query (line 114) | def query(self, expr, output_fields=None, timeout=None, check_task=Non... method delete (line 124) | def delete(self, expr, check_task=None, check_items=None, **kwargs): method upsert (line 135) | def upsert(self, data, check_task=None, check_items=None, **kwargs): method get_replicas (line 146) | def get_replicas(self, timeout=None, check_task=None, check_items=None... FILE: tests/base/schema_wrapper.py class ApiCollectionSchemaWrapper (line 9) | class ApiCollectionSchemaWrapper: method init_collection_schema (line 12) | def init_collection_schema(self, fields, description="", check_task=No... method primary_field (line 22) | def primary_field(self): method partition_key_field (line 26) | def partition_key_field(self): method fields (line 30) | def fields(self): method description (line 34) | def description(self): method auto_id (line 38) | def auto_id(self): method enable_dynamic_field (line 42) | def enable_dynamic_field(self): method to_dict (line 46) | def to_dict(self): method verify (line 50) | def verify(self): method add_field (line 53) | def add_field(self, field_name, datatype, check_task=None, check_items... class ApiFieldSchemaWrapper (line 61) | class ApiFieldSchemaWrapper: method init_field_schema (line 64) | def init_field_schema(self, name, dtype, description="", check_task=No... method description (line 74) | def description(self): method params (line 78) | def params(self): method dtype (line 82) | def dtype(self): FILE: tests/base/utility_wrapper.py class ApiUtilityWrapper (line 16) | class ApiUtilityWrapper: method do_bulk_insert (line 22) | def do_bulk_insert(self, collection_name, files="", partition_name=Non... method get_bulk_insert_state (line 37) | def get_bulk_insert_state(self, task_id, timeout=None, using="default"... method list_bulk_insert_tasks (line 45) | def list_bulk_insert_tasks(self, limit=0, collection_name=None, timeou... method get_bulk_insert_pending_list (line 53) | def get_bulk_insert_pending_list(self): method get_bulk_insert_working_list (line 60) | def get_bulk_insert_working_list(self): method list_all_bulk_insert_tasks (line 67) | def list_all_bulk_insert_tasks(self, limit=0): method wait_for_bulk_insert_tasks_completed (line 97) | def wait_for_bulk_insert_tasks_completed(self, task_ids, target_state=... method wait_all_pending_tasks_finished (line 158) | def wait_all_pending_tasks_finished(self): method wait_index_build_completed (line 191) | def wait_index_build_completed(self, collection_name, timeout=None): method get_query_segment_info (line 209) | def get_query_segment_info(self, collection_name, timeout=None, using=... method loading_progress (line 217) | def loading_progress(self, collection_name, partition_names=None, method load_state (line 226) | def load_state(self, collection_name, partition_names=None, using="def... method wait_for_loading_complete (line 234) | def wait_for_loading_complete(self, collection_name, partition_names=N... method index_building_progress (line 246) | def index_building_progress(self, collection_name, index_name="", usin... method wait_for_index_building_complete (line 255) | def wait_for_index_building_complete(self, collection_name, index_name... method has_collection (line 267) | def has_collection(self, collection_name, using="default", check_task=... method has_partition (line 274) | def has_partition(self, collection_name, partition_name, using="default", method drop_collection (line 283) | def drop_collection(self, collection_name, timeout=None, using="defaul... method list_collections (line 291) | def list_collections(self, timeout=None, using="default", check_task=N... method calc_distance (line 300) | def calc_distance(self, vectors_left, vectors_right, params=None, time... method load_balance (line 311) | def load_balance(self, collection_name, src_node_id, dst_node_ids, sea... method create_alias (line 322) | def create_alias(self, collection_name, alias, timeout=None, using="de... method drop_alias (line 330) | def drop_alias(self, alias, timeout=None, using="default", check_task=... method alter_alias (line 338) | def alter_alias(self, collection_name, alias, timeout=None, using="def... method list_aliases (line 346) | def list_aliases(self, collection_name, timeout=None, using="default",... method mkts_from_datetime (line 354) | def mkts_from_datetime(self, d_time=None, milliseconds=0., delta=None): method mkts_from_hybridts (line 359) | def mkts_from_hybridts(self, hybridts, milliseconds=0., delta=None): method create_user (line 363) | def create_user(self, user, password, using="default", check_task=None... method list_usernames (line 369) | def list_usernames(self, using="default", check_task=None, check_items... method reset_password (line 376) | def reset_password(self, user, old_password, new_password, check_task=... method update_password (line 382) | def update_password(self, user, old_password, new_password, check_task... method delete_user (line 388) | def delete_user(self, user, using="default", check_task=None, check_it... method list_roles (line 395) | def list_roles(self, include_user_info: bool, using="default", check_t... method list_user (line 401) | def list_user(self, username: str, include_role_info: bool, using="def... method list_users (line 407) | def list_users(self, include_role_info: bool, using="default", check_t... method init_role (line 413) | def init_role(self, name, using="default", check_task=None, check_item... method create_role (line 421) | def create_role(self, check_task=None, check_items=None, **kwargs): method role_drop (line 428) | def role_drop(self, check_task=None, check_items=None, **kwargs): method role_is_exist (line 434) | def role_is_exist(self, check_task=None, check_items=None, **kwargs): method role_add_user (line 440) | def role_add_user(self, username: str, check_task=None, check_items=No... method role_remove_user (line 446) | def role_remove_user(self, username: str, check_task=None, check_items... method role_get_users (line 452) | def role_get_users(self, check_task=None, check_items=None, **kwargs): method role_name (line 459) | def role_name(self): method role_grant (line 462) | def role_grant(self, object: str, object_name: str, privilege: str, db... method role_revoke (line 468) | def role_revoke(self, object: str, object_name: str, privilege: str, d... method role_list_grant (line 474) | def role_list_grant(self, object: str, object_name: str, db_name: str ... method role_list_grants (line 480) | def role_list_grants(self, db_name: str = "", check_task=None, check_i... method create_resource_group (line 486) | def create_resource_group(self, name, using="default", timeout=None, c... method drop_resource_group (line 492) | def drop_resource_group(self, name, using="default", timeout=None, che... method list_resource_groups (line 498) | def list_resource_groups(self, using="default", timeout=None, check_ta... method describe_resource_group (line 504) | def describe_resource_group(self, name, using="default", timeout=None,... method transfer_node (line 510) | def transfer_node(self, source, target, num_node, using="default", tim... method transfer_replica (line 517) | def transfer_replica(self, source, target, collection_name, num_replic... method rename_collection (line 525) | def rename_collection(self, old_collection_name, new_collection_name, ... method flush_all (line 535) | def flush_all(self, using="default", timeout=None, check_task=None, ch... method get_server_type (line 542) | def get_server_type(self, using="default", check_task=None, check_item... method list_indexes (line 549) | def list_indexes(self, collection_name, using="default", timeout=None,... FILE: tests/check/func_check.py class ResponseChecker (line 14) | class ResponseChecker: method __init__ (line 15) | def __init__(self, response, func_name, check_task, check_items, is_su... method run (line 27) | def run(self): method assert_succ (line 111) | def assert_succ(self, actual, expect): method assert_exception (line 115) | def assert_exception(self, res, actual=True, error_dict=None): method check_value_equal (line 133) | def check_value_equal(res, func_name, params): method check_collection_property (line 165) | def check_collection_property(res, func_name, check_items): method check_describe_collection_property (line 203) | def check_describe_collection_property(res, func_name, check_items): method check_partition_property (line 239) | def check_partition_property(partition, func_name, check_items): method check_rg_property (line 258) | def check_rg_property(rg, func_name, check_items): method check_search_results (line 281) | def check_search_results(search_res, func_name, check_items): method check_search_iterator (line 354) | def check_search_iterator(search_res, func_name, check_items): method check_query_results (line 394) | def check_query_results(query_res, func_name, check_items): method check_query_iterator (line 429) | def check_query_iterator(query_res, func_name, check_items): method check_query_empty (line 463) | def check_query_empty(query_res, func_name): method check_query_not_empty (line 480) | def check_query_not_empty(query_res, func_name): method check_distance (line 497) | def check_distance(distance_res, func_name, check_items): method check_delete_compact_plan (line 515) | def check_delete_compact_plan(compaction_plans, func_name, check_items): method check_merge_compact_plan (line 542) | def check_merge_compact_plan(compaction_plans, func_name, check_items): method check_role_property (line 568) | def check_role_property(role, func_name, check_items): method check_permission_deny (line 581) | def check_permission_deny(res, actual=True): method check_auth_failure (line 591) | def check_auth_failure(res, actual=True): FILE: tests/check/param_check.py function ip_check (line 9) | def ip_check(ip): function number_check (line 20) | def number_check(num): function exist_check (line 29) | def exist_check(param, _list): function dict_equal_check (line 38) | def dict_equal_check(dict1, dict2): function list_de_duplication (line 45) | def list_de_duplication(_list): function list_equal_check (line 61) | def list_equal_check(param1, param2): function list_contain_check (line 84) | def list_contain_check(sublist, superlist): function get_connect_object_name (line 104) | def get_connect_object_name(_list): function equal_entity (line 132) | def equal_entity(exp, actual): function entity_in (line 151) | def entity_in(entity, entities, primary_field): function remove_entity (line 173) | def remove_entity(entity, entities, primary_field): function equal_entities_list (line 194) | def equal_entities_list(exp, actual, primary_field, with_vec=False): function output_field_value_check (line 229) | def output_field_value_check(search_res, original): FILE: tests/common/bulk_insert_data.py class DataField (line 22) | class DataField: class DataErrorType (line 43) | class DataErrorType: function gen_file_prefix (line 55) | def gen_file_prefix(is_row_based=True, auto_id=True, prefix=""): function entity_suffix (line 68) | def entity_suffix(rows): function gen_float_vectors (line 78) | def gen_float_vectors(nb, dim): function gen_str_invalid_vectors (line 84) | def gen_str_invalid_vectors(nb, dim): function gen_binary_vectors (line 89) | def gen_binary_vectors(nb, dim): function gen_fp16_vectors (line 96) | def gen_fp16_vectors(num, dim): function gen_bf16_vectors (line 114) | def gen_bf16_vectors(num, dim): function gen_row_based_json_file (line 132) | def gen_row_based_json_file(row_file, str_pk, data_fields, float_vect, function gen_column_base_json_file (line 256) | def gen_column_base_json_file(col_file, str_pk, data_fields, float_vect, function gen_vectors_in_numpy_file (line 353) | def gen_vectors_in_numpy_file(dir, data_field, float_vector, rows, dim, ... function gen_string_in_numpy_file (line 381) | def gen_string_in_numpy_file(dir, data_field, rows, start=0, force=False): function gen_dynamic_field_in_numpy_file (line 396) | def gen_dynamic_field_in_numpy_file(dir, rows, start=0, force=False): function gen_bool_in_numpy_file (line 410) | def gen_bool_in_numpy_file(dir, data_field, rows, start=0, force=False): function gen_json_in_numpy_file (line 425) | def gen_json_in_numpy_file(dir, data_field, rows, start=0, force=False): function gen_int_or_float_in_numpy_file (line 438) | def gen_int_or_float_in_numpy_file(dir, data_field, rows, start=0, force... function gen_vectors (line 460) | def gen_vectors(float_vector, rows, dim): function gen_data_by_data_field (line 470) | def gen_data_by_data_field(data_field, rows, start=0, float_vector=True,... function gen_file_name (line 526) | def gen_file_name(is_row_based, rows, dim, auto_id, str_pk, function gen_subfolder (line 550) | def gen_subfolder(root, dim, rows, file_num): function gen_json_files (line 559) | def gen_json_files(is_row_based, rows, dim, auto_id, str_pk, function gen_dict_data_by_data_field (line 593) | def gen_dict_data_by_data_field(data_fields, rows, start=0, float_vector... function gen_new_json_files (line 644) | def gen_new_json_files(float_vector, rows, dim, data_fields, file_nums=1... function gen_npy_files (line 677) | def gen_npy_files(float_vector, rows, dim, data_fields, file_size=None, ... function gen_dynamic_field_data_in_parquet_file (line 752) | def gen_dynamic_field_data_in_parquet_file(rows, start=0): function gen_parquet_files (line 759) | def gen_parquet_files(float_vector, rows, dim, data_fields, file_size=No... function prepare_bulk_insert_json_files (line 820) | def prepare_bulk_insert_json_files(minio_endpoint="", bucket_name="milvu... function prepare_bulk_insert_new_json_files (line 893) | def prepare_bulk_insert_new_json_files(minio_endpoint="", bucket_name="m... function prepare_bulk_insert_numpy_files (line 905) | def prepare_bulk_insert_numpy_files(minio_endpoint="", bucket_name="milv... function prepare_bulk_insert_parquet_files (line 944) | def prepare_bulk_insert_parquet_files(minio_endpoint="", bucket_name="mi... function gen_csv_file (line 982) | def gen_csv_file(file, float_vector, data_fields, rows, dim, start_uid): function gen_csv_files (line 1013) | def gen_csv_files(rows, dim, auto_id, float_vector, data_fields, file_nu... function prepare_bulk_insert_csv_files (line 1028) | def prepare_bulk_insert_csv_files(minio_endpoint="", bucket_name="milvus... FILE: tests/common/code_mapping.py class ErrorCode (line 5) | class ErrorCode(Enum): class ErrorMap (line 14) | class ErrorMap: method __init__ (line 15) | def __init__(self, err_code, err_msg): class ConnectionErrorMessage (line 20) | class ConnectionErrorMessage(ExceptionsMessage): class CollectionErrorMessage (line 25) | class CollectionErrorMessage(ExceptionsMessage): class PartitionErrorMessage (line 29) | class PartitionErrorMessage(ExceptionsMessage): class IndexErrorMessage (line 33) | class IndexErrorMessage(ExceptionsMessage): FILE: tests/common/common_func.py function to_serializable (line 29) | def to_serializable(val): function ts_float32 (line 35) | def ts_float32(val): class ParamInfo (line 40) | class ParamInfo: method __init__ (line 41) | def __init__(self): method prepare_param_info (line 52) | def prepare_param_info(self, host, port, handler, replica_num, user, p... function gen_unique_str (line 67) | def gen_unique_str(str_value=None): function gen_str_by_length (line 72) | def gen_str_by_length(length=8, letters_only=False): function gen_digits_by_length (line 78) | def gen_digits_by_length(length=8): function gen_bool_field (line 82) | def gen_bool_field(name=ct.default_bool_field_name, description=ct.defau... function gen_string_field (line 88) | def gen_string_field(name=ct.default_string_field_name, description=ct.d... function gen_json_field (line 96) | def gen_json_field(name=ct.default_json_field_name, description=ct.defau... function gen_array_field (line 102) | def gen_array_field(name=ct.default_array_field_name, element_type=DataT... function gen_int8_field (line 111) | def gen_int8_field(name=ct.default_int8_field_name, description=ct.defau... function gen_int16_field (line 117) | def gen_int16_field(name=ct.default_int16_field_name, description=ct.def... function gen_int32_field (line 123) | def gen_int32_field(name=ct.default_int32_field_name, description=ct.def... function gen_int64_field (line 129) | def gen_int64_field(name=ct.default_int64_field_name, description=ct.def... function gen_float_field (line 135) | def gen_float_field(name=ct.default_float_field_name, is_primary=False, ... function gen_double_field (line 141) | def gen_double_field(name=ct.default_double_field_name, is_primary=False... function gen_float_vec_field (line 147) | def gen_float_vec_field(name=ct.default_float_vec_field_name, is_primary... function gen_binary_vec_field (line 167) | def gen_binary_vec_field(name=ct.default_binary_vec_field_name, is_prima... function gen_float16_vec_field (line 175) | def gen_float16_vec_field(name=ct.default_float_vec_field_name, is_prima... function gen_bfloat16_vec_field (line 183) | def gen_bfloat16_vec_field(name=ct.default_float_vec_field_name, is_prim... function gen_sparse_vec_field (line 191) | def gen_sparse_vec_field(name=ct.default_sparse_vec_field_name, is_prima... function gen_default_collection_schema (line 198) | def gen_default_collection_schema(description=ct.default_desc, primary_f... function gen_all_datatype_collection_schema (line 241) | def gen_all_datatype_collection_schema(description=ct.default_desc, prim... function gen_array_collection_schema (line 263) | def gen_array_collection_schema(description=ct.default_desc, primary_fie... function gen_bulk_insert_collection_schema (line 291) | def gen_bulk_insert_collection_schema(description=ct.default_desc, prima... function gen_general_collection_schema (line 314) | def gen_general_collection_schema(description=ct.default_desc, primary_f... function gen_string_pk_default_collection_schema (line 325) | def gen_string_pk_default_collection_schema(description=ct.default_desc,... function gen_json_default_collection_schema (line 333) | def gen_json_default_collection_schema(description=ct.default_desc, prim... function gen_multiple_json_default_collection_schema (line 341) | def gen_multiple_json_default_collection_schema(description=ct.default_d... function gen_collection_schema_all_datatype (line 350) | def gen_collection_schema_all_datatype(description=ct.default_desc, function gen_collection_schema (line 378) | def gen_collection_schema(fields, primary_field=None, description=ct.def... function gen_default_binary_collection_schema (line 384) | def gen_default_binary_collection_schema(description=ct.default_desc, pr... function gen_default_sparse_schema (line 393) | def gen_default_sparse_schema(description=ct.default_desc, primary_field... function gen_schema_multi_vector_fields (line 411) | def gen_schema_multi_vector_fields(vec_fields): function gen_schema_multi_string_fields (line 420) | def gen_schema_multi_string_fields(string_fields): function gen_vectors (line 429) | def gen_vectors(nb, dim, vector_data_type="FLOAT_VECTOR"): function gen_string (line 447) | def gen_string(nb): function gen_binary_vectors (line 452) | def gen_binary_vectors(num, dim): function gen_default_dataframe_data (line 463) | def gen_default_dataframe_data(nb=ct.default_nb, dim=ct.default_dim, sta... function gen_general_default_list_data (line 501) | def gen_general_default_list_data(nb=ct.default_nb, dim=ct.default_dim, ... function gen_default_rows_data (line 538) | def gen_default_rows_data(nb=ct.default_nb, dim=ct.default_dim, start=0,... function gen_json_data_for_diff_json_types (line 566) | def gen_json_data_for_diff_json_types(nb=ct.default_nb, start=0, json_ty... function gen_default_data_for_upsert (line 591) | def gen_default_data_for_upsert(nb=ct.default_nb, dim=ct.default_dim, st... function gen_array_dataframe_data (line 607) | def gen_array_dataframe_data(nb=ct.default_nb, dim=ct.default_dim, start... function gen_dataframe_multi_vec_fields (line 636) | def gen_dataframe_multi_vec_fields(vec_fields, nb=ct.default_nb): function gen_dataframe_multi_string_fields (line 662) | def gen_dataframe_multi_string_fields(string_fields, nb=ct.default_nb): function gen_dataframe_all_data_type (line 685) | def gen_dataframe_all_data_type(nb=ct.default_nb, dim=ct.default_dim, st... function gen_general_list_all_data_type (line 732) | def gen_general_list_all_data_type(nb=ct.default_nb, dim=ct.default_dim,... function gen_default_rows_data_all_data_type (line 772) | def gen_default_rows_data_all_data_type(nb=ct.default_nb, dim=ct.default... function gen_default_binary_dataframe_data (line 810) | def gen_default_binary_dataframe_data(nb=ct.default_nb, dim=ct.default_d... function gen_default_list_data (line 831) | def gen_default_list_data(nb=ct.default_nb, dim=ct.default_dim, start=0,... function gen_default_list_sparse_data (line 845) | def gen_default_list_sparse_data(nb=ct.default_nb, dim=ct.default_dim, s... function gen_default_list_data_for_bulk_insert (line 859) | def gen_default_list_data_for_bulk_insert(nb=ct.default_nb, varchar_len=... function prepare_bulk_insert_data (line 873) | def prepare_bulk_insert_data(schema=None, function get_column_data_by_schema (line 904) | def get_column_data_by_schema(nb=ct.default_nb, schema=None, skip_vector... function get_row_data_by_schema (line 922) | def get_row_data_by_schema(nb=ct.default_nb, schema=None): function get_fields_map (line 939) | def get_fields_map(schema=None): function get_int64_field_name (line 949) | def get_int64_field_name(schema=None): function get_float_field_name (line 959) | def get_float_field_name(schema=None): function get_float_vec_field_name (line 969) | def get_float_vec_field_name(schema=None): function get_float_vec_field_name_list (line 979) | def get_float_vec_field_name_list(schema=None): function get_scalar_field_name_list (line 990) | def get_scalar_field_name_list(schema=None): function get_binary_vec_field_name (line 1002) | def get_binary_vec_field_name(schema=None): function get_binary_vec_field_name_list (line 1012) | def get_binary_vec_field_name_list(schema=None): function get_dim_by_schema (line 1023) | def get_dim_by_schema(schema=None): function gen_data_by_type (line 1034) | def gen_data_by_type(field, nb=None, start=None): function gen_json_files_for_bulk_insert (line 1142) | def gen_json_files_for_bulk_insert(data, schema, data_dir): function gen_npy_files_for_bulk_insert (line 1181) | def gen_npy_files_for_bulk_insert(data, schema, data_dir): function gen_default_tuple_data (line 1215) | def gen_default_tuple_data(nb=ct.default_nb, dim=ct.default_dim): function gen_numpy_data (line 1224) | def gen_numpy_data(nb=ct.default_nb, dim=ct.default_dim): function gen_default_binary_list_data (line 1235) | def gen_default_binary_list_data(nb=ct.default_nb, dim=ct.default_dim): function gen_simple_index (line 1245) | def gen_simple_index(): function gen_autoindex_params (line 1257) | def gen_autoindex_params(): function gen_invalid_field_types (line 1274) | def gen_invalid_field_types(): function gen_invalid_search_params_type (line 1287) | def gen_invalid_search_params_type(): function gen_search_param (line 1321) | def gen_search_param(index_type, metric_type="L2"): function gen_autoindex_search_params (line 1363) | def gen_autoindex_search_params(): function gen_invalid_search_param (line 1374) | def gen_invalid_search_param(index_type, metric_type="L2"): function gen_all_type_fields (line 1403) | def gen_all_type_fields(): function gen_normal_expressions (line 1412) | def gen_normal_expressions(): function gen_json_field_expressions (line 1429) | def gen_json_field_expressions(): function gen_array_field_expressions (line 1444) | def gen_array_field_expressions(): function gen_field_compare_expressions (line 1459) | def gen_field_compare_expressions(fields1=None, fields2=None): function gen_normal_string_expressions (line 1477) | def gen_normal_string_expressions(fields=None): function gen_invalid_string_expressions (line 1496) | def gen_invalid_string_expressions(): function gen_invalid_bool_expressions (line 1504) | def gen_invalid_bool_expressions(): function gen_normal_expressions_field (line 1516) | def gen_normal_expressions_field(field): function gen_integer_overflow_expressions (line 1537) | def gen_integer_overflow_expressions(): function l2 (line 1553) | def l2(x, y): function ip (line 1557) | def ip(x, y): function cosine (line 1561) | def cosine(x, y): function jaccard (line 1565) | def jaccard(x, y): function hamming (line 1571) | def hamming(x, y): function tanimoto (line 1577) | def tanimoto(x, y): function tanimoto_calc (line 1588) | def tanimoto_calc(x, y): function substructure (line 1594) | def substructure(x, y): function superstructure (line 1600) | def superstructure(x, y): function compare_distance_2d_vector (line 1606) | def compare_distance_2d_vector(x, y, distance, metric, sqrt): function compare_distance_vector_and_vector_list (line 1628) | def compare_distance_vector_and_vector_list(x, y, metric, distance): function modify_file (line 1653) | def modify_file(file_path_list, is_modify=False, input_content=""): function index_to_dict (line 1681) | def index_to_dict(index): function get_index_params_params (line 1690) | def get_index_params_params(index_type): function get_search_params_params (line 1695) | def get_search_params_params(index_type): function assert_json_contains (line 1700) | def assert_json_contains(expr, list_data): function assert_equal_index (line 1729) | def assert_equal_index(index_1, index_2): function gen_partitions (line 1733) | def gen_partitions(collection_w, partition_num=1): function insert_data (line 1749) | def insert_data(collection_w, nb=ct.default_nb, is_binary=False, is_all_... function _check_primary_keys (line 1835) | def _check_primary_keys(primary_keys, nb): function get_segment_distribution (line 1845) | def get_segment_distribution(res): function percent_to_int (line 1859) | def percent_to_int(string): function gen_grant_list (line 1876) | def gen_grant_list(collection_name): function install_milvus_operator_specific_config (line 1904) | def install_milvus_operator_specific_config(namespace, milvus_mode, rele... function get_wildcard_output_field_names (line 1962) | def get_wildcard_output_field_names(collection_w, output_fields): function extract_vector_field_name_list (line 1971) | def extract_vector_field_name_list(collection_w): function get_activate_func_from_metric_type (line 1991) | def get_activate_func_from_metric_type(metric_type): function get_hybrid_search_base_results_rrf (line 2002) | def get_hybrid_search_base_results_rrf(search_res_dict_array, round_deci... function get_hybrid_search_base_results (line 2033) | def get_hybrid_search_base_results(search_res_dict_array, weights, metri... function gen_bf16_vectors (line 2067) | def gen_bf16_vectors(num, dim): function gen_fp16_vectors (line 2085) | def gen_fp16_vectors(num, dim): function gen_sparse_vectors (line 2103) | def gen_sparse_vectors(nb, dim): function gen_vectors_based_on_vector_type (line 2118) | def gen_vectors_based_on_vector_type(num, dim, vector_data_type): FILE: tests/common/common_type.py class CheckTasks (line 277) | class CheckTasks: class BulkLoadStates (line 301) | class BulkLoadStates: class CaseLabel (line 308) | class CaseLabel: FILE: tests/common/cus_resource_opts.py class CustomResourceOperations (line 15) | class CustomResourceOperations(object): method __init__ (line 16) | def __init__(self, kind, group=_GROUP, version=_VERSION, namespace=_NA... method create (line 33) | def create(self, body): method delete (line 46) | def delete(self, metadata_name, raise_ex=True): method patch (line 60) | def patch(self, metadata_name, body): method list_all (line 74) | def list_all(self): method get (line 87) | def get(self, metadata_name): method delete_all (line 100) | def delete_all(self): FILE: tests/common/milvus_sys.py class MilvusSys (line 11) | class MilvusSys: method __init__ (line 12) | def __init__(self, alias='default'): method build_version (line 27) | def build_version(self): method build_time (line 32) | def build_time(self): method deploy_mode (line 37) | def deploy_mode(self): method simd_type (line 42) | def simd_type(self): method query_nodes (line 52) | def query_nodes(self): method data_nodes (line 61) | def data_nodes(self): method index_nodes (line 70) | def index_nodes(self): method proxy_nodes (line 79) | def proxy_nodes(self): method nodes (line 88) | def nodes(self): method get_nodes_by_type (line 94) | def get_nodes_by_type(self, node_type=None): FILE: tests/common/minio_comm.py function copy_files_to_bucket (line 7) | def copy_files_to_bucket(client, r_source, target_files, bucket_name, fo... function copy_files_to_minio (line 31) | def copy_files_to_minio(host, r_source, files, bucket_name, access_key="... FILE: tests/config/log_config.py class LogConfig (line 4) | class LogConfig: method __init__ (line 5) | def __init__(self): method get_env_variable (line 13) | def get_env_variable(var="CI_LOG_PATH"): method create_path (line 25) | def create_path(log_path): method get_default_config (line 31) | def get_default_config(self): FILE: tests/conftest.py function pytest_addoption (line 21) | def pytest_addoption(parser): function host (line 57) | def host(request): function service (line 62) | def service(request): function port (line 67) | def port(request): function user (line 72) | def user(request): function password (line 77) | def password(request): function db_name (line 82) | def db_name(request): function secure (line 87) | def secure(request): function milvus_ns (line 92) | def milvus_ns(request): function http_port (line 97) | def http_port(request): function handler (line 102) | def handler(request): function tag (line 107) | def tag(request): function dry_run (line 112) | def dry_run(request): function connect_name (line 117) | def connect_name(request): function database_name (line 122) | def database_name(request): function partition_name (line 127) | def partition_name(request): function descriptions (line 132) | def descriptions(request): function collection_name (line 137) | def collection_name(request): function search_vectors (line 142) | def search_vectors(request): function index_param (line 147) | def index_param(request): function data (line 152) | def data(request): function clean_log (line 157) | def clean_log(request): function schema (line 162) | def schema(request): function err_msg (line 167) | def err_msg(request): function term_expr (line 172) | def term_expr(request): function check_content (line 177) | def check_content(request): function field_name (line 184) | def field_name(request): function minio_host (line 189) | def minio_host(request): function uri (line 194) | def uri(request): function token (line 199) | def token(request): function request_duration (line 204) | def request_duration(request): function enable_milvus_local_api (line 209) | def enable_milvus_local_api(request): function initialize_env (line 217) | def initialize_env(request): function get_invalid_string (line 245) | def get_invalid_string(request): function get_index_param (line 250) | def get_index_param(request): function get_invalid_collection_name (line 255) | def get_invalid_collection_name(request): function get_invalid_field_name (line 260) | def get_invalid_field_name(request): function get_invalid_index_type (line 265) | def get_invalid_index_type(request): function get_invalid_index_params (line 273) | def get_invalid_index_params(request): function get_invalid_partition_name (line 278) | def get_invalid_partition_name(request): function get_invalid_vector_dict (line 283) | def get_invalid_vector_dict(request): function pytest_configure (line 287) | def pytest_configure(config): function pytest_runtest_setup (line 294) | def pytest_runtest_setup(item): function pytest_runtestloop (line 305) | def pytest_runtestloop(session): function check_server_connection (line 326) | def check_server_connection(request): function connect (line 369) | def connect(request): function dis_connect (line 396) | def dis_connect(request): function args (line 410) | def args(request): function milvus (line 423) | def milvus(request): function collection (line 434) | def collection(request, connect): function id_collection (line 455) | def id_collection(request, connect): function binary_collection (line 475) | def binary_collection(request, connect): function binary_id_collection (line 496) | def binary_id_collection(request, connect): FILE: tests/customize/milvus_operator.py class MilvusOperator (line 18) | class MilvusOperator(object): method __init__ (line 19) | def __init__(self): method _update_configs (line 25) | def _update_configs(configs, template=None): method install (line 52) | def install(self, configs, template=None): method uninstall (line 69) | def uninstall(self, release_name, namespace='default', delete_depends=... method upgrade (line 95) | def upgrade(self, release_name, configs, namespace='default'): method wait_for_healthy (line 117) | def wait_for_healthy(self, release_name, namespace='default', timeout=... method endpoint (line 142) | def endpoint(self, release_name, namespace='default'): FILE: tests/customize/test_customize_segment_size.py function _install_milvus (line 18) | def _install_milvus(seg_size): class TestCustomizeSegmentSize (line 41) | class TestCustomizeSegmentSize: method teardown_method (line 43) | def teardown_method(self): method test_customize_segment_size (line 52) | def test_customize_segment_size(self, seg_size, seg_count): FILE: tests/customize/test_simd_compat.py function _install_milvus (line 25) | def _install_milvus(simd): class TestSimdCompatibility (line 47) | class TestSimdCompatibility: method teardown_method (line 49) | def teardown_method(self): method test_simd_compat_e2e (line 55) | def test_simd_compat_e2e(self, simd): FILE: tests/milvus_lite/test_milvus_lite_close.py class TestMilvusLocalCloseAPI (line 22) | class TestMilvusLocalCloseAPI(TestcaseBase): method auto_id (line 27) | def auto_id(self, request): method metric_type (line 31) | def metric_type(self, request): method scalar_index (line 35) | def scalar_index(self, request): method test_milvus_local_reconnect (line 39) | def test_milvus_local_reconnect(self, enable_milvus_local_api): method test_milvus_client_index_with_params (line 55) | def test_milvus_client_index_with_params(self, enable_milvus_local_api... class TestMilvusLocalCloseInvalid (line 97) | class TestMilvusLocalCloseInvalid(TestcaseBase): method test_milvus_local_close_multiple (line 100) | def test_milvus_local_close_multiple(self, enable_milvus_local_api): FILE: tests/milvus_lite/test_milvus_lite_collection.py class TestMilvusClientCollectionInvalid (line 50) | class TestMilvusClientCollectionInvalid(TestcaseBase): method auto_id (line 54) | def auto_id(self, request): method metric_type (line 58) | def metric_type(self, request): method test_milvus_client_collection_invalid_collection_name (line 69) | def test_milvus_client_collection_invalid_collection_name(self, enable... method test_milvus_client_collection_name_over_max_length (line 83) | def test_milvus_client_collection_name_over_max_length(self, enable_mi... method test_milvus_client_collection_name_empty (line 99) | def test_milvus_client_collection_name_empty(self, enable_milvus_local... method test_milvus_client_collection_invalid_dim (line 114) | def test_milvus_client_collection_invalid_dim(self, enable_milvus_loca... method test_milvus_client_collection_invalid_primary_field (line 129) | def test_milvus_client_collection_invalid_primary_field(self, enable_m... method test_milvus_client_collection_string_auto_id (line 143) | def test_milvus_client_collection_string_auto_id(self, enable_milvus_l... method test_milvus_client_create_same_collection_different_params (line 158) | def test_milvus_client_create_same_collection_different_params(self, e... method test_milvus_client_collection_invalid_metric_type (line 179) | def test_milvus_client_collection_invalid_metric_type(self, enable_mil... method test_milvus_client_collection_invalid_schema_field_name (line 194) | def test_milvus_client_collection_invalid_schema_field_name(self, enab... class TestMilvusClientCollectionValid (line 213) | class TestMilvusClientCollectionValid(TestcaseBase): method auto_id (line 217) | def auto_id(self, request): method metric_type (line 221) | def metric_type(self, request): method id_type (line 225) | def id_type(self, request): method test_milvus_client_collection_fast_creation_default (line 237) | def test_milvus_client_collection_fast_creation_default(self, enable_m... method test_milvus_client_collection_fast_creation_all_params (line 265) | def test_milvus_client_collection_fast_creation_all_params(self, enabl... method test_milvus_client_collection_self_creation_default (line 291) | def test_milvus_client_collection_self_creation_default(self, enable_m... method test_milvus_client_array_insert_search (line 324) | def test_milvus_client_array_insert_search(self, enable_milvus_local_a... method test_milvus_client_search_query_string (line 357) | def test_milvus_client_search_query_string(self, enable_milvus_local_a... method test_milvus_client_search_different_metric_types_not_specifying_in_search_params (line 395) | def test_milvus_client_search_different_metric_types_not_specifying_in... method test_milvus_client_search_different_metric_types_specifying_in_search_params (line 426) | def test_milvus_client_search_different_metric_types_specifying_in_sea... method test_milvus_client_delete_with_ids (line 458) | def test_milvus_client_delete_with_ids(self, enable_milvus_local_api): method test_milvus_client_delete_with_filters (line 499) | def test_milvus_client_delete_with_filters(self, enable_milvus_local_a... method test_milvus_client_collection_rename_collection (line 540) | def test_milvus_client_collection_rename_collection(self, enable_milvu... method test_milvus_client_collection_rename_collection_target_db (line 576) | def test_milvus_client_collection_rename_collection_target_db(self, en... class TestMilvusClientDropCollectionInvalid (line 613) | class TestMilvusClientDropCollectionInvalid(TestcaseBase): method test_milvus_client_drop_collection_invalid_collection_name (line 624) | def test_milvus_client_drop_collection_invalid_collection_name(self, e... method test_milvus_client_drop_collection_not_existed (line 637) | def test_milvus_client_drop_collection_not_existed(self, enable_milvus... class TestMilvusClientReleaseCollectionInvalid (line 648) | class TestMilvusClientReleaseCollectionInvalid(TestcaseBase): method test_milvus_client_release_collection_invalid_collection_name (line 659) | def test_milvus_client_release_collection_invalid_collection_name(self... method test_milvus_client_release_collection_not_existed (line 672) | def test_milvus_client_release_collection_not_existed(self, enable_mil... method test_milvus_client_release_collection_name_over_max_length (line 686) | def test_milvus_client_release_collection_name_over_max_length(self, e... class TestMilvusClientReleaseCollectionValid (line 702) | class TestMilvusClientReleaseCollectionValid(TestcaseBase): method auto_id (line 706) | def auto_id(self, request): method metric_type (line 710) | def metric_type(self, request): method id_type (line 714) | def id_type(self, request): method test_milvus_client_release_unloaded_collection (line 724) | def test_milvus_client_release_unloaded_collection(self, enable_milvus... method test_milvus_client_load_partially_loaded_collection (line 740) | def test_milvus_client_load_partially_loaded_collection(self, enable_m... class TestMilvusClientLoadCollectionInvalid (line 761) | class TestMilvusClientLoadCollectionInvalid(TestcaseBase): method test_milvus_client_load_collection_invalid_collection_name (line 772) | def test_milvus_client_load_collection_invalid_collection_name(self, e... method test_milvus_client_load_collection_not_existed (line 785) | def test_milvus_client_load_collection_not_existed(self, enable_milvus... method test_milvus_client_load_collection_over_max_length (line 799) | def test_milvus_client_load_collection_over_max_length(self, enable_mi... method test_milvus_client_load_collection_without_index (line 814) | def test_milvus_client_load_collection_without_index(self, enable_milv... class TestMilvusClientLoadCollectionValid (line 833) | class TestMilvusClientLoadCollectionValid(TestcaseBase): method auto_id (line 837) | def auto_id(self, request): method metric_type (line 841) | def metric_type(self, request): method id_type (line 845) | def id_type(self, request): method test_milvus_client_load_loaded_collection (line 855) | def test_milvus_client_load_loaded_collection(self, enable_milvus_loca... method test_milvus_client_load_partially_loaded_collection (line 870) | def test_milvus_client_load_partially_loaded_collection(self, enable_m... class TestMilvusClientDescribeCollectionInvalid (line 892) | class TestMilvusClientDescribeCollectionInvalid(TestcaseBase): method test_milvus_client_describe_collection_invalid_collection_name (line 903) | def test_milvus_client_describe_collection_invalid_collection_name(sel... method test_milvus_client_describe_collection_not_existed (line 916) | def test_milvus_client_describe_collection_not_existed(self, enable_mi... method test_milvus_client_describe_collection_deleted_collection (line 930) | def test_milvus_client_describe_collection_deleted_collection(self, en... class TestMilvusClientHasCollectionInvalid (line 947) | class TestMilvusClientHasCollectionInvalid(TestcaseBase): method test_milvus_client_has_collection_invalid_collection_name (line 958) | def test_milvus_client_has_collection_invalid_collection_name(self, en... method test_milvus_client_has_collection_not_existed (line 971) | def test_milvus_client_has_collection_not_existed(self, enable_milvus_... method test_milvus_client_has_collection_deleted_collection (line 983) | def test_milvus_client_has_collection_deleted_collection(self, enable_... class TestMilvusClientRenameCollectionInValid (line 998) | class TestMilvusClientRenameCollectionInValid(TestcaseBase): method test_milvus_client_rename_collection_invalid_collection_name (line 1009) | def test_milvus_client_rename_collection_invalid_collection_name(self,... method test_milvus_client_rename_collection_not_existed_collection (line 1021) | def test_milvus_client_rename_collection_not_existed_collection(self, ... method test_milvus_client_rename_collection_duplicated_collection (line 1034) | def test_milvus_client_rename_collection_duplicated_collection(self, e... method test_milvus_client_rename_deleted_collection (line 1050) | def test_milvus_client_rename_deleted_collection(self, enable_milvus_l... class TestMilvusClientRenameCollectionValid (line 1067) | class TestMilvusClientRenameCollectionValid(TestcaseBase): method test_milvus_client_rename_collection_multiple_times (line 1077) | def test_milvus_client_rename_collection_multiple_times(self, enable_m... method test_milvus_client_rename_collection_deleted_collection (line 1094) | def test_milvus_client_rename_collection_deleted_collection(self, enab... class TestMilvusClientUsingDatabaseInvalid (line 1112) | class TestMilvusClientUsingDatabaseInvalid(TestcaseBase): method test_milvus_client_using_database_invalid_db_name (line 1124) | def test_milvus_client_using_database_invalid_db_name(self, enable_mil... method test_milvus_client_using_database_not_exist_db_name (line 1137) | def test_milvus_client_using_database_not_exist_db_name(self, enable_m... method test_milvus_client_using_database_db_name_over_max_length (line 1151) | def test_milvus_client_using_database_db_name_over_max_length(self, en... FILE: tests/milvus_lite/test_milvus_lite_delete.py class TestMilvusClientDeleteInvalid (line 49) | class TestMilvusClientDeleteInvalid(TestcaseBase): method auto_id (line 53) | def auto_id(self, request): method metric_type (line 57) | def metric_type(self, request): method test_milvus_client_delete_with_filters_and_ids (line 66) | def test_milvus_client_delete_with_filters_and_ids(self, enable_milvus... method test_milvus_client_delete_with_invalid_id_type (line 92) | def test_milvus_client_delete_with_invalid_id_type(self, enable_milvus... method test_milvus_client_delete_with_not_all_required_params (line 109) | def test_milvus_client_delete_with_not_all_required_params(self, enabl... class TestMilvusClientDeleteValid (line 126) | class TestMilvusClientDeleteValid(TestcaseBase): method auto_id (line 130) | def auto_id(self, request): method metric_type (line 134) | def metric_type(self, request): method test_milvus_client_delete_with_ids (line 144) | def test_milvus_client_delete_with_ids(self, enable_milvus_local_api): method test_milvus_client_delete_with_filters (line 185) | def test_milvus_client_delete_with_filters(self, enable_milvus_local_a... method test_milvus_client_delete_with_filters_partition (line 226) | def test_milvus_client_delete_with_filters_partition(self, enable_milv... FILE: tests/milvus_lite/test_milvus_lite_index.py class TestMilvusClientIndexInvalid (line 50) | class TestMilvusClientIndexInvalid(TestcaseBase): method auto_id (line 54) | def auto_id(self, request): method metric_type (line 58) | def metric_type(self, request): method test_milvus_client_index_invalid_collection_name (line 69) | def test_milvus_client_index_invalid_collection_name(self, name, enabl... method test_milvus_client_index_collection_name_over_max_length (line 93) | def test_milvus_client_index_collection_name_over_max_length(self, ena... method test_milvus_client_index_not_exist_collection_name (line 116) | def test_milvus_client_index_not_exist_collection_name(self, enable_mi... method test_milvus_client_index_invalid_index_type (line 141) | def test_milvus_client_index_invalid_index_type(self, enable_milvus_lo... method test_milvus_client_index_invalid_metric_type (line 165) | def test_milvus_client_index_invalid_metric_type(self, enable_milvus_l... method test_milvus_client_index_drop_index_before_release (line 188) | def test_milvus_client_index_drop_index_before_release(self, enable_mi... method test_milvus_client_index_multiple_indexes_one_field (line 206) | def test_milvus_client_index_multiple_indexes_one_field(self, enable_m... method test_milvus_client_create_diff_index_without_release (line 232) | def test_milvus_client_create_diff_index_without_release(self, enable_... class TestMilvusClientIndexValid (line 250) | class TestMilvusClientIndexValid(TestcaseBase): method auto_id (line 254) | def auto_id(self, request): method metric_type (line 258) | def metric_type(self, request): method scalar_index (line 262) | def scalar_index(self, request): method test_milvus_client_index_default (line 276) | def test_milvus_client_index_default(self, enable_milvus_local_api, in... method test_milvus_client_index_with_params (line 325) | def test_milvus_client_index_with_params(self, enable_milvus_local_api... method test_milvus_client_index_after_insert (line 373) | def test_milvus_client_index_after_insert(self, enable_milvus_local_ap... method test_milvus_client_index_auto_index (line 416) | def test_milvus_client_index_auto_index(self, enable_milvus_local_api,... method test_milvus_client_index_multiple_vectors (line 468) | def test_milvus_client_index_multiple_vectors(self, enable_milvus_loca... method test_milvus_client_index_drop_create_same_index (line 519) | def test_milvus_client_index_drop_create_same_index(self, enable_milvu... method test_milvus_client_index_drop_create_different_index (line 571) | def test_milvus_client_index_drop_create_different_index(self, enable_... FILE: tests/milvus_lite/test_milvus_lite_init.py class TestMilvusLocalFilePath (line 20) | class TestMilvusLocalFilePath(TestcaseBase): method test_milvus_local_file_path (line 24) | def test_milvus_local_file_path(self, file_path): method test_milvus_local_invalid_file_path (line 48) | def test_milvus_local_invalid_file_path(self, file_path): FILE: tests/milvus_lite/test_milvus_lite_insert.py class TestMilvusClientInsertInvalid (line 50) | class TestMilvusClientInsertInvalid(TestcaseBase): method auto_id (line 54) | def auto_id(self, request): method metric_type (line 58) | def metric_type(self, request): method test_milvus_client_insert_column_data (line 68) | def test_milvus_client_insert_column_data(self, enable_milvus_local_api): method test_milvus_client_insert_empty_collection_name (line 87) | def test_milvus_client_insert_empty_collection_name(self, enable_milvu... method test_milvus_client_insert_invalid_collection_name (line 104) | def test_milvus_client_insert_invalid_collection_name(self, enable_mil... method test_milvus_client_insert_collection_name_over_max_length (line 120) | def test_milvus_client_insert_collection_name_over_max_length(self, en... method test_milvus_client_insert_not_exist_collection_name (line 138) | def test_milvus_client_insert_not_exist_collection_name(self, enable_m... method test_milvus_client_insert_data_invalid_type (line 156) | def test_milvus_client_insert_data_invalid_type(self, enable_milvus_lo... method test_milvus_client_insert_data_empty (line 172) | def test_milvus_client_insert_data_empty(self, enable_milvus_local_api): method test_milvus_client_insert_data_vector_field_missing (line 187) | def test_milvus_client_insert_data_vector_field_missing(self, enable_m... method test_milvus_client_insert_data_id_field_missing (line 206) | def test_milvus_client_insert_data_id_field_missing(self, enable_milvu... method test_milvus_client_insert_data_extra_field (line 225) | def test_milvus_client_insert_data_extra_field(self, enable_milvus_loc... method test_milvus_client_insert_data_dim_not_match (line 245) | def test_milvus_client_insert_data_dim_not_match(self, enable_milvus_l... method test_milvus_client_insert_not_matched_data (line 265) | def test_milvus_client_insert_not_matched_data(self, enable_milvus_loc... method test_milvus_client_insert_invalid_partition_name (line 287) | def test_milvus_client_insert_invalid_partition_name(self, enable_milv... method test_milvus_client_insert_not_exist_partition_name (line 307) | def test_milvus_client_insert_not_exist_partition_name(self, enable_mi... method test_milvus_client_insert_collection_partition_not_match (line 327) | def test_milvus_client_insert_collection_partition_not_match(self, ena... class TestMilvusClientInsertValid (line 350) | class TestMilvusClientInsertValid(TestcaseBase): method auto_id (line 354) | def auto_id(self, request): method metric_type (line 358) | def metric_type(self, request): method test_milvus_client_insert_default (line 368) | def test_milvus_client_insert_default(self, enable_milvus_local_api): method test_milvus_client_insert_different_fields (line 410) | def test_milvus_client_insert_different_fields(self, enable_milvus_loc... method test_milvus_client_insert_empty_data (line 450) | def test_milvus_client_insert_empty_data(self, enable_milvus_local_api): method test_milvus_client_insert_partition (line 476) | def test_milvus_client_insert_partition(self, enable_milvus_local_api): class TestMilvusClientUpsertInvalid (line 520) | class TestMilvusClientUpsertInvalid(TestcaseBase): method auto_id (line 524) | def auto_id(self, request): method metric_type (line 528) | def metric_type(self, request): method test_milvus_client_upsert_column_data (line 538) | def test_milvus_client_upsert_column_data(self, enable_milvus_local_api): method test_milvus_client_upsert_empty_collection_name (line 557) | def test_milvus_client_upsert_empty_collection_name(self, enable_milvu... method test_milvus_client_upsert_invalid_collection_name (line 574) | def test_milvus_client_upsert_invalid_collection_name(self, collection... method test_milvus_client_upsert_collection_name_over_max_length (line 590) | def test_milvus_client_upsert_collection_name_over_max_length(self, en... method test_milvus_client_upsert_not_exist_collection_name (line 608) | def test_milvus_client_upsert_not_exist_collection_name(self, enable_m... method test_milvus_client_upsert_data_invalid_type (line 626) | def test_milvus_client_upsert_data_invalid_type(self, data, enable_mil... method test_milvus_client_upsert_data_empty (line 642) | def test_milvus_client_upsert_data_empty(self, enable_milvus_local_api): method test_milvus_client_upsert_data_vector_field_missing (line 657) | def test_milvus_client_upsert_data_vector_field_missing(self, enable_m... method test_milvus_client_upsert_data_id_field_missing (line 676) | def test_milvus_client_upsert_data_id_field_missing(self, enable_milvu... method test_milvus_client_upsert_data_extra_field (line 695) | def test_milvus_client_upsert_data_extra_field(self, enable_milvus_loc... method test_milvus_client_upsert_data_dim_not_match (line 715) | def test_milvus_client_upsert_data_dim_not_match(self, enable_milvus_l... method test_milvus_client_upsert_not_matched_data (line 735) | def test_milvus_client_upsert_not_matched_data(self, enable_milvus_loc... method test_milvus_client_upsert_invalid_partition_name (line 757) | def test_milvus_client_upsert_invalid_partition_name(self, partition_n... method test_milvus_client_upsert_not_exist_partition_name (line 777) | def test_milvus_client_upsert_not_exist_partition_name(self, enable_mi... method test_milvus_client_upsert_collection_partition_not_match (line 797) | def test_milvus_client_upsert_collection_partition_not_match(self, ena... class TestMilvusClientUpsertValid (line 820) | class TestMilvusClientUpsertValid(TestcaseBase): method auto_id (line 824) | def auto_id(self, request): method metric_type (line 828) | def metric_type(self, request): method test_milvus_client_upsert_default (line 838) | def test_milvus_client_upsert_default(self, enable_milvus_local_api): method test_milvus_client_upsert_empty_data (line 880) | def test_milvus_client_upsert_empty_data(self, enable_milvus_local_api): method test_milvus_client_upsert_partition (line 906) | def test_milvus_client_upsert_partition(self, enable_milvus_local_api): method test_milvus_client_insert_upsert (line 953) | def test_milvus_client_insert_upsert(self, enable_milvus_local_api): FILE: tests/milvus_lite/test_milvus_lite_migrate.py class TestMilvusLiteMigrate (line 37) | class TestMilvusLiteMigrate(TestcaseBase): method test_milvus_lite_migrate_json_file (line 44) | def test_milvus_lite_migrate_json_file(self): method test_check_json_file_key (line 93) | def test_check_json_file_key(self): FILE: tests/milvus_lite/test_milvus_lite_query.py class TestMilvusClientQueryInvalid (line 49) | class TestMilvusClientQueryInvalid(TestcaseBase): method auto_id (line 53) | def auto_id(self, request): method metric_type (line 57) | def metric_type(self, request): method test_milvus_client_query_not_all_required_params (line 67) | def test_milvus_client_query_not_all_required_params(self, enable_milv... class TestMilvusClientQueryValid (line 95) | class TestMilvusClientQueryValid(TestcaseBase): method auto_id (line 99) | def auto_id(self, request): method metric_type (line 103) | def metric_type(self, request): method test_milvus_client_query_default (line 113) | def test_milvus_client_query_default(self, enable_milvus_local_api): method test_milvus_client_query_output_fields (line 143) | def test_milvus_client_query_output_fields(self, enable_milvus_local_a... method test_milvus_client_query_output_fields_all (line 177) | def test_milvus_client_query_output_fields_all(self, enable_milvus_loc... method test_milvus_client_query_limit (line 210) | def test_milvus_client_query_limit(self, enable_milvus_local_api): class TestMilvusClientGetInvalid (line 243) | class TestMilvusClientGetInvalid(TestcaseBase): method test_milvus_client_get_invalid_collection_name (line 255) | def test_milvus_client_get_invalid_collection_name(self, name, enable_... method test_milvus_client_get_not_exist_collection_name (line 279) | def test_milvus_client_get_not_exist_collection_name(self, enable_milv... method test_milvus_client_get_invalid_ids (line 305) | def test_milvus_client_get_invalid_ids(self, invalid_ids, enable_milvu... class TestMilvusClientGetValid (line 328) | class TestMilvusClientGetValid(TestcaseBase): method auto_id (line 332) | def auto_id(self, request): method metric_type (line 336) | def metric_type(self, request): method test_milvus_client_get_normal (line 345) | def test_milvus_client_get_normal(self, enable_milvus_local_api): method test_milvus_client_get_output_fields (line 370) | def test_milvus_client_get_output_fields(self, enable_milvus_local_api): method test_milvus_client_get_normal_string (line 400) | def test_milvus_client_get_normal_string(self, enable_milvus_local_api): method test_milvus_client_get_normal_string_output_fields (line 427) | def test_milvus_client_get_normal_string_output_fields(self, enable_mi... FILE: tests/milvus_lite/test_milvus_lite_search.py class TestMilvusClientSearchInvalid (line 62) | class TestMilvusClientSearchInvalid(TestcaseBase): method auto_id (line 66) | def auto_id(self, request): method metric_type (line 70) | def metric_type(self, request): method test_milvus_client_collection_invalid_primary_field (line 80) | def test_milvus_client_collection_invalid_primary_field(self, enable_m... method test_milvus_client_collection_string_auto_id (line 94) | def test_milvus_client_collection_string_auto_id(self, enable_milvus_l... method test_milvus_client_create_same_collection_different_params (line 109) | def test_milvus_client_create_same_collection_different_params(self, e... method test_milvus_client_collection_invalid_metric_type (line 130) | def test_milvus_client_collection_invalid_metric_type(self, enable_mil... method test_milvus_client_search_not_consistent_metric_type (line 146) | def test_milvus_client_search_not_consistent_metric_type(self, enable_... class TestMilvusClientSearchValid (line 168) | class TestMilvusClientSearchValid(TestcaseBase): method auto_id (line 172) | def auto_id(self, request): method metric_type (line 176) | def metric_type(self, request): method test_milvus_client_search_query_default (line 186) | def test_milvus_client_search_query_default(self, enable_milvus_local_... method test_milvus_client_rename_search_query_default (line 230) | def test_milvus_client_rename_search_query_default(self, enable_milvus... method test_milvus_client_array_insert_search (line 276) | def test_milvus_client_array_insert_search(self, enable_milvus_local_a... method test_milvus_client_search_query_string (line 309) | def test_milvus_client_search_query_string(self, enable_milvus_local_a... method test_milvus_client_search_different_metric_types_not_specifying_in_search_params (line 348) | def test_milvus_client_search_different_metric_types_not_specifying_in... method test_milvus_client_search_different_metric_types_specifying_in_search_params (line 380) | def test_milvus_client_search_different_metric_types_specifying_in_sea... method test_milvus_client_delete_with_ids (line 413) | def test_milvus_client_delete_with_ids(self, enable_milvus_local_api): method test_milvus_client_delete_with_filters (line 454) | def test_milvus_client_delete_with_filters(self, enable_milvus_local_a... class TestCollectionHybridSearchValid (line 495) | class TestCollectionHybridSearchValid(TestcaseBase): method nq (line 499) | def nq(self, request): method nb (line 503) | def nb(self, request): method dim (line 507) | def dim(self, request): method auto_id (line 511) | def auto_id(self, request): method _async (line 515) | def _async(self, request): method metrics (line 519) | def metrics(self, request): method is_flush (line 523) | def is_flush(self, request): method enable_dynamic_field (line 527) | def enable_dynamic_field(self, request): method metric_type (line 531) | def metric_type(self, request): method random_primary_key (line 535) | def random_primary_key(self, request): method vector_data_type (line 539) | def vector_data_type(self, request): method test_hybrid_search_normal_max_nq (line 550) | def test_hybrid_search_normal_max_nq(self, nq, enable_milvus_local_api): method test_hybrid_search_normal_over_max_nq (line 585) | def test_hybrid_search_normal_over_max_nq(self, nq): method test_hybrid_search_no_limit (line 618) | def test_hybrid_search_no_limit(self): method test_hybrid_search_WeightedRanker_empty_reqs (line 645) | def test_hybrid_search_WeightedRanker_empty_reqs(self, primary_field): method test_hybrid_search_as_search (line 666) | def test_hybrid_search_as_search(self, nq, primary_field, is_flush): method test_hybrid_search_different_metric_type (line 715) | def test_hybrid_search_different_metric_type(self, nq, primary_field, ... method test_hybrid_search_different_metric_type_each_field (line 754) | def test_hybrid_search_different_metric_type_each_field(self, nq, prim... method test_hybrid_search_different_dim (line 811) | def test_hybrid_search_different_dim(self, nq, primary_field, metric_t... method test_hybrid_search_overall_limit_larger_sum_each_limit (line 859) | def test_hybrid_search_overall_limit_larger_sum_each_limit(self, nq, p... method test_hybrid_search_overall_different_limit (line 923) | def test_hybrid_search_overall_different_limit(self, primary_field, me... method test_hybrid_search_min_limit (line 962) | def test_hybrid_search_min_limit(self, primary_field, metric_type): method test_hybrid_search_max_limit (line 1010) | def test_hybrid_search_max_limit(self, primary_field, metric_type): method test_hybrid_search_max_min_limit (line 1049) | def test_hybrid_search_max_min_limit(self, primary_field, metric_type): method test_hybrid_search_same_anns_field (line 1091) | def test_hybrid_search_same_anns_field(self, primary_field, metric_type): method test_hybrid_search_different_offset_single_field (line 1130) | def test_hybrid_search_different_offset_single_field(self, primary_fie... method test_hybrid_search_max_reqs_num (line 1169) | def test_hybrid_search_max_reqs_num(self, primary_field): method test_hybrid_search_WeightedRanker_different_parameters (line 1211) | def test_hybrid_search_WeightedRanker_different_parameters(self, prima... method test_hybrid_search_invalid_WeightedRanker_params (line 1249) | def test_hybrid_search_invalid_WeightedRanker_params(self): method test_hybrid_search_with_range_search (line 1325) | def test_hybrid_search_with_range_search(self, primary_field): method test_hybrid_search_RRFRanker_default_parameter (line 1367) | def test_hybrid_search_RRFRanker_default_parameter(self, primary_field): method test_hybrid_search_offset_inside_outside_params (line 1494) | def test_hybrid_search_offset_inside_outside_params(self, primary_fiel... method test_hybrid_search_RRFRanker_empty_reqs (line 1553) | def test_hybrid_search_RRFRanker_empty_reqs(self): method test_hybrid_search_different_limit_round_decimal (line 1631) | def test_hybrid_search_different_limit_round_decimal(self, primary_fie... method test_hybrid_search_limit_out_of_range_max (line 1690) | def test_hybrid_search_limit_out_of_range_max(self): method test_hybrid_search_limit_out_of_range_min (line 1723) | def test_hybrid_search_limit_out_of_range_min(self): method test_hybrid_search_with_output_fields (line 1756) | def test_hybrid_search_with_output_fields(self, nq, dim, auto_id, is_f... method test_hybrid_search_with_output_fields_all_fields (line 1837) | def test_hybrid_search_with_output_fields_all_fields(self, nq, dim, au... method test_hybrid_search_with_output_fields_all_fields (line 1920) | def test_hybrid_search_with_output_fields_all_fields(self, nq, dim, au... method test_hybrid_search_with_output_fields_sync_async (line 2002) | def test_hybrid_search_with_output_fields_sync_async(self, nq, primary... method test_hybrid_search_offset_both_inside_outside_params (line 2086) | def test_hybrid_search_offset_both_inside_outside_params(self, rerank): method test_hybrid_search_result_order (line 2200) | def test_hybrid_search_result_order(self, nq): method test_hybrid_search_sparse_normal (line 2232) | def test_hybrid_search_sparse_normal(self): method test_milvus_lite_delete_search (line 2287) | def test_milvus_lite_delete_search(self, enable_milvus_local_api): FILE: tests/milvus_lite/test_milvus_lite_sparse.py class TestMilvusLocalSparse (line 25) | class TestMilvusLocalSparse(TestcaseBase): method test_milvus_local_sparse_search (line 29) | def test_milvus_local_sparse_search(self, index, index_params, enable... method test_milvus_lcoal_sparse_index_dim (line 47) | def test_milvus_lcoal_sparse_index_dim(self, index, index_params, dim,... method test_sparse_index_invalid_dim (line 72) | def test_sparse_index_invalid_dim(self, index, index_params, dim, enab... FILE: tests/milvus_lite/test_milvus_lite_stability.py class TestMilvusLocalStability (line 29) | class TestMilvusLocalStability(TestcaseBase): method test_milvus_local_stability (line 32) | def test_milvus_local_stability(self): method test_milvus_local_hnsw_serial_performance (line 88) | def test_milvus_local_hnsw_serial_performance(self): FILE: tests/test_bm25.py class TestBM25 (line 17) | class TestBM25(unittest.TestCase): method test_single_function (line 18) | def test_single_function(self): method test_multi_functions (line 91) | def test_multi_functions(self): method test_bm25_hybrid_search (line 182) | def test_bm25_hybrid_search(self): FILE: tests/test_delete.py class TestDefaultSearch (line 17) | class TestDefaultSearch(unittest.TestCase): method test_delete_by_ids (line 18) | def test_delete_by_ids(self): method test_delete_by_filter (line 56) | def test_delete_by_filter(self): FILE: tests/test_dump_tool.py function gen_binary_vector (line 34) | def gen_binary_vector(): function gen_float_vector (line 39) | def gen_float_vector(): function all_types_data (line 42) | def all_types_data(bin_vec: bool)->list: class TestDumpTool (line 67) | class TestDumpTool(unittest.TestCase): method setUp (line 68) | def setUp(self): method tearDown (line 75) | def tearDown(self): method test_simple_collection (line 80) | def test_simple_collection(self): method test_all_type_collection (line 111) | def test_all_type_collection(self): method test_all_type_bin_vec_collection (line 141) | def test_all_type_bin_vec_collection(self): FILE: tests/test_hybrid_search.py class TestHybridSearch (line 28) | class TestHybridSearch(unittest.TestCase): method test_hybrid_search (line 29) | def test_hybrid_search(self): method test_dynamic (line 151) | def test_dynamic(self): method test_dense (line 247) | def test_dense(self): FILE: tests/test_query.py class TestQuery (line 17) | class TestQuery(unittest.TestCase): method setUp (line 18) | def setUp(self): method tearDown (line 27) | def tearDown(self): method test_query_empty (line 30) | def test_query_empty(self): method test_query (line 40) | def test_query(self): class TestArray (line 69) | class TestArray(unittest.TestCase): method test_query (line 70) | def test_query(self): FILE: tests/test_schema.py class TestDefaultSearch (line 17) | class TestDefaultSearch(unittest.TestCase): method test_schema_field_limits (line 18) | def test_schema_field_limits(self): method test_schema_field_out_limits (line 33) | def test_schema_field_out_limits(self): method test_varchar_field_maxlen (line 49) | def test_varchar_field_maxlen(self): method test_varchar_field_out_maxlen (line 63) | def test_varchar_field_out_maxlen(self): method test_collection_name (line 78) | def test_collection_name(self): FILE: tests/test_search.py class TestDefaultSearch (line 17) | class TestDefaultSearch(unittest.TestCase): method setUp (line 18) | def setUp(self): method tearDown (line 27) | def tearDown(self): method test_index_info (line 30) | def test_index_info(self): method test_error_metrics (line 35) | def test_error_metrics(self): method test_search (line 52) | def test_search(self): method test_multi_search (line 112) | def test_multi_search(self): class TestIndexMetric (line 139) | class TestIndexMetric(unittest.TestCase): method setUp (line 140) | def setUp(self): method tearDown (line 148) | def tearDown(self): method test_L2 (line 151) | def test_L2(self): method test_IP (line 181) | def test_IP(self): FILE: tests/test_sparse.py function csr_to_dict (line 19) | def csr_to_dict(csr): class TestSparse (line 27) | class TestSparse(unittest.TestCase): method setUp (line 28) | def setUp(self): method compare (line 49) | def compare(self, crs, sparse_return): method tearDown (line 54) | def tearDown(self): method test_query (line 57) | def test_query(self): method test_search (line 89) | def test_search(self): FILE: tests/testcases/test_collection.py class TestCollectionParams (line 60) | class TestCollectionParams(TestcaseBase): method get_none_removed_invalid_strings (line 64) | def get_none_removed_invalid_strings(self, request): method get_invalid_type_fields (line 70) | def get_invalid_type_fields(self, request): method get_unsupported_primary_field (line 76) | def get_unsupported_primary_field(self, request): method get_invalid_dim (line 82) | def get_invalid_dim(self, request): method test_collection (line 88) | def test_collection(self, enable_milvus_local_api): method test_collection_empty_name (line 103) | def test_collection_empty_name(self, enable_milvus_local_api): method test_collection_illegal_name (line 118) | def test_collection_illegal_name(self, name, enable_milvus_local_api): method test_collection_naming_rules (line 135) | def test_collection_naming_rules(self, name, enable_milvus_local_api): method test_collection_invalid_name (line 152) | def test_collection_invalid_name(self, name, enable_milvus_local_api): method test_collection_dup_name (line 164) | def test_collection_dup_name(self, enable_milvus_local_api): method test_collection_dup_name_with_desc (line 181) | def test_collection_dup_name_with_desc(self, enable_milvus_local_api): method test_collection_dup_name_new_schema (line 199) | def test_collection_dup_name_new_schema(self, enable_milvus_local_api): method test_collection_dup_name_new_primary (line 217) | def test_collection_dup_name_new_primary(self,enable_milvus_local_api): method test_collection_dup_name_new_dim (line 242) | def test_collection_dup_name_new_dim(self, enable_milvus_local_api): method test_collection_dup_name_invalid_schema_type (line 263) | def test_collection_dup_name_invalid_schema_type(self, get_none_remove... method test_collection_dup_name_same_schema (line 280) | def test_collection_dup_name_same_schema(self, enable_milvus_local_api): method test_collection_none_schema (line 297) | def test_collection_none_schema(self, enable_milvus_local_api): method test_collection_invalid_type_schema (line 309) | def test_collection_invalid_type_schema(self, get_none_removed_invalid... method test_collection_invalid_type_fields (line 322) | def test_collection_invalid_type_fields(self, get_invalid_type_fields,... method test_collection_with_unknown_type (line 335) | def test_collection_with_unknown_type(self, enable_milvus_local_api): method test_collection_invalid_type_field (line 349) | def test_collection_invalid_type_field(self, name, enable_milvus_local... method test_collection_invalid_field_name (line 365) | def test_collection_invalid_field_name(self, name, enable_milvus_local... method test_collection_none_field_name (line 381) | def test_collection_none_field_name(self, enable_milvus_local_api): method test_collection_invalid_field_type (line 396) | def test_collection_invalid_field_type(self, dtype, enable_milvus_loca... method test_collection_field_dtype_float_value (line 409) | def test_collection_field_dtype_float_value(self, enable_milvus_local_... method test_collection_empty_fields (line 424) | def test_collection_empty_fields(self, enable_milvus_local_api): method test_collection_dup_field (line 437) | def test_collection_dup_field(self, enable_milvus_local_api): method test_collection_only_vector_field (line 454) | def test_collection_only_vector_field(self, field, enable_milvus_local... method test_collection_multi_float_vectors (line 465) | def test_collection_multi_float_vectors(self, enable_milvus_local_api): method test_collection_mix_vectors (line 483) | def test_collection_mix_vectors(self, enable_milvus_local_api): method test_collection_without_vectors (line 498) | def test_collection_without_vectors(self, enable_milvus_local_api): method test_collection_without_primary_field (line 511) | def test_collection_without_primary_field(self, enable_milvus_local_api): method test_collection_is_primary_false (line 526) | def test_collection_is_primary_false(self, enable_milvus_local_api): method test_collection_invalid_is_primary (line 540) | def test_collection_invalid_is_primary(self, is_primary, enable_milvus... method test_collection_invalid_primary_field (line 554) | def test_collection_invalid_primary_field(self, primary_field, enable_... method test_collection_non_string_primary_field (line 568) | def test_collection_non_string_primary_field(self, primary_field, enab... method test_collection_not_existed_primary_field (line 581) | def test_collection_not_existed_primary_field(self, enable_milvus_loca... method test_collection_primary_in_schema (line 596) | def test_collection_primary_in_schema(self, enable_milvus_local_api): method test_collection_primary_in_field (line 609) | def test_collection_primary_in_field(self, enable_milvus_local_api): method test_collection_unsupported_primary_field (line 622) | def test_collection_unsupported_primary_field(self, get_unsupported_pr... method test_collection_multi_primary_fields (line 636) | def test_collection_multi_primary_fields(self, enable_milvus_local_api): method test_collection_primary_inconsistent (line 651) | def test_collection_primary_inconsistent(self, enable_milvus_local_api): method test_collection_primary_consistent (line 666) | def test_collection_primary_consistent(self, enable_milvus_local_api): method test_collection_auto_id_in_field_schema (line 682) | def test_collection_auto_id_in_field_schema(self, auto_id, enable_milv... method test_collection_auto_id_in_collection_schema (line 699) | def test_collection_auto_id_in_collection_schema(self, auto_id, enable... method test_collection_auto_id_non_primary_field (line 715) | def test_collection_auto_id_non_primary_field(self, enable_milvus_loca... method test_collection_auto_id_false_non_primary (line 727) | def test_collection_auto_id_false_non_primary(self, enable_milvus_loca... method test_collection_auto_id_inconsistent (line 741) | def test_collection_auto_id_inconsistent(self, enable_milvus_local_api): method test_collection_auto_id_consistent (line 756) | def test_collection_auto_id_consistent(self, auto_id, enable_milvus_lo... method test_collection_auto_id_none_in_field (line 769) | def test_collection_auto_id_none_in_field(self, enable_milvus_local_api): method test_collection_invalid_auto_id (line 783) | def test_collection_invalid_auto_id(self, auto_id, enable_milvus_local... method test_collection_multi_fields_auto_id (line 797) | def test_collection_multi_fields_auto_id(self, enable_milvus_local_api): method test_collection_vector_without_dim (line 812) | def test_collection_vector_without_dim(self, dtype, enable_milvus_loca... method test_collection_vector_invalid_dim (line 827) | def test_collection_vector_invalid_dim(self, get_invalid_dim, enable_m... method test_collection_vector_out_bounds_dim (line 843) | def test_collection_vector_out_bounds_dim(self, dim, enable_milvus_loc... method test_collection_non_vector_field_dim (line 857) | def test_collection_non_vector_field_dim(self, enable_milvus_local_api): method test_collection_desc (line 874) | def test_collection_desc(self, enable_milvus_local_api): method test_collection_none_desc (line 887) | def test_collection_none_desc(self, enable_milvus_local_api): method test_collection_long_desc (line 900) | def test_collection_long_desc(self, enable_milvus_local_api): method test_collection_binary (line 915) | def test_collection_binary(self, enable_milvus_local_api): method test_collection_shards_num_with_default_value (line 929) | def test_collection_shards_num_with_default_value(self, enable_milvus_... method test_collection_shards_num_with_not_default_value (line 944) | def test_collection_shards_num_with_not_default_value(self, shards_num... method test_collection_shards_num_invalid (line 959) | def test_collection_shards_num_invalid(self, shards_num, enable_milvus... method test_collection_shards_num_with_error_type (line 974) | def test_collection_shards_num_with_error_type(self, error_type_shards... method test_create_collection_maximum_fields (line 988) | def test_create_collection_maximum_fields(self, enable_milvus_local_api): method test_create_collection_maximum_vector_fields (line 1009) | def test_create_collection_maximum_vector_fields(self, enable_milvus_l... method test_create_collection_multiple_vector_and_maximum_fields (line 1030) | def test_create_collection_multiple_vector_and_maximum_fields(self, pr... method test_create_collection_maximum_vector_and_all_fields (line 1059) | def test_create_collection_maximum_vector_and_all_fields(self, primary... method test_create_collection_over_maximum_fields (line 1087) | def test_create_collection_over_maximum_fields(self, enable_milvus_loc... method test_create_collection_over_maximum_vector_fields (line 1109) | def test_create_collection_over_maximum_vector_fields(self, enable_mil... method test_create_collection_multiple_vector_and_over_maximum_all_fields (line 1129) | def test_create_collection_multiple_vector_and_over_maximum_all_fields... method test_create_collection_over_maximum_vector_and_all_fields (line 1158) | def test_create_collection_over_maximum_vector_and_all_fields(self, en... method test_collection_multi_sparse_vectors (line 1186) | def test_collection_multi_sparse_vectors(self, enable_milvus_local_api): class TestCollectionOperation (line 1204) | class TestCollectionOperation(TestcaseBase): method test_collection_without_connection (line 1212) | def test_collection_without_connection(self, enable_milvus_local_api): method test_collection_multi_create_drop (line 1229) | def test_collection_multi_create_drop(self, enable_milvus_local_api): method test_collection_dup_name_drop (line 1247) | def test_collection_dup_name_drop(self, enable_milvus_local_api): method test_collection_after_drop (line 1266) | def test_collection_after_drop(self, enable_milvus_local_api): method test_collection_all_datatype_fields (line 1283) | def test_collection_all_datatype_fields(self, enable_milvus_local_api): method test_load_collection_after_load_partition (line 1308) | def test_load_collection_after_load_partition(self, enable_milvus_loca... method test_load_collection_release_partition (line 1324) | def test_load_collection_release_partition(self, enable_milvus_local_a... method test_load_collection_after_release_collection (line 1339) | def test_load_collection_after_release_collection(self, enable_milvus_... class TestCollectionDataframe (line 1356) | class TestCollectionDataframe(TestcaseBase): method get_non_df (line 1364) | def get_non_df(self, request): method test_construct_from_dataframe (line 1370) | def test_construct_from_dataframe(self, enable_milvus_local_api): method test_construct_from_binary_dataframe (line 1386) | def test_construct_from_binary_dataframe(self, enable_milvus_local_api): method test_construct_from_none_dataframe (line 1401) | def test_construct_from_none_dataframe(self, enable_milvus_local_api): method test_construct_from_dataframe_only_column (line 1413) | def test_construct_from_dataframe_only_column(self, enable_milvus_loca... method test_construct_from_inconsistent_dataframe (line 1427) | def test_construct_from_inconsistent_dataframe(self, enable_milvus_loc... method test_construct_from_non_dataframe (line 1444) | def test_construct_from_non_dataframe(self, get_non_df, enable_milvus_... method test_construct_from_data_type_dataframe (line 1457) | def test_construct_from_data_type_dataframe(self, enable_milvus_local_... method test_construct_from_invalid_field_name (line 1471) | def test_construct_from_invalid_field_name(self, enable_milvus_local_a... method test_construct_none_primary_field (line 1485) | def test_construct_none_primary_field(self, enable_milvus_local_api): method test_construct_not_existed_primary_field (line 1499) | def test_construct_not_existed_primary_field(self, enable_milvus_local... method test_construct_with_none_auto_id (line 1513) | def test_construct_with_none_auto_id(self, enable_milvus_local_api): method test_construct_auto_id_true_insert (line 1527) | def test_construct_auto_id_true_insert(self, enable_milvus_local_api): method test_construct_auto_id_true_no_insert (line 1541) | def test_construct_auto_id_true_no_insert(self, enable_milvus_local_api): method test_construct_none_value_auto_id_true (line 1557) | def test_construct_none_value_auto_id_true(self, enable_milvus_local_a... method test_construct_auto_id_false (line 1574) | def test_construct_auto_id_false(self, enable_milvus_local_api): method test_construct_none_value_auto_id_false (line 1589) | def test_construct_none_value_auto_id_false(self, enable_milvus_local_... method test_construct_auto_id_false_same_values (line 1605) | def test_construct_auto_id_false_same_values(self, enable_milvus_local... method test_construct_auto_id_false_negative_values (line 1624) | def test_construct_auto_id_false_negative_values(self, enable_milvus_l... method test_construct_from_dataframe_dup_name (line 1640) | def test_construct_from_dataframe_dup_name(self, enable_milvus_local_a... class TestCollectionCount (line 1660) | class TestCollectionCount(TestcaseBase): method test_collection_count_no_vectors (line 1662) | def test_collection_count_no_vectors(self, enable_milvus_local_api): class TestCollectionCountIP (line 1674) | class TestCollectionCountIP(TestcaseBase): method insert_count (line 1686) | def insert_count(self, request): method test_collection_count_after_index_created (line 1690) | def test_collection_count_after_index_created(self, insert_count, enab... class TestCollectionCountBinary (line 1707) | class TestCollectionCountBinary(TestcaseBase): method insert_count (line 1720) | def insert_count(self, request): method test_collection_count_after_index_created_binary (line 1725) | def test_collection_count_after_index_created_binary(self, insert_coun... method test_binary_collection_with_min_dim (line 1742) | def test_binary_collection_with_min_dim(self, auto_id, enable_milvus_l... method test_collection_count_no_entities (line 1757) | def test_collection_count_no_entities(self, enable_milvus_local_api): class TestCollectionMultiCollections (line 1770) | class TestCollectionMultiCollections(TestcaseBase): method insert_count (line 1783) | def insert_count(self, request): method test_collection_count_multi_collections_l2 (line 1787) | def test_collection_count_multi_collections_l2(self, insert_count, ena... method test_collection_count_multi_collections_binary (line 1808) | def test_collection_count_multi_collections_binary(self, insert_count,... method test_collection_count_multi_collections_mix (line 1829) | def test_collection_count_multi_collections_mix(self, enable_milvus_lo... class TestCreateCollection (line 1856) | class TestCreateCollection(TestcaseBase): method auto_id (line 1859) | def auto_id(self, request): method test_create_collection_multithread (line 1863) | def test_create_collection_multithread(self, enable_milvus_local_api): method test_create_collection_using_default_value (line 1892) | def test_create_collection_using_default_value(self, auto_id): class TestCreateCollectionInvalid (line 1916) | class TestCreateCollectionInvalid(TestcaseBase): method test_create_collection_limit_fields (line 1923) | def test_create_collection_limit_fields(self, enable_milvus_local_api): method test_create_schema_with_different_language (line 1948) | def test_create_schema_with_different_language(self, invalid_name): method test_create_collection_with_different_language (line 1965) | def test_create_collection_with_different_language(self, invalid_name): method test_create_collection_with_invalid_default_value_string (line 1980) | def test_create_collection_with_invalid_default_value_string(self, def... method test_create_collection_with_invalid_default_value_float (line 1999) | def test_create_collection_with_invalid_default_value_float(self, defa... method test_create_collection_with_invalid_default_value_int8 (line 2018) | def test_create_collection_with_invalid_default_value_int8(self, defau... method test_create_collection_with_pk_field_using_default_value (line 2036) | def test_create_collection_with_pk_field_using_default_value(self, ena... method test_create_collection_with_json_field_using_default_value (line 2067) | def test_create_collection_with_json_field_using_default_value(self, e... class TestDropCollection (line 2081) | class TestDropCollection(TestcaseBase): method test_drop_collection_A (line 2089) | def test_drop_collection_A(self, enable_milvus_local_api): method test_drop_collection_without_connection (line 2103) | def test_drop_collection_without_connection(self, enable_milvus_local_... method test_drop_collection_not_existed (line 2119) | def test_drop_collection_not_existed(self, enable_milvus_local_api): method test_create_drop_collection_multithread (line 2136) | def test_create_drop_collection_multithread(self, enable_milvus_local_... class TestDropCollectionInvalid (line 2165) | class TestDropCollectionInvalid(TestcaseBase): method test_drop_collection_with_invalid_collection_name (line 2172) | def test_drop_collection_with_invalid_collection_name(self, name, enab... method test_drop_collection_with_empty_or_None_collection_name (line 2183) | def test_drop_collection_with_empty_or_None_collection_name(self, enab... class TestHasCollection (line 2196) | class TestHasCollection(TestcaseBase): method test_has_collection_without_connection (line 2204) | def test_has_collection_without_connection(self, enable_milvus_local_a... method test_has_collection_not_existed (line 2220) | def test_has_collection_not_existed(self, enable_milvus_local_api): method test_has_collection_multithread (line 2234) | def test_has_collection_multithread(self, enable_milvus_local_api): class TestHasCollectionInvalid (line 2259) | class TestHasCollectionInvalid(TestcaseBase): method test_has_collection_with_invalid_collection_name (line 2262) | def test_has_collection_with_invalid_collection_name(self, name, enabl... method test_has_collection_with_empty_collection_name (line 2273) | def test_has_collection_with_empty_collection_name(self, enable_milvus... method test_has_collection_with_none_collection_name (line 2284) | def test_has_collection_with_none_collection_name(self, enable_milvus_... class TestListCollections (line 2295) | class TestListCollections(TestcaseBase): method test_list_collections_multi_collections (line 2303) | def test_list_collections_multi_collections(self, enable_milvus_local_... method test_list_collections_without_connection (line 2321) | def test_list_collections_without_connection(self, enable_milvus_local... method test_list_collections_multithread (line 2335) | def test_list_collections_multithread(self, enable_milvus_local_api): class TestLoadCollection (line 2359) | class TestLoadCollection(TestcaseBase): method test_load_collection_after_index (line 2367) | def test_load_collection_after_index(self, enable_milvus_local_api): method test_load_collection_after_index_binary (line 2383) | def test_load_collection_after_index_binary(self, enable_milvus_local_... method test_load_empty_collection (line 2399) | def test_load_empty_collection(self, enable_milvus_local_api): method test_load_collection_dis_connect (line 2412) | def test_load_collection_dis_connect(self, enable_milvus_local_api): method test_release_collection_dis_connect (line 2428) | def test_release_collection_dis_connect(self, enable_milvus_local_api): method test_load_collection_not_existed (line 2444) | def test_load_collection_not_existed(self, enable_milvus_local_api): method test_release_collection_not_existed (line 2460) | def test_release_collection_not_existed(self, enable_milvus_local_api): method test_release_collection_not_load (line 2475) | def test_release_collection_not_load(self, enable_milvus_local_api): method test_load_collection_after_load_release (line 2487) | def test_load_collection_after_load_release(self, enable_milvus_local_... method test_load_collection_repeatedly (line 2505) | def test_load_collection_repeatedly(self, enable_milvus_local_api): method test_load_partitions_after_load_collection (line 2521) | def test_load_partitions_after_load_collection(self, enable_milvus_loc... method test_load_partitions_after_load_release_collection (line 2539) | def test_load_partitions_after_load_release_collection(self, enable_mi... method test_load_collection_after_release_collection_partition (line 2559) | def test_load_collection_after_release_collection_partition(self, enab... method test_load_partitions_after_release_collection_partition (line 2582) | def test_load_partitions_after_release_collection_partition(self, enab... method test_load_collection_after_release_partition (line 2611) | def test_load_collection_after_release_partition(self, enable_milvus_l... method test_load_partitions_after_release_partition (line 2637) | def test_load_partitions_after_release_partition(self, enable_milvus_l... method test_load_collection_after_release_partition_collection (line 2661) | def test_load_collection_after_release_partition_collection(self, enab... method test_load_partitions_after_release_partition_collection (line 2683) | def test_load_partitions_after_release_partition_collection(self, enab... method test_load_collection_after_release_partitions (line 2708) | def test_load_collection_after_release_partitions(self, enable_milvus_... method test_load_partitions_after_release_partitions (line 2726) | def test_load_partitions_after_release_partitions(self, enable_milvus_... method test_load_collection_after_drop_partition_and_release_another (line 2745) | def test_load_collection_after_drop_partition_and_release_another(self... method test_load_partition_after_drop_partition_and_release_another (line 2769) | def test_load_partition_after_drop_partition_and_release_another(self,... method test_load_another_partition_after_drop_one_partition (line 2791) | def test_load_another_partition_after_drop_one_partition(self, enable_... method test_load_collection_after_drop_one_partition (line 2811) | def test_load_collection_after_drop_one_partition(self, enable_milvus_... method test_load_release_collection (line 2830) | def test_load_release_collection(self, enable_milvus_local_api): method test_release_collection_after_drop (line 2849) | def test_release_collection_after_drop(self, enable_milvus_local_api): method test_load_partition_names_empty (line 2866) | def test_load_partition_names_empty(self, enable_milvus_local_api): method get_non_number_replicas (line 2893) | def get_non_number_replicas(self, request): method test_load_replica_non_number (line 2901) | def test_load_replica_non_number(self, get_non_number_replicas): method test_load_replica_invalid_number (line 2921) | def test_load_replica_invalid_number(self, replicas): method test_load_replica_number_none (line 2942) | def test_load_replica_number_none(self, replicas): method test_load_replica_greater_than_querynodes (line 2961) | def test_load_replica_greater_than_querynodes(self, enable_milvus_loca... method test_load_replica_change (line 2979) | def test_load_replica_change(self, enable_milvus_local_api): method test_load_replica_multi (line 3030) | def test_load_replica_multi(self, enable_milvus_local_api): method test_load_replica_partitions (line 3062) | def test_load_replica_partitions(self, enable_milvus_local_api): method test_load_replica_non_shard_leader (line 3098) | def test_load_replica_non_shard_leader(self, enable_milvus_local_api): method test_load_replica_multiple_shard_leader (line 3148) | def test_load_replica_multiple_shard_leader(self, enable_milvus_local_... method test_load_replica_sq_count_balance (line 3198) | def test_load_replica_sq_count_balance(self, enable_milvus_local_api): method test_get_collection_replicas_not_loaded (line 3231) | def test_get_collection_replicas_not_loaded(self, enable_milvus_local_... method test_count_multi_replicas (line 3247) | def test_count_multi_replicas(self, enable_milvus_local_api): method test_load_collection_without_creating_index (line 3270) | def test_load_collection_without_creating_index(self, enable_milvus_lo... class TestDescribeCollection (line 3283) | class TestDescribeCollection(TestcaseBase): method test_collection_describe (line 3292) | def test_collection_describe(self, enable_milvus_local_api): class TestReleaseAdvanced (line 3318) | class TestReleaseAdvanced(TestcaseBase): method test_release_collection_during_searching (line 3320) | def test_release_collection_during_searching(self, enable_milvus_local... method test_release_partition_during_searching (line 3343) | def test_release_partition_during_searching(self, enable_milvus_local_... method test_release_indexed_collection_during_searching (line 3370) | def test_release_indexed_collection_during_searching(self, enable_milv... class TestCollectionString (line 3961) | class TestCollectionString(TestcaseBase): method test_collection_string_field_is_primary (line 3969) | def test_collection_string_field_is_primary(self, enable_milvus_local_... method test_collection_with_muti_string_fields (line 3984) | def test_collection_with_muti_string_fields(self, enable_milvus_local_... method test_collection_only_string_field (line 4003) | def test_collection_only_string_field(self, enable_milvus_local_api): method test_collection_string_field_with_exceed_max_len (line 4017) | def test_collection_string_field_with_exceed_max_len(self, enable_milv... method test_collection_invalid_string_field_dtype (line 4037) | def test_collection_invalid_string_field_dtype(self, enable_milvus_loc... method test_collection_string_field_is_primary_and_auto_id (line 4053) | def test_collection_string_field_is_primary_and_auto_id(self, enable_m... class TestCollectionJSON (line 4069) | class TestCollectionJSON(TestcaseBase): method test_collection_json_field_as_primary_key (line 4077) | def test_collection_json_field_as_primary_key(self, auto_id, enable_mi... method test_collection_json_field_partition_key (line 4103) | def test_collection_json_field_partition_key(self, primary_field, enab... method test_collection_json_field_supported_primary_key (line 4118) | def test_collection_json_field_supported_primary_key(self, primary_fie... method test_collection_multiple_json_fields_supported_primary_key (line 4134) | def test_collection_multiple_json_fields_supported_primary_key(self, p... class TestCollectionARRAY (line 4149) | class TestCollectionARRAY(TestcaseBase): method test_collection_array_field_element_type_not_exist (line 4157) | def test_collection_array_field_element_type_not_exist(self, enable_mi... method test_collection_array_field_element_type_invalid (line 4174) | def test_collection_array_field_element_type_invalid(self, element_type): method test_collection_array_field_no_capacity (line 4193) | def test_collection_array_field_no_capacity(self, enable_milvus_local_... method test_collection_array_field_invalid_capacity (line 4210) | def test_collection_array_field_invalid_capacity(self, max_capacity): method test_collection_string_array_without_max_length (line 4228) | def test_collection_string_array_without_max_length(self, enable_milvu... method test_collection_string_array_max_length_invalid (line 4246) | def test_collection_string_array_max_length_invalid(self, max_length): method test_collection_array_field_all_datatype (line 4264) | def test_collection_array_field_all_datatype(self, enable_milvus_local... class TestCollectionMultipleVectorValid (line 4338) | class TestCollectionMultipleVectorValid(TestcaseBase): method test_create_collection_multiple_vectors_all_supported_field_type (line 4349) | def test_create_collection_multiple_vectors_all_supported_field_type(s... method test_create_collection_multiple_vectors_different_dim (line 4386) | def test_create_collection_multiple_vectors_different_dim(self, primar... method test_create_collection_multiple_vectors_maximum_dim (line 4403) | def test_create_collection_multiple_vectors_maximum_dim(self, primary_... method test_create_collection_multiple_vectors_partition_key (line 4421) | def test_create_collection_multiple_vectors_partition_key(self, primar... class TestCollectionMultipleVectorInvalid (line 4458) | class TestCollectionMultipleVectorInvalid(TestcaseBase): method get_invalid_dim (line 4462) | def get_invalid_dim(self, request): method test_create_collection_multiple_vectors_same_vector_field_name (line 4475) | def test_create_collection_multiple_vectors_same_vector_field_name(sel... method test_create_collection_multiple_vectors_invalid_part_vector_field_name (line 4508) | def test_create_collection_multiple_vectors_invalid_part_vector_field_... method test_create_collection_multiple_vectors_invalid_all_vector_field_name (line 4531) | def test_create_collection_multiple_vectors_invalid_all_vector_field_n... method test_create_collection_multiple_vectors_invalid_dim (line 4553) | def test_create_collection_multiple_vectors_invalid_dim(self, get_inva... FILE: tests/utils/api_request.py class Error (line 10) | class Error: method __init__ (line 11) | def __init__(self, error): method __str__ (line 15) | def __str__(self): method __repr__ (line 18) | def __repr__(self): function api_request_catch (line 25) | def api_request_catch(): function api_request (line 53) | def api_request(_list, **kwargs): FILE: tests/utils/thread_util.py class ConcurrencyObj (line 6) | class ConcurrencyObj: method __init__ (line 7) | def __init__(self, func_obj: Callable, interval=0, stop_flag=False): method set_stop_flag (line 12) | def set_stop_flag(self, flag=True): method thread_func (line 15) | def thread_func(self, *args, **kwargs): method multi_func (line 21) | def multi_func(self, num, *args, **kwargs): FILE: tests/utils/util_common.py function gen_experiment_config (line 8) | def gen_experiment_config(yaml): function findkeys (line 16) | def findkeys(node, kv): function update_key_value (line 30) | def update_key_value(node, modify_k, modify_v): function update_key_name (line 43) | def update_key_name(node, modify_k, modify_k_new): function get_collections (line 58) | def get_collections(file_name="all_collections.json"): function get_deploy_test_collections (line 69) | def get_deploy_test_collections(): function get_chaos_test_collections (line 80) | def get_chaos_test_collections(): function wait_signal_to_apply_chaos (line 91) | def wait_signal_to_apply_chaos(): FILE: tests/utils/util_k8s.py function init_k8s_client_config (line 14) | def init_k8s_client_config(): function get_current_namespace (line 29) | def get_current_namespace(): function wait_pods_ready (line 35) | def wait_pods_ready(namespace, label_selector, expected_num=None, timeou... function get_pod_list (line 88) | def get_pod_list(namespace, label_selector): function get_pod_ip_name_pairs (line 111) | def get_pod_ip_name_pairs(namespace, label_selector): function get_querynode_id_pod_pairs (line 133) | def get_querynode_id_pod_pairs(namespace, label_selector): function get_milvus_instance_name (line 163) | def get_milvus_instance_name(namespace, host="127.0.0.1", port="19530", ... function get_milvus_deploy_tool (line 201) | def get_milvus_deploy_tool(namespace, milvus_sys): function export_pod_logs (line 231) | def export_pod_logs(namespace, label_selector, release_name=None): function read_pod_log (line 268) | def read_pod_log(namespace, label_selector, release_name): function get_metrics_querynode_sq_req_count (line 292) | def get_metrics_querynode_sq_req_count(): function get_svc_ip (line 318) | def get_svc_ip(namespace, label_selector): function parse_etcdctl_table_output (line 331) | def parse_etcdctl_table_output(output): function get_etcd_leader (line 344) | def get_etcd_leader(release_name, deploy_tool="helm"): function get_etcd_followers (line 370) | def get_etcd_followers(release_name, deploy_tool="helm"): function find_activate_standby_coord_pod (line 396) | def find_activate_standby_coord_pod(namespace, release_name, coord_type): function record_time_when_standby_activated (line 424) | def record_time_when_standby_activated(namespace, release_name, coord_ty... FILE: tests/utils/util_log.py class TestLog (line 7) | class TestLog: method __init__ (line 8) | def __init__(self, logger, log_debug, log_file, log_err, log_worker): FILE: tests/utils/util_pymilvus.py function create_target_index (line 57) | def create_target_index(index, field_name): function binary_support (line 61) | def binary_support(): function binary_metrics (line 65) | def binary_metrics(): function structure_metrics (line 69) | def structure_metrics(): function l2 (line 73) | def l2(x, y): function ip (line 77) | def ip(x, y): function jaccard (line 81) | def jaccard(x, y): function hamming (line 87) | def hamming(x, y): function tanimoto (line 93) | def tanimoto(x, y): function substructure (line 99) | def substructure(x, y): function superstructure (line 105) | def superstructure(x, y): function get_milvus (line 111) | def get_milvus(host, port, uri=None, handler=None, **kwargs): function reset_build_index_threshold (line 122) | def reset_build_index_threshold(connect): function disable_flush (line 126) | def disable_flush(connect): function enable_flush (line 130) | def enable_flush(connect): function gen_inaccuracy (line 137) | def gen_inaccuracy(num): function gen_vectors (line 141) | def gen_vectors(num, dim, is_normal=True): function gen_binary_vectors (line 153) | def gen_binary_vectors(num, dim): function gen_binary_sub_vectors (line 163) | def gen_binary_sub_vectors(vectors, length): function gen_binary_super_vectors (line 178) | def gen_binary_super_vectors(vectors, length): function gen_int_attr (line 191) | def gen_int_attr(row_num): function gen_float_attr (line 195) | def gen_float_attr(row_num): function gen_unique_str (line 199) | def gen_unique_str(str_value=None): function gen_primary_field (line 204) | def gen_primary_field(): function gen_single_filter_fields (line 208) | def gen_single_filter_fields(): function gen_single_vector_fields (line 216) | def gen_single_vector_fields(): function gen_default_fields (line 224) | def gen_default_fields(auto_id=True): function gen_binary_default_fields (line 236) | def gen_binary_default_fields(auto_id=True): function gen_entities (line 249) | def gen_entities(nb, start=0, is_normal=False): function gen_entities_new (line 259) | def gen_entities_new(nb, is_normal=False): function gen_entities_rows (line 269) | def gen_entities_rows(nb, is_normal=False, _id=True): function gen_binary_entities (line 292) | def gen_binary_entities(nb): function gen_binary_entities_new (line 302) | def gen_binary_entities_new(nb): function gen_binary_entities_rows (line 312) | def gen_binary_entities_rows(nb, _id=True): function gen_entities_by_fields (line 335) | def gen_entities_by_fields(fields, nb, dim, ids=None): function assert_equal_entity (line 353) | def assert_equal_entity(a, b): function gen_search_vectors_params (line 357) | def gen_search_vectors_params(field_name, entities, top_k, nq, search_pa... function update_query_expr (line 377) | def update_query_expr(src_query, keep_old=True, expr=None): function gen_default_vector_expr (line 386) | def gen_default_vector_expr(default_query): function gen_default_term_expr (line 390) | def gen_default_term_expr(keyword="term", field="int64", values=None): function update_term_expr (line 397) | def update_term_expr(src_term, terms): function gen_default_range_expr (line 404) | def gen_default_range_expr(keyword="range", field="int64", ranges=None): function update_range_expr (line 411) | def update_range_expr(src_range, ranges): function gen_invalid_range (line 418) | def gen_invalid_range(): function gen_valid_ranges (line 428) | def gen_valid_ranges(): function gen_invalid_term (line 439) | def gen_invalid_term(): function add_field_default (line 449) | def add_field_default(default_fields, type=DataType.INT64, field_name=No... function add_field (line 461) | def add_field(entities, field_name=None): function add_vector_field (line 475) | def add_vector_field(entities, is_normal=False): function remove_field (line 497) | def remove_field(entities): function remove_vector_field (line 502) | def remove_vector_field(entities): function update_field_name (line 507) | def update_field_name(entities, old_name, new_name): function update_field_type (line 515) | def update_field_type(entities, old_name, new_name): function update_field_value (line 523) | def update_field_value(entities, old_type, new_value): function update_field_name_row (line 532) | def update_field_name_row(entities, old_name, new_name): function update_field_type_row (line 543) | def update_field_type_row(entities, old_name, new_name): function add_vector_field (line 551) | def add_vector_field(nb, dimension=default_dim): function gen_segment_row_limits (line 561) | def gen_segment_row_limits(): function gen_invalid_ips (line 569) | def gen_invalid_ips(): function gen_invalid_uris (line 589) | def gen_invalid_uris(): function gen_invalid_strs (line 618) | def gen_invalid_strs(): function gen_invalid_field_types (line 635) | def gen_invalid_field_types(): function gen_invalid_metric_types (line 647) | def gen_invalid_metric_types(): function gen_invalid_ints (line 660) | def gen_invalid_ints(): function gen_invalid_params (line 676) | def gen_invalid_params(): function gen_invalid_vectors (line 690) | def gen_invalid_vectors(): function gen_invalid_index (line 712) | def gen_invalid_index(): function gen_index (line 734) | def gen_index(): function gen_simple_index (line 762) | def gen_simple_index(): function gen_binary_index (line 773) | def gen_binary_index(): function gen_normal_expressions (line 783) | def gen_normal_expressions(): function assert_equal_vector (line 792) | def assert_equal_vector(v1, v2): function restart_server (line 799) | def restart_server(helm_release_name): function compare_list_elements (line 887) | def compare_list_elements(_first, _second): function get_token (line 898) | def get_token(url): function get_tags (line 909) | def get_tags(url, token): function get_master_tags (line 929) | def get_master_tags(tags_list, tag_prefix="master", tag_latest="master-l... function get_config_digest (line 942) | def get_config_digest(url, token): function get_latest_tag (line 962) | def get_latest_tag(limit=100, tag_prefix="master", tag_latest="master-la... class MyThread (line 991) | class MyThread(threading.Thread): method __init__ (line 992) | def __init__(self, target, args=()): method run (line 995) | def run(self): method join (line 1003) | def join(self): FILE: tests/utils/wrapper.py function trace (line 9) | def trace(fmt=DEFAULT_FMT, prefix='test', flag=True): function counter (line 41) | def counter(func): function snooze (line 62) | def snooze(seconds, name='snooze'):