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
Function
test_environment_dictionary_override
ZVEC_JIEBA_DICT_DIR selects an external default dictionary.
python/tests/test_jieba_default_dict.py:190
Method
test_equality
(self)
python/tests/test_params.py:652
Method
test_exception_resource_cleanup
(self, test_collection: Collection)
python/tests/detail/test_collection_exception.py:325
Method
test_execute_python_pipeline
(self)
python/tests/test_query_executor.py:289
Method
test_execute_single_query_batch_materializes
(self)
python/tests/test_query_executor.py:312
Method
test_existing_doc_upsert
(self, full_collection: Collection)
python/tests/detail/test_collection_dml.py:961
Function
test_existing_pickle_formats
(param_type, state, scale)
python/tests/test_refine_query_params.py:59
Function
test_existing_positional_extra_params_still_work
(param_type)
python/tests/test_refine_query_params.py:66
Method
test_extra_params
Test extra_params property.
python/tests/test_embedding.py:569
Function
test_falsey_alter_arguments_are_not_silently_ignored
(tmp_path, invalid, argument)
python/tests/test_name_validation.py:222
Method
test_fetch_empty_ids
(self, full_collection: Collection)
python/tests/detail/test_collection_dql.py:270
Method
test_fetch_missing_ids
(self, test_collection: Collection)
python/tests/detail/test_collection_exception.py:178
Method
test_fetch_multiple_docs
Test fetching multiple documents by IDs.
python/tests/test_collection_diskann.py:343
Method
test_fetch_multiple_docs
Test fetching multiple documents by IDs.
python/tests/test_collection_hnsw_rabitq.py:260
Method
test_fetch_non_existing
(self, full_collection: Collection)
python/tests/detail/test_collection_dql.py:252
Method
test_fetch_nonexistent_doc
Test fetching a non-existent document.
python/tests/test_collection_diskann.py:358
Method
test_fetch_nonexistent_doc
Test fetching a non-existent document.
python/tests/test_collection_hnsw_rabitq.py:275
Method
test_fetch_partial_non_existing
(self, full_collection: Collection, doc_num)
python/tests/detail/test_collection_dql.py:257
Method
test_fetch_single_doc
Test fetching a single document by ID.
python/tests/test_collection_diskann.py:329
Method
test_fetch_single_doc
Test fetching a single document by ID.
python/tests/test_collection_hnsw_rabitq.py:246
Method
test_fetch_with_include_vector
Test that fetch respects include_vector parameter.
python/tests/detail/test_collection_dql.py:340
Method
test_fetch_with_output_fields
Test that fetch respects output_fields parameter.
python/tests/detail/test_collection_dql.py:277
Function
test_field_and_collection_caches_are_independent
(tmp_path)
python/tests/test_query_internal_ids.py:639
Function
test_field_dictionary_overrides_environment
(tmp_path, external_dict_dir)
python/tests/test_jieba_default_dict.py:200
Function
test_fp16_cosine_refine_uses_native_flat_pipeline
(tmp_path, index_kind)
python/tests/test_refine_flat_storage.py:425
Method
test_fts_match_string_only
Query with only match_string in Fts should be valid.
python/tests/test_fts_query.py:36
Method
test_fts_query_pickle
_Fts should support pickling.
python/tests/test_fts_query.py:130
Method
test_fts_query_set_fields
Setting fields on _Fts should work.
python/tests/test_fts_query.py:118
Method
test_fts_query_string_and_match_string_mutually_exclusive
Cannot provide both query_string and match_string in Fts.
python/tests/test_fts_query.py:44
Method
test_fts_query_string_only
Query with only query_string in Fts should be valid.
python/tests/test_fts_query.py:26
Method
test_fts_without_vector_or_id
Query with only FTS (no vector, no id) should be valid.
python/tests/test_fts_query.py:98
Method
test_gil_released_during_query
Prove the GIL is explicitly released during C++ Query calls. Strategy: - Calibrate per-query latency on the current platform (slow ar
python/tests/test_gil_release.py:86
Method
test_group_by_after_optimize
(self, tmp_path_factory)
python/tests/test_collection_ivf_rabitq.py:223
Method
test_group_by_defaults
(self, group_by_collection: Collection)
python/tests/test_collection_group_by.py:204
Method
test_group_by_empty_collection
Group-by on an empty collection returns an empty list.
python/tests/test_collection_group_by.py:384
Method
test_group_by_flat
Group-by search over a FLAT index.
python/tests/test_collection_group_by.py:225
Method
test_group_by_hnsw
Group-by search over an HNSW index.
python/tests/test_collection_group_by.py:212
Method
test_group_by_include_vector
Group-by search returns original vectors when requested.
python/tests/test_collection_group_by.py:252
Method
test_group_by_invalid_field
Group-by with a non-existent vector field raises an error.
python/tests/test_collection_group_by.py:284
Method
test_group_by_output_fields
Group-by search honors scalar output field selection.
python/tests/test_collection_group_by.py:269
Function
test_group_by_public_api_exports
()
python/tests/test_collection_group_by.py:395
Method
test_group_by_query_by_id
(self, group_by_collection: Collection)
python/tests/test_collection_group_by.py:292
Method
test_group_by_rejects_invalid_group_params
( self, group_by_collection: Collection, kwargs: dict, error: str )
python/tests/test_collection_group_by.py:325
Method
test_group_by_rejects_invalid_group_params
( self, group_by_collection: Collection, kwargs: dict, error: str )
python/tests/test_collection_group_by.py:375
Method
test_group_by_rejects_unsupported_query
( self, group_by_collection: Collection, query: Query, error: str )
python/tests/test_collection_group_by.py:308
Method
test_group_by_with_filter
Group-by search with a scalar filter.
python/tests/test_collection_group_by.py:236
Function
test_guard_pages
tests/turbo/turbo_neon_float_batch_test.cc:229
Method
test_has_id
(self)
python/tests/test_query_executor.py:77
Method
test_has_id_returns_false_when_no_id
(self)
python/tests/test_params.py:595
Method
test_has_id_returns_true_when_id_set
(self)
python/tests/test_params.py:591
Method
test_has_vector
(self)
python/tests/test_query_executor.py:84
Method
test_has_vector_returns_true_with_non_empty_vector
(self)
python/tests/test_params.py:599
Function
test_header_only_wal_can_be_opened_readonly
(tmp_path, enable_mmap)
python/tests/test_readonly_storage.py:141
Function
test_hnsw_pq_incremental_writes_and_retraining
(tmp_path, bits, enable_mmap)
python/tests/test_ivf_pq.py:214
Function
test_hnsw_pq_rejects_invalid_configuration
(tmp_path, kwargs)
python/tests/test_ivf_pq.py:292
Method
test_hybrid_fts_and_vector_basic
FTS + vector multi-query with RRF reranker returns results.
python/tests/test_collection_fts_vector_hybrid.py:166
Method
test_hybrid_fts_and_vector_ranking
Docs relevant in both FTS and vector should rank higher.
python/tests/test_collection_fts_vector_hybrid.py:183
Method
test_hybrid_fts_no_match_still_returns_vector_results
When FTS matches nothing, vector results still appear.
python/tests/test_collection_fts_vector_hybrid.py:232
Method
test_hybrid_query_string_syntax
Hybrid query works with FTS query_string (advanced syntax).
python/tests/test_collection_fts_vector_hybrid.py:251
Method
test_hybrid_requires_reranker
Multi-query with FTS + vector without reranker should raise.
python/tests/test_collection_fts_vector_hybrid.py:274
Method
test_hybrid_scores_descending
Hybrid query results must be sorted by score descending.
python/tests/test_collection_fts_vector_hybrid.py:202
Method
test_hybrid_with_filter
Hybrid query respects SQL filter.
python/tests/test_collection_fts_vector_hybrid.py:217
Function
test_id_error_includes_safe_preview
(collection, doc_id, preview)
python/tests/test_name_validation.py:170
Method
test_id_query_rejected
ID-based query on a no-vector collection must raise.
python/tests/test_collection_fts.py:183
Function
test_ids_are_merged_across_segments
(tmp_path)
python/tests/test_query_internal_ids.py:572
Method
test_import_fts_query
_Fts should be importable from _zvec.param.
python/tests/test_fts_query.py:110
Method
test_index_type_enum_member
(self)
python/tests/test_vamana.py:419
Function
test_index_type_has_member
(member)
python/tests/test_typing.py:126
Method
test_inference_failure
Test handling of inference failure.
python/tests/test_embedding.py:1433
Method
test_init
(self)
python/tests/test_query_executor.py:61
Method
test_init
(self)
python/tests/test_query_executor.py:166
Method
test_init
(self)
python/tests/test_query_executor.py:226
Method
test_init
(self)
python/tests/test_reranker.py:39
Method
test_init
(self)
python/tests/test_reranker.py:84
Method
test_init_both_id_and_vector_raises_error
(self)
python/tests/test_params.py:582
Method
test_init_brute_force_by_keys_ratio
(self)
python/tests/detail/test_db_config.py:216
Method
test_init_brute_force_by_keys_ratio_invalid
(self)
python/tests/detail/test_db_config.py:220
Method
test_init_default
(self)
python/tests/detail/test_db_config.py:74
Method
test_init_file_logger
(self)
python/tests/detail/test_db_config.py:85
Method
test_init_file_logger
(self)
python/tests/detail/test_db_config.py:261
Method
test_init_invalid_model
Test initialization fails with non-cross-encoder model.
python/tests/test_reranker.py:512
Method
test_init_invert_to_forward_scan_ratio
(self)
python/tests/detail/test_db_config.py:202
Method
test_init_invert_to_forward_scan_ratio_invalid
(self)
python/tests/detail/test_db_config.py:207
Method
test_init_normalizes_numpy_vectors
(self)
python/tests/test_doc.py:87
Method
test_init_success
Test successful initialization with mocked model.
python/tests/test_embedding.py:822
Method
test_init_success
Test successful initialization. Verifies that DefaultLocalSparseEmbedding initializes with the publicly accessible naver/splade-cocon
python/tests/test_embedding.py:1200
Method
test_init_success
Test successful initialization with mocked model.
python/tests/test_reranker.py:460
Method
test_init_with_api_key
(self)
python/tests/test_embedding.py:40
Method
test_init_with_api_key
Test initialization with explicit API key.
python/tests/test_embedding.py:158
Method
test_init_with_api_key
Test initialization with explicit API key.
python/tests/test_embedding.py:525
Method
test_init_with_base_url
Test initialization with custom base URL.
python/tests/test_embedding.py:552
Method
test_init_with_built_in_encoder
Test successful initialization with built-in encoder (no corpus).
python/tests/test_embedding.py:1742
Method
test_init_with_custom_device
Test initialization with custom device.
python/tests/test_embedding.py:845
Method
test_init_with_custom_device
Test initialization with custom device.
python/tests/test_embedding.py:1225
Method
test_init_with_custom_dimension
Test initialization with custom dimension.
python/tests/test_embedding.py:544
Method
test_init_with_custom_encoder
Test successful initialization with custom encoder (with corpus).
python/tests/test_embedding.py:1760
Method
test_init_with_custom_encoding_type
Test initialization with custom encoding type.
python/tests/test_embedding.py:167
Method
test_init_with_custom_params
Test initialization with custom parameters.
python/tests/test_reranker.py:487
Method
test_init_with_empty_corpus
Test initialization with empty corpus raises ValueError.
python/tests/test_embedding.py:1783
Method
test_init_with_empty_env_api_key
(self)
python/tests/test_embedding.py:54
← previous
next →
12,301–12,400 of 13,666, ranked by callers