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
↓ 48 callers
Method
close
Close the collection and release its native resources. Flushes pending writes and releases the collection's file lock so the path can
python/zvec/model/collection.py:127
↓ 46 callers
Method
data
Retrieve data pointer
src/ailego/container/bitmap.h:259
↓ 46 callers
Method
train
tests/core/interface/index_interface_test.cc:1990
↓ 46 callers
Function
zvec_collection_schema_destroy
src/binding/c/c_api.cc:2387
↓ 45 callers
Method
data
src/core/algorithm/hnsw/hnsw_entity.h:186
↓ 44 callers
Function
zvec_doc_destroy
src/binding/c/c_api.cc:2980
↓ 43 callers
Function
CreateMetric
tests/core/metric/uniform_uint4_metric_test.cc:28
↓ 43 callers
Method
optimize
Optimize the collection (e.g., merge segments, rebuild index). Args: option (Optional[OptimizeOption], optional): Optimization op
python/zvec/model/collection.py:231
↓ 42 callers
Method
count
tests/db/sqlengine/mock_segment.h:44
↓ 42 callers
Method
num_rows
Get the total number of rows in the store
src/db/index/storage/memory_forward_store.h:90
↓ 42 callers
Method
threshold
Get quantization threshold
src/ailego/algorithm/binary_quantizer.h:53
↓ 41 callers
Function
set_last_error
Helper function: set error information (noexcept to avoid exceptions in error handling)
src/binding/c/c_api.cc:154
↓ 41 callers
Method
size
src/core/algorithm/hnsw_rabitq/hnsw_rabitq_entity.h:200
↓ 41 callers
Method
size
src/core/algorithm/diskann/diskann_util.h:446
↓ 41 callers
Method
sort
src/core/algorithm/diskann/diskann_util.h:469
↓ 40 callers
Method
create_context
tests/core/interface/hnsw_turbo_index_test.cc:1228
↓ 40 callers
Method
empty
src/core/algorithm/hnsw/hnsw_bulk_builder.h:43
↓ 40 callers
Method
key
Retrieve primary key via index id
src/core/algorithm/flat/flat_searcher.h:142
↓ 40 callers
Method
size
src/core/algorithm/hnsw_sparse/hnsw_sparse_entity.h:184
↓ 39 callers
Method
clear
src/db/index/storage/parquet_buffer_pool.cc:127
↓ 39 callers
Function
create
Create a local file
src/include/zvec/ailego/io/file.h:127
↓ 39 callers
Function
fill
tests/turbo/turbo_neon_float_batch_test.cc:97
↓ 39 callers
Method
load
Load (or confirm already loaded) libaio. Returns true on success. Thread-safe and idempotent.
src/ailego/io/libaio_loader.h:67
↓ 39 callers
Method
reset
src/core/utility/block_heap.cc:39
↓ 39 callers
Method
type
src/db/index/common/meta.h:64
↓ 38 callers
Method
data
src/core/algorithm/ivf/ivf_entity.cc:35
↓ 38 callers
Method
empty
src/db/index/column/fts_column/fts_indexer.h:76
↓ 38 callers
Method
open
tests/core/interface/hnsw_turbo_index_test.cc:955
↓ 38 callers
Method
set_threshold
Set quantization threshold
src/ailego/algorithm/binary_quantizer.h:48
↓ 37 callers
Method
delete
(self, ids: str)
python/zvec/model/collection.py:409
↓ 37 callers
Method
length
Retrieve the length of string
src/include/zvec/ailego/encoding/json/mod_json_plus.h:335
↓ 37 callers
Method
search_impl
src/core/framework/index_flow.cc:372
↓ 37 callers
Method
status
Get status
src/include/zvec/db/doc.h:176
↓ 37 callers
Function
zvec_field_schema_create
src/binding/c/c_api.cc:2092
↓ 36 callers
Function
RemoveTestFiles
tests/test_util.h:58
↓ 36 callers
Function
close
Close the memory mapping file
src/include/zvec/ailego/io/mmap_file.h:131
↓ 36 callers
Method
size
Retrieve count of bits in set
src/ailego/container/bitmap.h:269
↓ 35 callers
Method
Finish
src/turbo/topk/batch_topk_internal.h:210
↓ 35 callers
Method
capacity
src/core/algorithm/ivf/ivf_dumper.h:100
↓ 35 callers
Method
execute
src/ailego/io/iouring_loader.cc:203
↓ 35 callers
Method
flush
tests/db/sqlengine/mock_segment.h:553
↓ 35 callers
Function
zvec_collection_create_and_open
src/binding/c/c_api.cc:4803
↓ 35 callers
Function
zvec_index_params_create
* @brief Create index parameters of specified type * @param index_type Type of index to create * @return New index params handle, or NULL on failure
src/binding/c/c_api.cc:1319
↓ 34 callers
Method
add_field
src/db/index/common/schema.cc:511
↓ 34 callers
Method
clear
src/core/algorithm/ivf/ivf_dumper.h:87
↓ 34 callers
Method
clear
src/core/algorithm/diskann/diskann_builder_entity.cc:26
↓ 34 callers
Method
data
tests/core/algorithm/ivf/ivf_builder_test.cc:121
↓ 34 callers
Method
data_type
src/core/mixed_reducer/merged_provider_index_holder.cc:560
↓ 34 callers
Method
data_type
src/db/sqlengine/analyzer/query_info.h:83
↓ 34 callers
Function
distance
( vec1, vec2, metric: MetricType, data_type: DataType, quantize_type: QuantizeType = Quant
python/tests/detail/distance_helper.py:200
↓ 34 callers
Method
open
tests/core/algorithm/ivf/ivf_index_provider_test.cc:114
↓ 34 callers
Method
reset
src/db/index/column/fts_column/tokenizer/jieba_tokenizer.cc:173
↓ 34 callers
Method
set_topk
tests/core/algorithm/flat/flat_builder_test.cc:463
↓ 34 callers
Method
wait
Wait until task finished
src/include/zvec/ailego/parallel/thread_pool.h:301
↓ 33 callers
Method
assign
src/core/utility/legacy_read_buffer.h:28
↓ 33 callers
Method
id
src/db/index/segment/segment.cc:645
↓ 33 callers
Method
update
(self, docs: Doc)
python/zvec/model/collection.py:382
↓ 33 callers
Function
zvec_collection_destroy
src/binding/c/c_api.cc:4884
↓ 32 callers
Method
get
tests/core/algorithm/ivf/ivf_index_provider_test.cc:130
↓ 32 callers
Method
op
src/db/sqlengine/common/generic_node.h:47
↓ 32 callers
Method
quantized_datapoint_vector_length
tests/core/algorithm/hnsw/hnsw_streamer_test.cc:4742
↓ 32 callers
Method
size
Retrieve size
src/include/zvec/core/framework/index_dumper.h:56
↓ 32 callers
Function
zvec_index_params_destroy
* @brief Destroy index parameters and free memory * @param params Index params to destroy (can be NULL) */
src/binding/c/c_api.cc:1396
↓ 31 callers
Method
close
tests/core/algorithm/hnsw/hnsw_streamer_test.cc:2127
↓ 31 callers
Method
set_metric
src/core/framework/index_flow.cc:83
↓ 31 callers
Function
zvec_collection_schema_create
src/binding/c/c_api.cc:2370
↓ 30 callers
Method
LA
src/db/sqlengine/parser/case_changing_charstream.h:44
↓ 30 callers
Function
ToFP16
Convert FP32 to FP16 with normalization
src/include/zvec/ailego/utility/float_helper.h:52
↓ 30 callers
Method
at
Retrieve pointer of data
src/ailego/container/vector_array.h:328
↓ 30 callers
Method
clear
Clear all fields to init value
src/core/algorithm/hnsw_sparse/hnsw_sparse_entity.h:114
↓ 30 callers
Method
element_size
Retrieve element size in bytes
src/core/algorithm/diskann/diskann_holder.h:238
↓ 30 callers
Method
name
tests/core/interface/flat_turbo_index_test.cc:177
↓ 30 callers
Method
score
src/db/index/column/fts_column/bm25_scorer.cc:104
↓ 30 callers
Function
set
src/include/zvec/db/doc.h:112
↓ 30 callers
Function
zvec_free
* @brief Free memory allocated by zvec_malloc * @param ptr Pointer to memory to free (can be NULL) * * @note Use zvec_free instead of free to ensu
src/binding/c/c_api.cc:930
↓ 29 callers
Function
NotFound
src/include/zvec/db/status.h:131
↓ 29 callers
Method
_get_object
(self)
python/zvec/model/schema/field_schema.py:139
↓ 29 callers
Method
make_group
Make a task group
src/include/zvec/core/framework/index_threads.h:147
↓ 29 callers
Method
quantize_data
tests/core/algorithm/hnsw/hnsw_streamer_test.cc:4748
↓ 29 callers
Function
zvec_collection_schema_add_field
src/binding/c/c_api.cc:2420
↓ 28 callers
Function
IsExist
Retrieve non-zero if the path exists
src/include/zvec/ailego/io/file.h:251
↓ 28 callers
Method
close
tests/core/interface/hnsw_turbo_index_test.cc:961
↓ 28 callers
Method
data
Retrieve pointer of data
tools/core/vecs_index_holder.h:81
↓ 28 callers
Method
data
tests/core/mixed_reducer/merged_provider_index_holder_test.cc:327
↓ 28 callers
Method
dimension
Return the vector dimension
src/core/quantizer/rotator/rotator.h:116
↓ 28 callers
Method
quantize_type
Retrieve quantize type
src/include/zvec/core/framework/index_meta.h:723
↓ 28 callers
Method
submit
src/core/algorithm/diskann/diskann_file_reader.cc:1052
↓ 28 callers
Method
wait_finish
Wait until all tasks in group finished
src/include/zvec/ailego/parallel/thread_pool.h:85
↓ 27 callers
Function
AlignSize
tools/core/local_builder.cc:270
↓ 27 callers
Function
Concat
Concatenation of arbitrary number of std::string, c-string, integers, floating point numbers with one memory allocation. E.g. auto s = Concat("foo", 1
src/include/zvec/ailego/utility/string_helper.h:225
↓ 27 callers
Method
field
src/db/index/common/manifest/pb_wire.h:163
↓ 27 callers
Method
get_field
src/db/index/common/schema.cc:597
↓ 27 callers
Method
has_field
Check if the document contains a scalar field with the given name. Args: name (str): Name of the field to check. Returns
python/zvec/model/doc.py:78
↓ 27 callers
Method
load
tests/core/algorithm/ivf/ivf_searcher_test.cc:4711
↓ 27 callers
Method
set_name
Set name of module
src/include/zvec/core/framework/index_module.h:51
↓ 27 callers
Method
set_vector
src/include/zvec/db/query.h:124
↓ 27 callers
Method
wait_finish
tests/core/algorithm/ivf/ivf_builder_test.cc:311
↓ 26 callers
Method
clear
src/core/utility/search_heap.h:88
↓ 26 callers
Method
data
src/core/algorithm/vamana/vamana_index_provider.h:77
↓ 26 callers
Method
dimension
Retrieve dimension of vector
src/core/algorithm/flat/flat_searcher_provider.h:54
← previous
next →
101–200 of 13,666, ranked by callers