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
__init__
Initialize the Jina dense embedding function. Args: model (str): Jina model name. Defaults to "jina-embeddings-v5-text-nano".
python/zvec/extension/jina_embedding_function.py:124
Method
__init__
Initialize QwenReRanker with query and configuration. Args: query (Optional[str]): Query text for semantic matching. Required.
python/zvec/extension/qwen_rerank_function.py:64
Method
__init__
Initialize the OpenAI dense embedding function. Args: model (str): OpenAI model name. Defaults to "text-embedding-3-small".
python/zvec/extension/openai_embedding_function.py:119
Method
__init__
Initialize the BM25 embedding function. Args: corpus (Optional[list[str]]): Optional corpus for training custom encoder.
python/zvec/extension/bm25_embedding_function.py:168
Method
__next__
(self)
python/zvec/model/collection.py:78
Method
__repr__
(self)
python/zvec/model/doc.py:138
Method
__str__
(self)
python/zvec/model/schema/collection_schema.py:219
Method
__str__
(self)
python/zvec/model/schema/field_schema.py:183
Method
__str__
(self)
python/zvec/model/schema/field_schema.py:324
Method
_build_and_query
(tag: str, flag: bool)
python/tests/test_hnsw_contiguous_memory.py:356
Method
_build_common_index_param
src/db/index/column/vector_column/engine_helper.hpp:499
Method
_build_common_query_param
src/db/index/column/vector_column/engine_helper.hpp:179
Method
_call_text_embedding_api
Call OpenAI Embeddings API. Args: input (TEXT): Input text to embed. dimension (Optional[int]): Target dimension (for
python/zvec/extension/openai_function.py:96
Method
_call_text_embedding_api
Call Jina Embeddings API. Args: input (TEXT): Input text to embed. dimension (Optional[int]): Target dimension for Ma
python/zvec/extension/jina_function.py:125
Method
_collect_dense_result
src/core/interface/index.cc:1188
Method
_collect_dense_result
src/core/interface/indexes/ivf_index.cc:411
Method
_dense_add
src/core/interface/index.cc:962
Method
_dense_fetch
src/core/interface/index.cc:898
Method
_dense_fetch
src/core/interface/indexes/ivf_rabitq_index.cc:303
Method
_dense_fetch
src/core/interface/indexes/diskann_index.cc:61
Method
_dense_fetch
src/core/interface/indexes/ivf_index.cc:379
Method
_dense_search
src/core/interface/index.cc:1048
Method
_execute_dense_search
src/core/interface/index.cc:1097
Method
_from_core
(cls, core_field_schema: _FieldSchema)
python/zvec/model/schema/field_schema.py:132
Method
_from_core
(cls, core_field_schema: _FieldSchema)
python/zvec/model/schema/field_schema.py:267
Method
_get_coarse_search_topk
src/core/interface/index.cc:1613
Method
_get_coarse_search_topk
src/core/interface/indexes/hnsw_rabitq_index.cc:134
Method
_get_coarse_search_topk
src/core/interface/indexes/vamana_index.cc:135
Method
_get_coarse_search_topk
src/core/interface/indexes/hnsw_index.cc:489
Method
_is_sparse_model
Check if the loaded model is a sparse encoder (e.g., SPLADE). Returns: bool: True if model supports sparse encoding.
python/zvec/extension/sentence_transformer_function.py:142
Method
_prepare_for_search
src/core/interface/indexes/flat_index.cc:396
Method
_prepare_for_search
src/core/interface/indexes/ivf_rabitq_index.cc:311
Method
_prepare_for_search
src/core/interface/indexes/hnsw_rabitq_index.cc:86
Method
_prepare_for_search
src/core/interface/indexes/diskann_index.cc:69
Method
_prepare_for_search
src/core/interface/indexes/ivf_index.cc:431
Method
_prepare_for_search
src/core/interface/indexes/vamana_index.cc:87
Method
_prepare_for_search
src/core/interface/indexes/hnsw_index.cc:437
Method
_search_refine_internal_ids
src/core/interface/index_search_internal_ids.cc:129
Method
_set_group_by_on_context
Set or clear group-by state on a pooled context before each search. Set group-by state before topk so contexts can derive the effective candidate cou
src/core/interface/index.cc:1641
Method
_sparse_add
src/core/interface/index.cc:1008
Method
_sparse_fetch
src/core/interface/index.cc:936
Method
_sparse_search
src/core/interface/index.cc:1336
Method
_to_cpp_params
(self)
python/zvec/extension/multi_vector_reranker.py:186
Method
_to_cpp_params
Return C++ reranker params. Override in subclasses that use C++ path.
python/zvec/extension/rerank_function.py:33
Method
_update_query_param
src/db/index/column/vector_column/engine_helper.hpp:162
Method
abandon_staging
Deliberately leak the staging pool when in-flight requests cannot be drained: the kernel may keep writing into it after the fd is closed. Caller buffe
src/ailego/io/iouring_loader.h:115
Method
abs_data_offset
src/include/zvec/core/framework/index_storage.h:558
Method
absolute_offset
src/core/utility/buffer_storage.cc:888
Method
access
src/db/sqlengine/analyzer/search_cond_validator.cc:64
Method
accumulate
src/turbo/distance/neon/fp32/batch.h:28
Method
accumulate
src/turbo/distance/neon_fp16/fp16/fp32_batch.h:32
Method
acquire
src/core/algorithm/diskann/diskann_neighbor_buffer.cc:188
Method
acquire
src/include/zvec/ailego/buffer/external_cache.h:72
Method
acquire_file_lock
src/db/collection.cc:2568
Method
acquire_loaded
src/include/zvec/ailego/buffer/external_cache.h:386
Method
acquire_slab_buffer
src/ailego/buffer/block_eviction_queue.cc:442
Function
active_count
Retrieve count of active tasks in pool
src/include/zvec/ailego/parallel/thread_pool.h:264
Method
add
tools/db/fts_bench_main.cc:932
Method
add
src/core/interface/indexes/ivf_rabitq_index.cc:156
Method
add
src/core/interface/indexes/diskann_index.cc:49
Method
add
src/core/interface/indexes/ivf_index.cc:249
Method
add
src/include/zvec/core/framework/index_context.h:39
Method
add
src/db/common/concurrent_roaring_bitmap.h:235
Method
add_available
src/core/algorithm/diskann/diskann_neighbor_buffer.cc:168
Method
add_block
Collect plain topk results from each block after translating block-local doc IDs back to segment-level IDs.
src/db/index/column/vector_column/combined_vector_column_indexer.cc:59
Function
add_blocks_to_free_list
src/include/zvec/ailego/buffer/concurrentqueue.h:3676
Method
add_column
src/db/index/segment/segment_manager.cc:93
Method
add_doc
tests/core/interface/index_group_by_test.cc:323
Method
add_fetched_schema
src/db/sqlengine/analyzer/query_info.h:239
Method
add_impl
Add a vector into index
src/core/utility/basic_refiner.cc:118
Method
add_impl
Add a vector into index with sparse inputs
src/core/algorithm/hnsw_sparse/hnsw_sparse_streamer.cc:521
Method
add_impl
Add a vector into index
src/core/algorithm/hnsw_rabitq/hnsw_rabitq_streamer.cc:629
Method
add_impl
src/core/algorithm/vamana/vamana_streamer.cc:564
Method
add_impl
src/core/algorithm/flat_sparse/flat_sparse_streamer.cc:180
Method
add_impl
Add a vector into index
src/core/algorithm/hnsw/hnsw_streamer.cc:1040
Method
add_impl
Add a vector into index
src/include/zvec/core/framework/index_runner.h:482
Method
add_knowing_refcount_is_zero
src/include/zvec/ailego/buffer/concurrentqueue.h:1795
Method
add_neighbor
Append neighbor_id to node id neighbors on level, size is the current neighbors size. Notice: the caller must be ensure the neighbors not full
src/core/algorithm/hnsw_sparse/hnsw_sparse_entity.h:537
Method
add_neighbor
src/core/algorithm/hnsw_sparse/hnsw_sparse_streamer_entity.cc:312
Method
add_neighbor
Append neighbor_id to node id neighbors on level, size is the current neighbors size. Notice: the caller must be ensure the neighbors not full
src/core/algorithm/hnsw_rabitq/hnsw_rabitq_entity.h:502
Method
add_neighbor
src/core/algorithm/diskann/diskann_entity.h:166
Method
add_neighbor
src/core/algorithm/vamana/vamana_entity.h:259
Method
add_neighbor
Append neighbor_id to node id neighbors on level, size is the current neighbors size. Notice: the caller must be ensure the neighbors not full
src/core/algorithm/hnsw/hnsw_entity.h:505
Method
add_neighbors
src/core/algorithm/hnsw_sparse/hnsw_sparse_algorithm.cc:155
Method
add_neighbors
src/core/algorithm/hnsw_rabitq/hnsw_rabitq_algorithm.cc:137
Method
add_neighbors
src/core/algorithm/hnsw/hnsw_algorithm.cc:201
Method
add_persisted_segment_meta
src/db/index/common/version_manager.h:55
Method
add_sparse_vec
src/core/mixed_reducer/mixed_streamer_reducer.cc:547
Method
add_sparses
src/include/zvec/ailego/container/vector.h:1037
Method
add_tail
src/turbo/distance/neon/fp32/batch.h:51
Method
add_tail
src/turbo/distance/neon_fp16/fp16/fp32_batch.h:62
Method
add_upper_neighbor
Add upper neighbor header and reserve space for upper neighbor
src/core/algorithm/hnsw_sparse/hnsw_sparse_streamer_entity.h:362
Method
add_upper_neighbor
Add upper neighbor header and reserve space for upper neighbor
src/core/algorithm/hnsw_rabitq/hnsw_rabitq_streamer_entity.h:344
Method
add_upper_neighbor
Add upper neighbor header and reserve space for upper neighbor
src/core/algorithm/hnsw/hnsw_streamer_entity.h:402
Method
add_vec
src/core/mixed_reducer/mixed_streamer_reducer.cc:477
Method
add_vector
Add vector and key to hnsw entity, and local id will be saved in id
src/core/algorithm/hnsw_sparse/hnsw_sparse_entity.h:507
Method
add_vector
src/core/algorithm/hnsw_sparse/hnsw_sparse_streamer_entity.cc:566
Method
add_vector
Add vector and key to hnsw entity, and local id will be saved in id
src/core/algorithm/hnsw_rabitq/hnsw_rabitq_entity.h:481
Method
add_vector
src/core/algorithm/diskann/diskann_entity.h:148
Method
add_vector
src/core/algorithm/vamana/vamana_streamer_entity.h:637
← previous
next →
7,501–7,600 of 13,666, ranked by callers