MCPcopy Create free account

hub / github.com/alibaba/zvec / functions

Functions13,666 in github.com/alibaba/zvec

Methodtest_read_write_locking
(self, test_collection: Collection)
python/tests/detail/test_collection_concurrency.py:281
Methodtest_readonly
(self)
python/tests/test_params.py:104
Methodtest_readonly
(self)
python/tests/test_schema.py:65
Methodtest_readonly
(self)
python/tests/test_schema.py:111
Methodtest_readonly_attributes
(self, attr)
python/tests/test_params.py:160
Methodtest_readonly_attributes
(self, attr)
python/tests/test_params.py:196
Methodtest_readonly_attributes
(self, attr)
python/tests/test_params.py:229
Methodtest_readonly_attributes
(self, attr)
python/tests/test_params.py:291
Methodtest_readonly_attributes
(self, attr)
python/tests/test_params.py:323
Methodtest_readonly_attributes
(self, attr)
python/tests/test_params.py:349
Methodtest_readonly_attributes
(self, attr)
python/tests/test_params.py:375
Methodtest_readonly_attributes
(self, attr)
python/tests/test_params.py:401
Methodtest_readonly_attributes
(self, attr)
python/tests/test_params.py:427
Methodtest_readonly_attributes
(self)
python/tests/test_params.py:471
Methodtest_readonly_attributes
(self)
python/tests/test_params.py:528
Methodtest_readonly_ef_search
(self)
python/tests/test_vamana.py:374
Functiontest_readonly_files_support_queries
(tmp_path, enable_mmap, kind)
python/tests/test_readonly_storage.py:178
Methodtest_readonly_properties
(self, field, kwargs)
python/tests/test_vamana.py:266
Methodtest_readonly_property
(self)
python/tests/test_hnsw_contiguous_memory.py:166
Methodtest_real_dashtext_bm25_embedding
Integration test with real DashText library. To run this test: export ZVEC_RUN_INTEGRATION_TESTS=1 pip install dashte
python/tests/test_embedding.py:2052
Methodtest_real_embed_success
Integration test with real DashScope API. To run this test, set environment variable: export ZVEC_RUN_INTEGRATION_TESTS=1
python/tests/test_embedding.py:140
Methodtest_real_embed_success
Integration test with real DashScope API. To run this test, set environment variable: export ZVEC_RUN_INTEGRATION_TESTS=1
python/tests/test_embedding.py:489
Methodtest_real_embed_success
Integration test with real OpenAI API. To run this test, set environment variable: export ZVEC_RUN_INTEGRATION_TESTS=1
python/tests/test_embedding.py:797
Methodtest_real_embedding_generation
Integration test with real model (requires sentence-transformers). To run this test, set environment variable: export ZVEC_RUN_IN
python/tests/test_embedding.py:1117
Methodtest_real_qwen_rerank
Integration test with real DashScope TextReRank API. To run this test, set environment variables: export ZVEC_RUN_INTEGRATION_TES
python/tests/test_reranker.py:343
Methodtest_real_sentence_transformer_rerank
Integration test with real SentenceTransformer cross-encoder model. To run this test, set environment variable: export ZVEC_RUN_I
python/tests/test_reranker.py:855
Methodtest_recall_with_single_vector_valid_2000
( self, full_collection_new: Collection, doc_num, query_num, top_k,
python/tests/detail/test_collection_recall.py:617
Methodtest_recall_with_single_vector_valid_500
( self, full_collection_new: Collection, doc_num, query_num, top_k,
python/tests/detail/test_collection_recall.py:410
Functiontest_refine_candidate_counts_and_parameter_switches
( tmp_path, quantizer, flat_type, deleted, index_kind )
python/tests/test_query_internal_ids_refine.py:53
Functiontest_refine_flat_native_storage_roundtrip
( tmp_path, configured_flat_data_type, effective_flat_data_type, index_kind, use_flat_cont
python/tests/test_refine_flat_storage.py:167
Functiontest_refine_scale_defaults_and_round_trip
(param_type, default_scale)
python/tests/test_refine_query_params.py:21
Methodtest_reopen_collection
(self, tmp_path_factory)
python/tests/detail/test_collection_open.py:743
Methodtest_repeated_initialization
(self)
python/tests/detail/test_db_config.py:126
Methodtest_repr
(self)
python/tests/test_params.py:665
Methodtest_repr_contains_flag
(self)
python/tests/test_hnsw_contiguous_memory.py:158
Methodtest_repr_contains_key_fields
(self)
python/tests/test_vamana.py:223
Methodtest_repr_contains_key_fields
(self)
python/tests/test_vamana.py:368
Functiontest_require_module_calls_importlib
(mock_import_module)
python/tests/test_util.py:82
Functiontest_require_module_import_error
()
python/tests/test_util.py:37
Functiontest_require_module_submodule_import_error
()
python/tests/test_util.py:58
Functiontest_require_module_success
()
python/tests/test_util.py:25
Functiontest_require_module_with_mitigation_import_error
()
python/tests/test_util.py:45
Functiontest_require_module_with_submodule_success
()
python/tests/test_util.py:31
Functiontest_require_module_wraps_original_exception
(mock_import_module)
python/tests/test_util.py:71
Methodtest_rerank
(self)
python/tests/test_reranker.py:47
Methodtest_rerank
(self)
python/tests/test_reranker.py:88
Methodtest_rerank
(self)
python/tests/test_reranker.py:110
Methodtest_rerank_api_error
(self, mock_require_module)
python/tests/test_reranker.py:302
Methodtest_rerank_deduplicate_documents
(self, mock_require_module)
python/tests/test_reranker.py:272
Methodtest_rerank_deduplicate_documents
Test rerank deduplicates documents across multiple vectors.
python/tests/test_reranker.py:718
Methodtest_rerank_empty_results
(self)
python/tests/test_reranker.py:197
Methodtest_rerank_empty_results
Test rerank with empty query_results.
python/tests/test_reranker.py:570
Methodtest_rerank_field_property
(self)
python/tests/test_reranker.py:193
Methodtest_rerank_field_property
Test rerank_field property.
python/tests/test_reranker.py:538
Methodtest_rerank_model_error
Test rerank handles model prediction errors.
python/tests/test_reranker.py:795
Methodtest_rerank_no_valid_documents
(self)
python/tests/test_reranker.py:204
Methodtest_rerank_no_valid_documents
Test rerank with documents missing rerank_field.
python/tests/test_reranker.py:586
Methodtest_rerank_runtime_error
(self, mock_require_module)
python/tests/test_reranker.py:324
Methodtest_rerank_skip_empty_content
(self)
python/tests/test_reranker.py:213
Methodtest_rerank_skip_empty_content
Test rerank skips documents with empty content.
python/tests/test_reranker.py:605
Methodtest_rerank_sorting
Test rerank sorts documents by score in descending order.
python/tests/test_reranker.py:756
Methodtest_rerank_success
(self, mock_require_module)
python/tests/test_reranker.py:227
Methodtest_rerank_success
Test successful rerank with mocked model.
python/tests/test_reranker.py:628
Methodtest_rerank_with_custom_batch_size
Test rerank uses custom batch_size.
python/tests/test_reranker.py:817
Methodtest_rerank_with_topn_limit
Test rerank respects topn limit.
python/tests/test_reranker.py:680
Methodtest_resource_management
(self, test_collection: Collection)
python/tests/detail/test_collection_exception.py:295
Methodtest_result_parity_with_and_without_contiguous_memory
( self, tmp_path_factory, rng, )
python/tests/test_hnsw_contiguous_memory.py:348
Functiontest_reused_inline_and_default_params_and_close
(collection)
python/tests/test_query_internal_ids.py:411
Methodtest_rrf_score_calculation_formula
(self)
python/tests/detail/test_collection_dql.py:1249
Methodtest_scalar_index_operation
( self, full_collection: Collection, field_name: str, index_type: IndexType,
python/tests/detail/test_collection_ddl.py:70
Methodtest_schema_round_trip
The Vamana index params survive the schema persist path.
python/tests/test_vamana.py:450
Methodtest_schema_round_trip
(self, tmp_path_factory)
python/tests/test_collection_ivf_rabitq.py:146
Methodtest_search_query_fts_field
_SearchQuery should have fts field.
python/tests/test_fts_query.py:143
Methodtest_search_query_pickle_with_fts
_SearchQuery with fts should survive pickling.
python/tests/test_fts_query.py:158
Methodtest_search_query_pickle_without_fts
_SearchQuery without fts should survive pickling.
python/tests/test_fts_query.py:176
Methodtest_semantic_similarity
Test semantic similarity between similar and different texts.
python/tests/test_embedding.py:1020
Methodtest_sparse_vector_properties
Test properties of sparse vectors (sparsity, non-zero values, sorted order).
python/tests/test_embedding.py:1461
Methodtest_status_code
(self)
python/tests/test_typing.py:190
Functiontest_status_code_has_member
(member)
python/tests/test_typing.py:182
Methodtest_status_message
(self)
python/tests/test_typing.py:194
Methodtest_status_ok
(self)
python/tests/test_typing.py:201
Functiontest_surrogate_id_has_a_readable_encoding_error
(collection, operation)
python/tests/test_name_validation.py:197
Functiontest_surrogate_schema_name_has_a_readable_encoding_error
(kind)
python/tests/test_name_validation.py:207
Methodtest_thread_binding_options_are_not_exposed
(self)
python/tests/detail/test_db_config.py:153
Methodtest_thread_safety_concurrent_queries
Verify no crashes or data corruption under concurrent query load.
python/tests/test_gil_release.py:224
Methodtest_to_dict
(self)
python/tests/test_params.py:265
Methodtest_to_dict
(self)
python/tests/test_params.py:659
Methodtest_to_dict_includes_all_fields
(self)
python/tests/test_vamana.py:195
Methodtest_to_dict_includes_use_contiguous_memory
(self)
python/tests/test_hnsw_contiguous_memory.py:138
Methodtest_top_level_exports
(self)
python/tests/test_vamana.py:413
Functiontest_turbo_int8_fetch_dequantizes
(tmp_path)
python/tests/test_turbo_flat_int8.py:147
Functiontest_turbo_int8_flat_recall_vs_brute_force
(tmp_path)
python/tests/test_turbo_flat_int8.py:114
Functiontest_turbo_int8_flat_search_reopen
(tmp_path, metric)
python/tests/test_turbo_flat_int8.py:82
Functiontest_turbo_int8_hnsw_python_registration_roundtrip
Keep Turbo's factory registration reachable from the Python module.
python/tests/test_turbo_hnsw_int8.py:48
Functiontest_uniform_index_support_matrix
( tmp_path, param_type, index_name, supported, query_type, metric, quantizer, levels )
python/tests/test_uniform_quantization_support_matrix.py:78
Functiontest_uniform_quantization_queries_untrained_segments
Raw-only writes stay searchable alongside trained graph segments.
python/tests/test_uniform_quantization.py:157
Functiontest_uniform_quantization_rejects_non_l2
( tmp_path, param_type, metric_type, quantize_type )
python/tests/test_uniform_quantization.py:122
Functiontest_uniform_quantization_rejects_unsupported_index
( tmp_path, quantize_type, operation, param_type, index_name )
python/tests/test_uniform_quantization.py:40
Functiontest_uniform_quantization_survives_reopen
(tmp_path, quantize_type, index_type)
python/tests/test_uniform_quantization.py:272
Functiontest_uniform_quantizer_uses_flat_storage_vectors
Uniform training and encoding must consume the configured Flat type.
python/tests/test_uniform_quantization.py:361
← previousnext →12,601–12,700 of 13,666, ranked by callers