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
↓ 13 callers
Method
sparse_unit_size
Retrieve sparse unit size
src/core/algorithm/hnsw_sparse/hnsw_sparse_entity.h:309
↓ 13 callers
Function
zvec_index_params_set_invert_params
* @brief Set Invert index parameters * @param params Index parameters (must be INVERT type) * @param enable_range_opt Enable range optimization * @
src/binding/c/c_api.cc:1858
↓ 13 callers
Function
zvec_vector_query_destroy
src/binding/c/c_api.cc:5338
↓ 12 callers
Method
Build
src/include/zvec/core/interface/index_param_builders.h:140
↓ 12 callers
Function
ExtraDimension
tests/core/metric/cosine_metric_test.cc:59
↓ 12 callers
Method
Schema
src/db/collection.cc:444
↓ 12 callers
Method
alter_column
Rename a column, update its schema. This method supports three atomic operations: 1. Rename only (when `field_schema` is None).
python/zvec/model/collection.py:194
↓ 12 callers
Method
as_stl_string
Retrieve value as a STL string
src/include/zvec/ailego/encoding/json/mod_json_plus.h:950
↓ 12 callers
Method
batch_distance
Retrieve distance function for query
src/core/metric/cosine_metric.cc:202
↓ 12 callers
Method
dist
Returns distance
src/core/algorithm/hnsw_sparse/hnsw_sparse_dist_calculator.h:62
↓ 12 callers
Function
distance
( vec1, vec2, metric: MetricType, data_type: DataType, quantize_type: QuantizeType = Quant
python/tests/detail/distance_helper.py:200
↓ 12 callers
Method
doc_cnt
src/core/algorithm/diskann/diskann_entity.h:197
↓ 12 callers
Method
dumped_count
Retrieve total dumped vector count
src/core/algorithm/ivf/ivf_dumper.h:217
↓ 12 callers
Method
element_data_type
src/include/zvec/db/schema.h:123
↓ 12 callers
Method
embed
Generate sparse embedding vector for the input text. This method calls the DashScope TextEmbedding API with sparse output type to con
python/zvec/extension/qwen_embedding_function.py:425
↓ 12 callers
Method
empty
Test if the array is empty
src/ailego/container/vector_array.h:355
↓ 12 callers
Method
get_current_version
src/db/index/common/version_manager.cc:255
↓ 12 callers
Method
get_forward_field
src/db/index/common/schema.cc:503
↓ 12 callers
Function
mod_json_token_parser
src/ailego/encoding/json/mod_json.c:3139
↓ 12 callers
Method
mount
src/core/algorithm/cluster/kmeans_cluster.cc:423
↓ 12 callers
Method
mutable_added_count
Retrieve count of documents added (mutable)
src/include/zvec/core/framework/index_runner.h:285
↓ 12 callers
Method
rbegin
Retrieve a reverse iterator pointing to the last element
src/include/zvec/ailego/encoding/json/mod_json_plus.h:1702
↓ 12 callers
Method
reset
Reset state to zero, and the params is untouched
src/core/algorithm/hnsw_rabitq/hnsw_rabitq_entity.h:125
↓ 12 callers
Method
search_bf_by_p_keys_impl
src/core/algorithm/flat/flat_streamer.cc:347
↓ 12 callers
Method
set_reformer
src/core/framework/index_flow.cc:66
↓ 12 callers
Method
set_right
src/db/sqlengine/common/generic_node.h:75
↓ 12 callers
Method
start
Start profiler
src/db/common/profiler.h:65
↓ 12 callers
Method
trained_count
Retrieve count of documents trained
src/include/zvec/core/framework/index_runner.h:180
↓ 12 callers
Function
zvec_collection_query
src/binding/c/c_api.cc:7109
↓ 12 callers
Function
zvec_vector_query_set_field_name
src/binding/c/c_api.cc:5360
↓ 12 callers
Function
zvec_vector_query_set_topk
src/binding/c/c_api.cc:5344
↓ 11 callers
Method
Flush
src/db/collection.cc:380
↓ 11 callers
Method
_get_object
(self)
python/zvec/model/schema/field_schema.py:255
↓ 11 callers
Method
_validate
(self)
python/zvec/model/param/query.py:117
↓ 11 callers
Method
built_count
Retrieve count of documents built
src/include/zvec/core/framework/index_runner.h:185
↓ 11 callers
Method
contain_column
src/db/index/common/meta.h:112
↓ 11 callers
Method
data_type
Retrieve type of vector
src/core/algorithm/flat/flat_searcher_provider.h:58
↓ 11 callers
Method
dimension
Retrieve dimension
src/core/quantizer/mips_converter.cc:153
↓ 11 callers
Method
element_size
Retrieve element size in bytes
tools/core/vecs_index_holder.h:146
↓ 11 callers
Method
feature
Retrieve feature pointer
src/include/zvec/core/framework/index_cluster.h:175
↓ 11 callers
Method
get_as_string
Retrieve the value in string
src/include/zvec/ailego/container/params.h:614
↓ 11 callers
Method
get_key
src/core/algorithm/hnsw_sparse/hnsw_sparse_builder_entity.cc:144
↓ 11 callers
Method
get_vector_field
src/db/index/common/schema.cc:522
↓ 11 callers
Method
group_by_query
Perform group-by vector search. Groups results by a scalar field value, returning the top-k documents within each group, ordered by s
python/zvec/model/collection.py:447
↓ 11 callers
Function
mod_json_parser_insert
src/ailego/encoding/json/mod_json.c:3061
↓ 11 callers
Function
mod_json_token_depth
src/ailego/encoding/json/mod_json.c:2066
↓ 11 callers
Method
mutable_docs
src/include/zvec/core/framework/index_document.h:323
↓ 11 callers
Method
schema
src/db/index/storage/lazy_record_batch_reader.h:46
↓ 11 callers
Method
schema
tests/db/index/segment/column_merging_reader_test.cc:118
↓ 11 callers
Method
set_left
src/db/sqlengine/common/generic_node.h:68
↓ 11 callers
Method
set_max_doc_count_per_segment
src/db/index/common/schema.cc:637
↓ 11 callers
Method
try_lock_shared
Try locking (shared)
src/ailego/io/file_lock.h:48
↓ 11 callers
Function
zvec_collection_options_destroy
src/binding/c/c_api.cc:1183
↓ 11 callers
Function
zvec_get_last_error
src/binding/c/c_api.cc:1148
↓ 11 callers
Function
zvec_test_create_temp_schema
tests/c/utils.c:45
↓ 11 callers
Function
zvec_vector_query_set_query_vector
src/binding/c/c_api.cc:5378
↓ 10 callers
Method
Open
src/db/index/segment/segment.cc:461
↓ 10 callers
Method
Query
src/db/collection.cc:1605
↓ 10 callers
Method
add_with_id_impl
src/core/algorithm/flat/flat_streamer.cc:264
↓ 10 callers
Method
alloc_chunk
src/core/algorithm/hnsw/hnsw_chunk.cc:163
↓ 10 callers
Method
append
src/db/index/storage/wal/local_wal_file.cc:29
↓ 10 callers
Method
clear
Clear the context
src/ailego/algorithm/kmeans.h:622
↓ 10 callers
Method
count
Retrieve count of elements in holder (-1 indicates unknown)
src/core/algorithm/diskann/diskann_holder.h:221
↓ 10 callers
Method
count
Retrieve feature count
src/ailego/algorithm/kmeans.h:600
↓ 10 callers
Method
create_provider
src/core/algorithm/ivf/ivf_streamer.cc:301
↓ 10 callers
Method
dimension
Retrieve dimension of vector
src/core/algorithm/hnsw_rabitq/hnsw_rabitq_index_provider.h:47
↓ 10 callers
Method
element
src/core/algorithm/cluster/kmeans_cluster.cc:180
↓ 10 callers
Method
element_size
Retrieve element size in bytes
src/core/quantizer/mips_converter.cc:163
↓ 10 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
↓ 10 callers
Method
encode
Quantize data: encode the float input to uint32_t output
src/ailego/algorithm/binary_quantizer.cc:40
↓ 10 callers
Method
fetch
src/db/index/segment/segment.cc:2643
↓ 10 callers
Function
float32
src/ailego/utility/float_helper.cc:26
↓ 10 callers
Method
forward_fields
src/db/index/common/schema.cc:545
↓ 10 callers
Method
get_as_float
Retrieve the value in float
src/include/zvec/ailego/container/params.h:600
↓ 10 callers
Method
get_chunk
src/core/algorithm/hnsw/hnsw_chunk.cc:213
↓ 10 callers
Method
has
Check if field exists
src/include/zvec/db/doc.h:124
↓ 10 callers
Method
has_value
src/include/zvec/ailego/pattern/expected.hpp:923
↓ 10 callers
Method
is_dense_vector
src/include/zvec/db/schema.h:135
↓ 10 callers
Function
is_doc_equal
( doc1: Doc, doc2: Doc, schema: CollectionSchema, except_score: bool = True, include_vecto
python/tests/detail/distance_helper.py:340
↓ 10 callers
Method
is_finished
Check if the pool is finished
src/include/zvec/ailego/parallel/thread_pool.h:236
↓ 10 callers
Method
major_order
src/core/algorithm/ivf/ivf_dumper.h:111
↓ 10 callers
Function
mod_json_token_strskp
src/ailego/encoding/json/mod_json.c:1972
↓ 10 callers
Method
mutable_index_size
Retrieve size of index (mutable)
src/include/zvec/core/framework/index_runner.h:305
↓ 10 callers
Function
open
Open an existing collection from disk. The collection must have been previously created with ``create_and_open``. Args: path (str):
python/zvec/zvec.py:227
↓ 10 callers
Method
region
Retrieve memory region of file
src/include/zvec/ailego/io/mmap_file.h:229
↓ 10 callers
Method
rerank
Re-rank documents using Sentence Transformer cross-encoder model. Evaluates each query-document pair using the cross-encoder model to compute
python/zvec/extension/sentence_transformer_rerank_function.py:281
↓ 10 callers
Method
set_create_time
Retrieve create time
src/include/zvec/core/framework/index_runner.h:145
↓ 10 callers
Method
set_doc_count
src/db/index/common/meta.h:91
↓ 10 callers
Method
set_dumped_costtime
Retrieve update time
src/include/zvec/core/framework/index_runner.h:170
↓ 10 callers
Method
set_loaded_costtime
Retrieve loaded costtime
src/include/zvec/core/framework/index_runner.h:155
↓ 10 callers
Method
set_major_order
Set major order of features
src/include/zvec/core/framework/index_meta.h:436
↓ 10 callers
Method
set_max_doc_id
src/db/index/common/meta.h:83
↓ 10 callers
Method
set_writing_forward_block
src/db/index/common/meta.h:259
↓ 10 callers
Method
update
Update the params, Called by gpu searcher only
src/core/algorithm/ivf/ivf_entity.cc:85
↓ 10 callers
Function
zvec_collection_options_create
src/binding/c/c_api.cc:1175
↓ 10 callers
Function
zvec_string_create
src/binding/c/c_api.cc:229
↓ 10 callers
Function
zvec_vector_query_set_include_doc_id
src/binding/c/c_api.cc:5427
↓ 9 callers
Method
Close
src/db/collection.cc:331
↓ 9 callers
Function
IsAlmostEqual
tests/core/metric/quantized_integer_metric_test.cc:59
↓ 9 callers
Function
Squared
! Mips Squared Euclidean Distance Matrix (INT4, M=1, N=1) */ Calculate sum of squared values
src/ailego/math/mips_euclidean_distance_matrix_scalar.cc:78
← previous
next →
301–400 of 10,974, ranked by callers