MCPcopy Create free account

hub / github.com/alibaba/zvec / functions

Functions13,666 in github.com/alibaba/zvec

Methodtest_init_with_empty_query
Test initialization fails with empty query.
python/tests/test_reranker.py:452
Methodtest_init_with_encoding_type
Test initialization with different encoding types.
python/tests/test_embedding.py:1811
Methodtest_init_with_env_api_key
(self)
python/tests/test_embedding.py:48
Methodtest_init_with_env_api_key
Test initialization with API key from environment.
python/tests/test_embedding.py:175
Methodtest_init_with_env_api_key
Test initialization with API key from environment.
python/tests/test_embedding.py:533
Methodtest_init_with_env_api_key
(self)
python/tests/test_reranker.py:160
Methodtest_init_with_explicit_api_key
(self)
python/tests/test_reranker.py:166
Methodtest_init_with_invalid_corpus
Test initialization with invalid corpus elements.
python/tests/test_embedding.py:1788
Methodtest_init_with_invalid_model_source
Test initialization with invalid model_source raises ValueError.
python/tests/test_embedding.py:897
Methodtest_init_with_language_parameter
Test initialization with different language settings.
python/tests/test_embedding.py:1796
Methodtest_init_with_missing_dashtext_library
Test initialization fails when dashtext library is not installed.
python/tests/test_embedding.py:1825
Methodtest_init_with_mixed_config
(self)
python/tests/detail/test_db_config.py:117
Methodtest_init_with_modelscope
Test initialization with ModelScope as model source.
python/tests/test_embedding.py:866
Methodtest_init_with_valid_id
(self)
python/tests/test_params.py:567
Methodtest_init_with_valid_vector
(self)
python/tests/test_params.py:574
Methodtest_init_without_api_key
Test initialization fails without API key.
python/tests/test_embedding.py:181
Methodtest_init_without_api_key
Test initialization fails without API key.
python/tests/test_embedding.py:539
Methodtest_init_without_api_key
(self)
python/tests/test_reranker.py:154
Methodtest_init_without_query
(self)
python/tests/test_reranker.py:150
Methodtest_init_without_query
Test initialization fails without query.
python/tests/test_reranker.py:445
Methodtest_init_without_valid_field_name_raises_error
(self, field_name)
python/tests/test_params.py:587
Methodtest_insert
(self, full_collection: Collection)
python/tests/detail/test_collection_dml.py:614
Methodtest_insert_and_fts_query
FTS-only collection supports insert + FTS query end-to-end.
python/tests/test_collection_fts.py:128
Methodtest_insert_and_query_self_recall
Top-1 of a query equal to an inserted vector must be that vector. Exercises the writer-segment Vamana streamer end-to-end through the
python/tests/test_vamana.py:482
Methodtest_insert_batch
(self, full_collection: Collection, doc_num)
python/tests/detail/test_collection_dml.py:619
Methodtest_insert_docid_invalid
(self, full_collection: Collection, doc_id)
python/tests/detail/test_collection_dml.py:655
Methodtest_insert_docid_valid
(self, full_collection: Collection, doc_id)
python/tests/detail/test_collection_dml.py:650
Methodtest_insert_duplicate
(self, full_collection: Collection)
python/tests/detail/test_collection_dml.py:625
Methodtest_insert_fetch_and_query_writer_segment
(self, tmp_path_factory)
python/tests/test_collection_ivf_rabitq.py:165
Methodtest_insert_fields_invalid
( self, full_collection: Collection, field_name: str, field_values )
python/tests/detail/test_collection_dml.py:696
Methodtest_insert_fields_valid
( self, full_collection_new: Collection, field_name: str, field_values, request )
python/tests/detail/test_collection_dml.py:672
Methodtest_insert_missing_docs
(self, test_collection: Collection)
python/tests/detail/test_collection_exception.py:150
Methodtest_insert_multiple_docs
Test inserting multiple documents.
python/tests/test_collection_diskann.py:311
Methodtest_insert_multiple_docs
Test inserting multiple documents.
python/tests/test_collection_hnsw_rabitq.py:228
Methodtest_insert_single_doc
Test inserting a single document.
python/tests/test_collection_diskann.py:301
Methodtest_insert_single_doc
Test inserting a single document.
python/tests/test_collection_hnsw_rabitq.py:216
Methodtest_insert_vector_invalid
( self, full_collection: Collection, vector_field: str, vector_values )
python/tests/detail/test_collection_dml.py:726
Methodtest_insert_vector_valid
( self, full_collection: Collection, vector_field: str, vector_values )
python/tests/detail/test_collection_dml.py:713
Functiontest_int8_rotate_and_ip_fall_back_to_legacy
(tmp_path)
python/tests/test_turbo_flat_int8.py:167
Methodtest_integration_multiple_inputs
Integration test with multiple different inputs.
python/tests/test_embedding.py:1703
Methodtest_integration_real_model
Integration test with real SPLADE model (requires model download). This test uses naver/splade-cocondenser-ensembledistil instead of
python/tests/test_embedding.py:1651
Functiontest_internal_ids_survive_deletion_and_compaction
(tmp_path, compact)
python/tests/test_query_internal_ids.py:498
Methodtest_invalid_collection_name
( self, collection_temp_dir, collection_name, collection_option, sampl
python/tests/detail/test_collection_create_and_open.py:181
Functiontest_invalid_collection_names_report_the_reason
(tmp_path, name, reason)
python/tests/test_name_validation.py:145
Functiontest_invalid_dictionary_override_does_not_use_embedded_default
( tmp_path, config_source )
python/tests/test_jieba_default_dict.py:212
Methodtest_invalid_empty_fields_and_vectors
( self, collection_temp_dir, collection_option )
python/tests/detail/test_collection_create_and_open.py:764
Methodtest_invalid_field_and_vector_name
( self, collection_temp_dir, collection_option: CollectionOption, invalid_fiel
python/tests/detail/test_collection_ddl.py:474
Methodtest_invalid_field_name
( self, collection_temp_dir, collection_option, field_name )
python/tests/detail/test_collection_create_and_open.py:233
Methodtest_invalid_field_vector_size_dimension
( self, collection_temp_dir, collection_option, vector_list_len, field
python/tests/detail/test_collection_create_and_open.py:338
Functiontest_invalid_id_rejects_batch_before_writing
(collection, operation, doc_id, reason)
python/tests/test_name_validation.py:87
Methodtest_invalid_long_field_names
( self, collection_option, collection_temp_dir, long_name )
python/tests/detail/test_collection_create_and_open.py:732
Methodtest_invalid_option
( self, collection_temp_dir, basic_schema, read_only, enable_mmap )
python/tests/detail/test_collection_create_and_open.py:665
Methodtest_invalid_parameter_types
(self, test_collection: Collection)
python/tests/detail/test_collection_exception.py:220
Methodtest_invalid_path
(self, basic_schema, collection_option, invalid_path)
python/tests/detail/test_collection_create_and_open.py:798
Methodtest_invalid_vector_index_params
( self, data_type, index_param, single_vector_schema_with_index_param,
python/tests/detail/test_collection_create_and_open.py:520
Methodtest_invalid_vector_name
( self, collection_temp_dir, collection_option, vector_name )
python/tests/detail/test_collection_create_and_open.py:260
Functiontest_io_backend_type_has_member
(member)
python/tests/test_typing.py:133
Methodtest_isinstance_compatibility
(self)
python/tests/test_query_executor.py:156
Methodtest_isinstance_compatibility
(self)
python/tests/test_params.py:625
Functiontest_iter_docs_after_delete
Deleted docs must not appear in iteration.
python/tests/test_iter_docs.py:198
Functiontest_iter_docs_basic
Insert N docs, iterate, verify count + PK + scalar fields.
python/tests/test_iter_docs.py:80
Functiontest_iter_docs_context_manager
with-statement closes the iterator, even on early break.
python/tests/test_iter_docs.py:164
Functiontest_iter_docs_early_close_releases_slot
Closing the iterator early releases the active-iterator slot.
python/tests/test_iter_docs.py:147
Functiontest_iter_docs_empty
Empty collection yields nothing.
python/tests/test_iter_docs.py:192
Functiontest_iter_docs_exclude_vector
include_vector=False omits vector fields.
python/tests/test_iter_docs.py:117
Functiontest_iter_docs_include_vector
include_vector=True (default) returns vectors of correct dimension.
python/tests/test_iter_docs.py:103
Functiontest_iter_docs_is_generator
iter_docs returns a lazy iterator (constant memory).
python/tests/test_iter_docs.py:272
Functiontest_iter_docs_isolation
Docs written after the iterator is created are not visible.
python/tests/test_iter_docs.py:214
Functiontest_iter_docs_output_fields
output_fields limits returned scalar fields.
python/tests/test_iter_docs.py:133
Functiontest_iter_docs_snapshot_at_call_time
The snapshot is taken when iter_docs() is called, not at first next().
python/tests/test_iter_docs.py:249
Functiontest_jieba_works_without_explicit_dict_path
A fresh import can index and search CJK text without init or dict paths.
python/tests/test_jieba_default_dict.py:161
Functiontest_legacy_hnsw_pickle
()
python/tests/test_ivf_pq.py:192
Methodtest_legacy_pickle_keeps_one_pass
(self)
python/tests/test_vamana.py:315
Functiontest_legacy_quantizer_and_ivf_pickle
()
python/tests/test_ivf_pq.py:56
Methodtest_log_file_size_invalid
(self)
python/tests/detail/test_db_config.py:299
Methodtest_log_level_invalid
(self)
python/tests/detail/test_db_config.py:250
Methodtest_log_level_valid
(self)
python/tests/detail/test_db_config.py:246
Methodtest_log_overdue_days_invalid
(self)
python/tests/detail/test_db_config.py:310
Methodtest_log_type_invalid
(self)
python/tests/detail/test_db_config.py:235
Methodtest_log_type_valid
(self)
python/tests/detail/test_db_config.py:231
Functiontest_long_field_name_and_rejected_rename_preserve_data
(tmp_path)
python/tests/test_name_validation.py:176
Methodtest_memory_limit_invalid_value
(self)
python/tests/detail/test_db_config.py:140
Methodtest_memory_limit_min_valid
(self)
python/tests/detail/test_db_config.py:134
Functiontest_metric_type_has_member
(member)
python/tests/test_typing.py:75
Methodtest_missing_required_parameters
(self, test_collection: Collection)
python/tests/detail/test_collection_exception.py:225
Methodtest_model_loading_error
Test handling of model loading failure.
python/tests/test_embedding.py:1057
Methodtest_model_loading_failure
Test handling of model loading failure.
python/tests/test_embedding.py:1414
Methodtest_model_properties
Test model_name and model_source properties.
python/tests/test_embedding.py:1151
Methodtest_model_property
(self)
python/tests/test_embedding.py:59
Methodtest_model_property
Test model property.
python/tests/test_embedding.py:186
Methodtest_model_property
Test model property.
python/tests/test_embedding.py:559
Methodtest_model_property
(self)
python/tests/test_reranker.py:173
Methodtest_modelscope_import_error
Test handling of ModelScope import error.
python/tests/test_embedding.py:1075
Methodtest_modelscope_source
Test initialization with ModelScope source.
python/tests/test_embedding.py:1625
Methodtest_multi_vector_rrf_scores
(self)
python/tests/detail/test_collection_dql.py:1273
Methodtest_multiple_vectors_allowed
Two vector queries on the same field are allowed with a reranker.
python/tests/test_collection_fts_vector_hybrid.py:301
Methodtest_native_group_by_rejects_invalid_group_params
Native validation must run before the empty-collection return.
python/tests/test_collection_group_by.py:344
Functiontest_native_platform_lifecycle
Exercise the compiled index and its disk reader, including read-only reopen. Normalized vectors have an unambiguous self-match for all three metr
python/tests/test_collection_diskann.py:56
Methodtest_new_doc_upsert
(self, full_collection: Collection)
python/tests/detail/test_collection_dml.py:950
Methodtest_new_doc_upsert_batch
(self, full_collection: Collection, doc_num)
python/tests/detail/test_collection_dml.py:955
← previousnext →12,401–12,500 of 13,666, ranked by callers