Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/zvec
/ functions
Functions
13,666 in github.com/alibaba/zvec
⨍
Functions
13,666
◇
Types & classes
2,186
↳
Endpoints
53
Method
test_init_with_empty_query
Test initialization fails with empty query.
python/tests/test_reranker.py:452
Method
test_init_with_encoding_type
Test initialization with different encoding types.
python/tests/test_embedding.py:1811
Method
test_init_with_env_api_key
(self)
python/tests/test_embedding.py:48
Method
test_init_with_env_api_key
Test initialization with API key from environment.
python/tests/test_embedding.py:175
Method
test_init_with_env_api_key
Test initialization with API key from environment.
python/tests/test_embedding.py:533
Method
test_init_with_env_api_key
(self)
python/tests/test_reranker.py:160
Method
test_init_with_explicit_api_key
(self)
python/tests/test_reranker.py:166
Method
test_init_with_invalid_corpus
Test initialization with invalid corpus elements.
python/tests/test_embedding.py:1788
Method
test_init_with_invalid_model_source
Test initialization with invalid model_source raises ValueError.
python/tests/test_embedding.py:897
Method
test_init_with_language_parameter
Test initialization with different language settings.
python/tests/test_embedding.py:1796
Method
test_init_with_missing_dashtext_library
Test initialization fails when dashtext library is not installed.
python/tests/test_embedding.py:1825
Method
test_init_with_mixed_config
(self)
python/tests/detail/test_db_config.py:117
Method
test_init_with_modelscope
Test initialization with ModelScope as model source.
python/tests/test_embedding.py:866
Method
test_init_with_valid_id
(self)
python/tests/test_params.py:567
Method
test_init_with_valid_vector
(self)
python/tests/test_params.py:574
Method
test_init_without_api_key
Test initialization fails without API key.
python/tests/test_embedding.py:181
Method
test_init_without_api_key
Test initialization fails without API key.
python/tests/test_embedding.py:539
Method
test_init_without_api_key
(self)
python/tests/test_reranker.py:154
Method
test_init_without_query
(self)
python/tests/test_reranker.py:150
Method
test_init_without_query
Test initialization fails without query.
python/tests/test_reranker.py:445
Method
test_init_without_valid_field_name_raises_error
(self, field_name)
python/tests/test_params.py:587
Method
test_insert
(self, full_collection: Collection)
python/tests/detail/test_collection_dml.py:614
Method
test_insert_and_fts_query
FTS-only collection supports insert + FTS query end-to-end.
python/tests/test_collection_fts.py:128
Method
test_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
Method
test_insert_batch
(self, full_collection: Collection, doc_num)
python/tests/detail/test_collection_dml.py:619
Method
test_insert_docid_invalid
(self, full_collection: Collection, doc_id)
python/tests/detail/test_collection_dml.py:655
Method
test_insert_docid_valid
(self, full_collection: Collection, doc_id)
python/tests/detail/test_collection_dml.py:650
Method
test_insert_duplicate
(self, full_collection: Collection)
python/tests/detail/test_collection_dml.py:625
Method
test_insert_fetch_and_query_writer_segment
(self, tmp_path_factory)
python/tests/test_collection_ivf_rabitq.py:165
Method
test_insert_fields_invalid
( self, full_collection: Collection, field_name: str, field_values )
python/tests/detail/test_collection_dml.py:696
Method
test_insert_fields_valid
( self, full_collection_new: Collection, field_name: str, field_values, request )
python/tests/detail/test_collection_dml.py:672
Method
test_insert_missing_docs
(self, test_collection: Collection)
python/tests/detail/test_collection_exception.py:150
Method
test_insert_multiple_docs
Test inserting multiple documents.
python/tests/test_collection_diskann.py:311
Method
test_insert_multiple_docs
Test inserting multiple documents.
python/tests/test_collection_hnsw_rabitq.py:228
Method
test_insert_single_doc
Test inserting a single document.
python/tests/test_collection_diskann.py:301
Method
test_insert_single_doc
Test inserting a single document.
python/tests/test_collection_hnsw_rabitq.py:216
Method
test_insert_vector_invalid
( self, full_collection: Collection, vector_field: str, vector_values )
python/tests/detail/test_collection_dml.py:726
Method
test_insert_vector_valid
( self, full_collection: Collection, vector_field: str, vector_values )
python/tests/detail/test_collection_dml.py:713
Function
test_int8_rotate_and_ip_fall_back_to_legacy
(tmp_path)
python/tests/test_turbo_flat_int8.py:167
Method
test_integration_multiple_inputs
Integration test with multiple different inputs.
python/tests/test_embedding.py:1703
Method
test_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
Function
test_internal_ids_survive_deletion_and_compaction
(tmp_path, compact)
python/tests/test_query_internal_ids.py:498
Method
test_invalid_collection_name
( self, collection_temp_dir, collection_name, collection_option, sampl
python/tests/detail/test_collection_create_and_open.py:181
Function
test_invalid_collection_names_report_the_reason
(tmp_path, name, reason)
python/tests/test_name_validation.py:145
Function
test_invalid_dictionary_override_does_not_use_embedded_default
( tmp_path, config_source )
python/tests/test_jieba_default_dict.py:212
Method
test_invalid_empty_fields_and_vectors
( self, collection_temp_dir, collection_option )
python/tests/detail/test_collection_create_and_open.py:764
Method
test_invalid_field_and_vector_name
( self, collection_temp_dir, collection_option: CollectionOption, invalid_fiel
python/tests/detail/test_collection_ddl.py:474
Method
test_invalid_field_name
( self, collection_temp_dir, collection_option, field_name )
python/tests/detail/test_collection_create_and_open.py:233
Method
test_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
Function
test_invalid_id_rejects_batch_before_writing
(collection, operation, doc_id, reason)
python/tests/test_name_validation.py:87
Method
test_invalid_long_field_names
( self, collection_option, collection_temp_dir, long_name )
python/tests/detail/test_collection_create_and_open.py:732
Method
test_invalid_option
( self, collection_temp_dir, basic_schema, read_only, enable_mmap )
python/tests/detail/test_collection_create_and_open.py:665
Method
test_invalid_parameter_types
(self, test_collection: Collection)
python/tests/detail/test_collection_exception.py:220
Method
test_invalid_path
(self, basic_schema, collection_option, invalid_path)
python/tests/detail/test_collection_create_and_open.py:798
Method
test_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
Method
test_invalid_vector_name
( self, collection_temp_dir, collection_option, vector_name )
python/tests/detail/test_collection_create_and_open.py:260
Function
test_io_backend_type_has_member
(member)
python/tests/test_typing.py:133
Method
test_isinstance_compatibility
(self)
python/tests/test_query_executor.py:156
Method
test_isinstance_compatibility
(self)
python/tests/test_params.py:625
Function
test_iter_docs_after_delete
Deleted docs must not appear in iteration.
python/tests/test_iter_docs.py:198
Function
test_iter_docs_basic
Insert N docs, iterate, verify count + PK + scalar fields.
python/tests/test_iter_docs.py:80
Function
test_iter_docs_context_manager
with-statement closes the iterator, even on early break.
python/tests/test_iter_docs.py:164
Function
test_iter_docs_early_close_releases_slot
Closing the iterator early releases the active-iterator slot.
python/tests/test_iter_docs.py:147
Function
test_iter_docs_empty
Empty collection yields nothing.
python/tests/test_iter_docs.py:192
Function
test_iter_docs_exclude_vector
include_vector=False omits vector fields.
python/tests/test_iter_docs.py:117
Function
test_iter_docs_include_vector
include_vector=True (default) returns vectors of correct dimension.
python/tests/test_iter_docs.py:103
Function
test_iter_docs_is_generator
iter_docs returns a lazy iterator (constant memory).
python/tests/test_iter_docs.py:272
Function
test_iter_docs_isolation
Docs written after the iterator is created are not visible.
python/tests/test_iter_docs.py:214
Function
test_iter_docs_output_fields
output_fields limits returned scalar fields.
python/tests/test_iter_docs.py:133
Function
test_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
Function
test_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
Function
test_legacy_hnsw_pickle
()
python/tests/test_ivf_pq.py:192
Method
test_legacy_pickle_keeps_one_pass
(self)
python/tests/test_vamana.py:315
Function
test_legacy_quantizer_and_ivf_pickle
()
python/tests/test_ivf_pq.py:56
Method
test_log_file_size_invalid
(self)
python/tests/detail/test_db_config.py:299
Method
test_log_level_invalid
(self)
python/tests/detail/test_db_config.py:250
Method
test_log_level_valid
(self)
python/tests/detail/test_db_config.py:246
Method
test_log_overdue_days_invalid
(self)
python/tests/detail/test_db_config.py:310
Method
test_log_type_invalid
(self)
python/tests/detail/test_db_config.py:235
Method
test_log_type_valid
(self)
python/tests/detail/test_db_config.py:231
Function
test_long_field_name_and_rejected_rename_preserve_data
(tmp_path)
python/tests/test_name_validation.py:176
Method
test_memory_limit_invalid_value
(self)
python/tests/detail/test_db_config.py:140
Method
test_memory_limit_min_valid
(self)
python/tests/detail/test_db_config.py:134
Function
test_metric_type_has_member
(member)
python/tests/test_typing.py:75
Method
test_missing_required_parameters
(self, test_collection: Collection)
python/tests/detail/test_collection_exception.py:225
Method
test_model_loading_error
Test handling of model loading failure.
python/tests/test_embedding.py:1057
Method
test_model_loading_failure
Test handling of model loading failure.
python/tests/test_embedding.py:1414
Method
test_model_properties
Test model_name and model_source properties.
python/tests/test_embedding.py:1151
Method
test_model_property
(self)
python/tests/test_embedding.py:59
Method
test_model_property
Test model property.
python/tests/test_embedding.py:186
Method
test_model_property
Test model property.
python/tests/test_embedding.py:559
Method
test_model_property
(self)
python/tests/test_reranker.py:173
Method
test_modelscope_import_error
Test handling of ModelScope import error.
python/tests/test_embedding.py:1075
Method
test_modelscope_source
Test initialization with ModelScope source.
python/tests/test_embedding.py:1625
Method
test_multi_vector_rrf_scores
(self)
python/tests/detail/test_collection_dql.py:1273
Method
test_multiple_vectors_allowed
Two vector queries on the same field are allowed with a reranker.
python/tests/test_collection_fts_vector_hybrid.py:301
Method
test_native_group_by_rejects_invalid_group_params
Native validation must run before the empty-collection return.
python/tests/test_collection_group_by.py:344
Function
test_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
Method
test_new_doc_upsert
(self, full_collection: Collection)
python/tests/detail/test_collection_dml.py:950
Method
test_new_doc_upsert_batch
(self, full_collection: Collection, doc_num)
python/tests/detail/test_collection_dml.py:955
← previous
next →
12,401–12,500 of 13,666, ranked by callers