Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/zvec
/ functions
Functions
10,650 in github.com/alibaba/zvec
⨍
Functions
10,650
◇
Types & classes
1,776
↳
Endpoints
50
↓ 13 callers
Method
to_reformer
src/core/algorithm/hnsw_rabitq/rabitq_converter.cc:267
↓ 13 callers
Method
to_string_formatted
src/db/index/common/stats.cc:36
↓ 13 callers
Method
total_docs
src/db/index/column/fts_column/fts_column_indexer.h:169
↓ 13 callers
Method
use_contiguous_memory
src/include/zvec/db/index_params.h:222
↓ 13 callers
Function
zvec_collection_query
src/binding/c/c_api.cc:6774
↓ 12 callers
Function
Compute
Compute the distance between matrix and query
src/ailego/math/euclidean_distance_matrix.h:105
↓ 12 callers
Function
CreateTestDoc
* @brief Create a test document with deterministic values based on doc_id. * * Document pattern: * - pk: "pk_{doc_id}" * - int32_field: doc_id (ca
tests/db/crash_recovery/utility.h:87
↓ 12 callers
Method
IsAlmostEqual
src/ailego/utility/math_helper.h:91
↓ 12 callers
Method
add_indexed_vector_field
src/db/index/common/meta.h:344
↓ 12 callers
Function
and_then_impl
src/include/zvec/ailego/pattern/expected.hpp:2214
↓ 12 callers
Method
append
Append a segment meta into table
src/core/utility/file_dumper.cc:82
↓ 12 callers
Method
as_float
Retrieve value as float
src/include/zvec/ailego/encoding/json/mod_json_plus.h:1020
↓ 12 callers
Function
calculate_distance
tests/core/metric/cosine_metric_test.cc:492
↓ 12 callers
Method
data_type
Retrieve type of vector
src/core/algorithm/hnsw_sparse/hnsw_sparse_index_provider.h:48
↓ 12 callers
Method
data_type
Retrieve type information
src/core/algorithm/diskann/diskann_holder.h:231
↓ 12 callers
Method
debugging
src/core/algorithm/hnsw_rabitq/hnsw_rabitq_context.h:431
↓ 12 callers
Method
embed
Generate dense embedding vector for the input text. This method calls the OpenAI Embeddings API to convert input text into a dense ve
python/zvec/extension/openai_embedding_function.py:174
↓ 12 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
↓ 12 callers
Method
filter
tools/core/filter_result_cache.h:46
↓ 12 callers
Method
flush
src/db/index/common/id_map.cc:82
↓ 12 callers
Function
get_field_count
Helper function to get field count (replaces GCC-specific statement expression)
tests/c/c_api_test.c:40
↓ 12 callers
Method
init
Initialize Logger
src/core/framework/index_logger.cc:34
↓ 12 callers
Method
is_null
Check if field is null
src/include/zvec/db/doc.h:138
↓ 12 callers
Method
is_sparse_vector
src/include/zvec/db/schema.h:139
↓ 12 callers
Method
is_using_refiner
src/include/zvec/db/query_params.h:60
↓ 12 callers
Method
is_valid
Test if the iterator is valid
src/core/algorithm/hnsw_rabitq/hnsw_rabitq_index_provider.h:91
↓ 12 callers
Method
label
src/core/algorithm/cluster/kmeans_cluster.cc:571
↓ 12 callers
Function
mod_json_string_add_cstr
src/ailego/encoding/json/mod_json.c:1082
↓ 12 callers
Function
mod_json_token_parser
src/ailego/encoding/json/mod_json.c:3139
↓ 12 callers
Function
mod_json_token_strskp
src/ailego/encoding/json/mod_json.c:1972
↓ 12 callers
Method
mutable_added_count
Retrieve count of documents added (mutable)
src/include/zvec/core/framework/index_runner.h:285
↓ 12 callers
Method
mutable_index_size
Retrieve size of index (mutable)
src/include/zvec/core/framework/index_runner.h:305
↓ 12 callers
Method
optimize
src/db/sqlengine/planner/optimizer.cc:274
↓ 12 callers
Method
prepare_for_read
src/db/index/storage/wal/local_wal_file.cc:143
↓ 12 callers
Method
schema
src/db/sqlengine/planner/plan_info.h:36
↓ 12 callers
Method
set_columns
src/db/index/common/meta.h:99
↓ 12 callers
Method
set_group_params
Set group params
src/core/algorithm/hnsw/hnsw_context.h:522
↓ 12 callers
Method
set_is_linear
src/include/zvec/db/query_params.h:53
↓ 12 callers
Method
set_op
src/db/sqlengine/parser/node.cc:28
↓ 12 callers
Method
sparse_distance
Retrieve sparse distance function for query
src/core/metric/inner_product_metric.cc:327
↓ 12 callers
Function
swap
src/include/zvec/ailego/buffer/concurrentqueue.h:4382
↓ 12 callers
Method
total_tokens
src/db/index/column/fts_column/fts_column_indexer.h:172
↓ 12 callers
Method
type
src/db/sqlengine/analyzer/query_node.h:139
↓ 12 callers
Function
valptr
src/include/zvec/ailego/pattern/expected.hpp:1377
↓ 12 callers
Function
vec_to_string
src/db/index/common/doc.cc:173
↓ 12 callers
Function
zvec_collection_flush
src/binding/c/c_api.cc:4590
↓ 12 callers
Function
zvec_get_last_error
src/binding/c/c_api.cc:1127
↓ 12 callers
Function
zvec_index_params_get_metric_type
* @brief Get metric type from index parameters * @param params Index parameters * @return Metric type, or default (L2) if NULL or not vector index
src/binding/c/c_api.cc:1412
↓ 12 callers
Function
zvec_string_create
src/binding/c/c_api.cc:227
↓ 12 callers
Function
zvec_test_delete_dir
* @brief Delete directory and all its contents (wrapper function) * * @param dir_path Directory path * @return int 0 for success, -1 for failure *
tests/c/utils.c:957
↓ 12 callers
Function
zvec_vector_query_create
src/binding/c/c_api.cc:5047
↓ 12 callers
Function
zvec_vector_query_destroy
src/binding/c/c_api.cc:5056
↓ 11 callers
Function
Compute
Compute the distance between matrix and query by SphericalInjection
src/ailego/math/mips_euclidean_distance_matrix.h:164
↓ 11 callers
Function
HorizontalAdd_INT32_V256
src/turbo/avx512_vnni/record_quantized_int8/common.h:33
↓ 11 callers
Function
MakeField
tests/db/reranker_test.cc:39
↓ 11 callers
Method
Open
src/db/index/segment/segment.cc:461
↓ 11 callers
Method
as_bool
Retrieve value as boolean
src/include/zvec/ailego/encoding/json/mod_json_plus.h:1030
↓ 11 callers
Method
clear
Clear the context
src/ailego/algorithm/kmeans.h:622
↓ 11 callers
Method
compare
Compare two JSON strings (case sensitive)
src/include/zvec/ailego/encoding/json/mod_json_plus.h:290
↓ 11 callers
Method
data
Retrieve pointer of data
src/core/quantizer/integer_quantizer_converter.cc:50
↓ 11 callers
Method
data_type
Retrieve type information
src/include/zvec/core/framework/index_features.h:363
↓ 11 callers
Method
dimension
Retrieve dimension
src/include/zvec/core/framework/index_features.h:353
↓ 11 callers
Method
element_size
Retrieve vector size in bytes
src/core/algorithm/hnsw/hnsw_index_provider.h:56
↓ 11 callers
Method
element_size
Retrieve size of feature
src/include/zvec/core/framework/index_features.h:58
↓ 11 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
↓ 11 callers
Method
emplace
src/core/algorithm/diskann/diskann_holder.h:256
↓ 11 callers
Method
fetch
src/db/index/segment/segment.cc:2642
↓ 11 callers
Method
forward_fields
src/db/index/common/schema.cc:527
↓ 11 callers
Method
get_chunk
src/core/algorithm/hnsw/hnsw_chunk.cc:213
↓ 11 callers
Method
is_valid
Test if the iterator is valid
src/core/algorithm/hnsw/hnsw_index_provider.h:90
↓ 11 callers
Method
max_doc_count_per_segment
src/db/index/common/schema.cc:615
↓ 11 callers
Function
mod_json_parser_insert
src/ailego/encoding/json/mod_json.c:3061
↓ 11 callers
Function
mod_json_string_set
src/ailego/encoding/json/mod_json.c:1045
↓ 11 callers
Function
mod_json_token_depth
src/ailego/encoding/json/mod_json.c:2066
↓ 11 callers
Method
mutable_centroids
Retrieve the controids
src/ailego/algorithm/lloyd_cluster.h:214
↓ 11 callers
Method
mutable_docs
src/include/zvec/core/framework/index_document.h:323
↓ 11 callers
Method
native_handle
Retrieve native handle
src/include/zvec/ailego/io/file.h:82
↓ 11 callers
Method
offset
src/ailego/io/file.cc:305
↓ 11 callers
Method
reset
src/core/algorithm/cluster/multi_chunk_cluster.cc:36
↓ 11 callers
Method
resize
Resize the vector to a length of n elements
src/include/zvec/ailego/container/vector.h:570
↓ 11 callers
Method
result
Retrieve a holder as result
src/core/algorithm/hnsw_rabitq/rabitq_converter.h:62
↓ 11 callers
Method
schema
src/db/index/storage/lazy_record_batch_reader.h:46
↓ 11 callers
Method
set_searcher
tools/core/flow.h:338
↓ 11 callers
Method
set_squote
Enable/Disable single quotes support
src/include/zvec/ailego/encoding/json/mod_json_plus.h:2807
↓ 11 callers
Method
sparse_count
Retrieve primary key
src/include/zvec/core/framework/index_holder.h:688
↓ 11 callers
Function
swap_relaxed
src/include/zvec/ailego/buffer/concurrentqueue.h:684
↓ 11 callers
Method
try_lock_shared
Try locking (shared)
src/ailego/io/file_lock.h:48
↓ 11 callers
Method
update
Update the params, Called by gpu searcher only
src/core/algorithm/ivf/ivf_entity.cc:75
↓ 11 callers
Method
write_meta
src/ailego/buffer/vector_page_table.cc:442
↓ 11 callers
Function
zvec_collection_options_destroy
src/binding/c/c_api.cc:1162
↓ 11 callers
Function
zvec_field_schema_get_name
src/binding/c/c_api.cc:1827
↓ 11 callers
Function
zvec_test_create_temp_schema
tests/c/utils.c:45
↓ 11 callers
Function
zvec_vector_query_set_field_name
src/binding/c/c_api.cc:5078
↓ 11 callers
Function
zvec_vector_query_set_topk
src/binding/c/c_api.cc:5062
↓ 10 callers
Function
GetCollectionSchema
Helper function
tests/db/index/storage/mem_store_test.cc:39
↓ 10 callers
Method
IsDirty
src/core/interface/index.cc:395
↓ 10 callers
Method
Path
src/db/collection.cc:392
↓ 10 callers
Method
alloc_chunk
src/core/algorithm/hnsw/hnsw_chunk.cc:163
↓ 10 callers
Method
close
src/ailego/io/file.cc:198
↓ 10 callers
Method
convert_postings_to_bitpacked
src/db/index/column/fts_column/fts_column_indexer.cc:711
← previous
next →
601–700 of 10,650, ranked by callers