Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/zvec
/ functions
Functions
10,974 in github.com/alibaba/zvec
⨍
Functions
10,974
◇
Types & classes
1,842
↳
Endpoints
50
↓ 9 callers
Method
Stats
src/db/collection.cc:403
↓ 9 callers
Method
clear_attributes
Clear the attributes
src/include/zvec/core/framework/index_stats.h:49
↓ 9 callers
Method
clear_cache
Clear all cached SPLADE models from memory. This is useful for: - Freeing memory when models are no longer needed - Forcing a
python/zvec/extension/sentence_transformer_embedding_function.py:516
↓ 9 callers
Function
convert_to_py_doc
(doc: _Doc, collection_schema: CollectionSchema)
python/zvec/model/convert.py:49
↓ 9 callers
Method
count
src/core/algorithm/cluster/kmeans_cluster.cc:172
↓ 9 callers
Method
create_column_indexer
src/db/index/column/inverted_column/inverted_indexer.cc:152
↓ 9 callers
Method
create_index
Create an index on a field. Vector index types (HNSW, IVF, FLAT) can only be applied to vector fields. Inverted index (`InvertIndexPa
python/zvec/model/collection.py:113
↓ 9 callers
Method
data
Retrieve data pointer
src/include/zvec/ailego/container/vector.h:47
↓ 9 callers
Method
dimension
Retrieve dimension of accumulator
src/core/algorithm/cluster/vector_mean.h:653
↓ 9 callers
Method
dimension
src/db/sqlengine/analyzer/query_info.h:87
↓ 9 callers
Method
doc_id
tests/db/sqlengine/mock_segment.h:56
↓ 9 callers
Method
ef_construction
src/core/algorithm/hnsw/hnsw_entity.h:116
↓ 9 callers
Method
element_size
src/core/algorithm/cluster/kmeans_cluster.cc:188
↓ 9 callers
Method
embed
Generate sparse embedding vector for the input text. This method uses the SPLADE model to convert input text into a sparse vector rep
python/zvec/extension/sentence_transformer_embedding_function.py:668
↓ 9 callers
Method
emplace
src/include/zvec/ailego/container/heap.h:106
↓ 9 callers
Method
empty
src/db/index/column/vector_column/combined_vector_column_indexer.cc:165
↓ 9 callers
Method
enable_range_optimization
src/include/zvec/db/index_params.h:98
↓ 9 callers
Method
entity
src/core/algorithm/flat_sparse/flat_sparse_context.cc:20
↓ 9 callers
Method
field_names
Get the list of all scalar field names in this document. Returns: list[str]: A list of field names. Empty if no fields.
python/zvec/model/doc.py:130
↓ 9 callers
Method
flush
src/db/index/segment/segment.cc:2217
↓ 9 callers
Method
flush
src/db/index/common/id_map.cc:82
↓ 9 callers
Method
get_vector
src/core/algorithm/hnsw_rabitq/hnsw_rabitq_dist_calculator.cc:20
↓ 9 callers
Method
id
tests/db/sqlengine/mock_segment.h:311
↓ 9 callers
Method
index
Retrieve index id
src/include/zvec/core/framework/index_document.h:182
↓ 9 callers
Method
is_object
Retrieve non-zero if the value is a object
src/include/zvec/ailego/encoding/json/mod_json_plus.h:724
↓ 9 callers
Method
is_valid
Test if the iterator is valid
src/core/algorithm/diskann/diskann_holder.h:102
↓ 9 callers
Function
mod_json_string_set
src/ailego/encoding/json/mod_json.c:1045
↓ 9 callers
Function
mod_json_value_grab
* \brief Grab (get or clone) a JSON value * \param val The pointer of value * \return Null indicates failure */
src/include/zvec/ailego/encoding/json/mod_json.h:451
↓ 9 callers
Method
mutable_score
Retrieve mutable score value
src/include/zvec/core/framework/index_document.h:207
↓ 9 callers
Method
mutable_transformed_count
Retrieve count of documents transformed (mutable)
src/include/zvec/core/framework/index_converter.h:128
↓ 9 callers
Method
native_handle
Retrieve native handle
src/include/zvec/ailego/io/file.h:82
↓ 9 callers
Method
next_prod
src/include/zvec/ailego/buffer/concurrentqueue.h:2050
↓ 9 callers
Method
padding_size
Retrieve size of padding
src/core/utility/file_read_storage.cc:72
↓ 9 callers
Method
parse
tests/db/sqlengine/fts_parser_test.cc:40
↓ 9 callers
Method
query_topn
src/db/sqlengine/analyzer/query_info.h:179
↓ 9 callers
Method
reset
src/core/algorithm/vamana/vamana_entity.h:66
↓ 9 callers
Method
reset_query
src/core/algorithm/hnsw_sparse/hnsw_sparse_context.h:271
↓ 9 callers
Method
reset_query
src/core/algorithm/diskann/diskann_context.h:159
↓ 9 callers
Method
reset_writing_segment_meta
src/db/index/common/version_manager.cc:266
↓ 9 callers
Method
revert
src/core/quantizer/cosine_reformer.cc:191
↓ 9 callers
Method
rotate
src/core/quantizer/rotator/rotator.cc:212
↓ 9 callers
Method
serialize
src/db/index/common/doc.cc:672
↓ 9 callers
Method
set_is_linear
src/include/zvec/db/query_params.h:49
↓ 9 callers
Method
set_min_doc_id
src/db/index/common/meta.h:75
↓ 9 callers
Method
set_operator
src/include/zvec/db/doc.h:101
↓ 9 callers
Method
set_revision_id
Set revision id
src/include/zvec/core/framework/index_runner.h:85
↓ 9 callers
Method
set_trained_count
Set count of documents trained
src/include/zvec/core/framework/index_runner.h:90
↓ 9 callers
Method
shrink_to_fit
src/ailego/container/bitmap.cc:99
↓ 9 callers
Method
to_string
src/db/sqlengine/parser/node.cc:112
↓ 9 callers
Method
topk_to_result
src/core/algorithm/vamana/vamana_context.cc:131
↓ 9 callers
Method
validate
src/db/collection.cc:1020
↓ 9 callers
Function
zvec_field_schema_destroy
src/binding/c/c_api.cc:2003
↓ 9 callers
Function
zvec_field_schema_get_data_type
src/binding/c/c_api.cc:2031
↓ 9 callers
Function
zvec_test_make_pk
tests/c/utils.c:247
↓ 9 callers
Function
zvec_vector_query_set_include_vector
src/binding/c/c_api.cc:5410
↓ 8 callers
Method
AddColumn
src/db/collection.cc:1134
↓ 8 callers
Method
Close
src/db/index/storage/chunked_file_writer.cc:54
↓ 8 callers
Method
Fetch
tests/db/sqlengine/mock_segment.h:504
↓ 8 callers
Method
Path
src/db/collection.cc:397
↓ 8 callers
Method
add
src/db/common/profiler.h:123
↓ 8 callers
Method
append
Append a feature
src/ailego/algorithm/lloyd_cluster.h:112
↓ 8 callers
Method
apply
src/db/index/common/version_manager.cc:260
↓ 8 callers
Method
check_point
Retrieve check point of storage
src/core/utility/buffer_storage.cc:774
↓ 8 callers
Method
close
src/ailego/io/file.cc:198
↓ 8 callers
Method
data
Retrieve pointer of data
src/include/zvec/core/framework/index_holder.h:1685
↓ 8 callers
Method
data_size
Retrieve size of data
src/core/utility/file_read_storage.cc:67
↓ 8 callers
Method
data_type
Retrieve type information
src/core/algorithm/diskann/diskann_holder.h:231
↓ 8 callers
Method
data_type
src/core/algorithm/cluster/kmeans_cluster.cc:184
↓ 8 callers
Method
data_type
Retrieve type information
src/include/zvec/core/framework/index_features.h:363
↓ 8 callers
Method
deserialize
src/db/index/common/doc.cc:696
↓ 8 callers
Method
dimension
Retrieve dimension
src/core/quantizer/integer_quantizer_converter.cc:103
↓ 8 callers
Method
dimension
src/core/algorithm/vamana/vamana_index_provider.h:44
↓ 8 callers
Method
dimension
Retrieve dimension
src/include/zvec/core/framework/index_features.h:353
↓ 8 callers
Method
dist
Returns distance
src/core/algorithm/diskann/diskann_dist_calculator.h:54
↓ 8 callers
Method
embed
Generate dense embedding vector for the input text. This method uses the Sentence Transformer model to convert input text into a dens
python/zvec/extension/sentence_transformer_embedding_function.py:214
↓ 8 callers
Method
embed
Generate BM25 sparse embedding for the input text. This method computes BM25 scores for the input text using DashText's SparseVectorE
python/zvec/extension/bm25_embedding_function.py:287
↓ 8 callers
Method
error
src/core/algorithm/hnsw_sparse/hnsw_sparse_context.h:422
↓ 8 callers
Method
error
Retrieve the error code of parser
src/include/zvec/ailego/encoding/json/mod_json_plus.h:2846
↓ 8 callers
Function
generate_sparse_vector
(i: int)
python/tests/detail/doc_helper.py:43
↓ 8 callers
Method
get_key
src/core/algorithm/hnsw/hnsw_streamer_entity.cc:271
↓ 8 callers
Method
has_fts
Check if the query contains an FTS (full-text search) condition. Returns: bool: True if `fts` is set with a query_string or match
python/zvec/model/param/query.py:107
↓ 8 callers
Method
has_id
Check if the query is based on a document ID. Returns: bool: True if `id` is set, False otherwise.
python/zvec/model/param/query.py:91
↓ 8 callers
Method
has_writing_forward_block
src/db/index/common/meta.h:336
↓ 8 callers
Method
insert
src/core/algorithm/diskann/diskann_util.h:136
↓ 8 callers
Method
invert_cond
src/db/sqlengine/analyzer/query_info.h:147
↓ 8 callers
Method
is_valid
Test if the iterator is valid
src/core/algorithm/hnsw_sparse/hnsw_sparse_index_provider.h:99
↓ 8 callers
Method
is_vector_index_type
src/include/zvec/db/index_params.h:54
↓ 8 callers
Method
list_size
src/include/zvec/db/query_params.h:203
↓ 8 callers
Method
lock_shared
Locking (shared)
src/ailego/io/file_lock.h:43
↓ 8 callers
Method
magic
src/core/algorithm/hnsw_sparse/hnsw_sparse_context.h:84
↓ 8 callers
Method
max_doc_count_per_segment
src/db/index/common/schema.cc:633
↓ 8 callers
Function
mod_json_string_add_cstr
src/ailego/encoding/json/mod_json.c:1082
↓ 8 callers
Function
mod_json_utils_clp2
src/ailego/encoding/json/mod_json.c:110
↓ 8 callers
Function
mod_json_value_clear
src/ailego/encoding/json/mod_json.c:575
↓ 8 callers
Method
normalize
Normalize score
src/core/algorithm/ivf/ivf_entity.cc:335
↓ 8 callers
Method
open
src/core/framework/index_mapping.cc:90
↓ 8 callers
Method
pending_count
Retrieve count of pending tasks in pool
src/include/zvec/ailego/parallel/thread_pool.h:251
↓ 8 callers
Method
process
src/db/index/column/fts_column/tokenizer/tokenizer_factory.cc:72
↓ 8 callers
Method
rerank
Re-rank documents using Qwen's TextReRank API. Sends document texts to DashScope TextReRank service along with the query. Returns doc
python/zvec/extension/qwen_rerank_function.py:99
↓ 8 callers
Method
reset
Reset context
src/core/algorithm/diskann/diskann_context.h:250
← previous
next →
401–500 of 10,974, ranked by callers