MCPcopy Create free account

hub / github.com/alibaba/zvec / functions

Functions13,666 in github.com/alibaba/zvec

↓ 48 callersMethodclose
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 callersMethoddata
Retrieve data pointer
src/ailego/container/bitmap.h:259
↓ 46 callersMethodtrain
tests/core/interface/index_interface_test.cc:1990
↓ 46 callersFunctionzvec_collection_schema_destroy
src/binding/c/c_api.cc:2387
↓ 45 callersMethoddata
src/core/algorithm/hnsw/hnsw_entity.h:186
↓ 44 callersFunctionzvec_doc_destroy
src/binding/c/c_api.cc:2980
↓ 43 callersFunctionCreateMetric
tests/core/metric/uniform_uint4_metric_test.cc:28
↓ 43 callersMethodoptimize
Optimize the collection (e.g., merge segments, rebuild index). Args: option (Optional[OptimizeOption], optional): Optimization op
python/zvec/model/collection.py:231
↓ 42 callersMethodcount
tests/db/sqlengine/mock_segment.h:44
↓ 42 callersMethodnum_rows
Get the total number of rows in the store
src/db/index/storage/memory_forward_store.h:90
↓ 42 callersMethodthreshold
Get quantization threshold
src/ailego/algorithm/binary_quantizer.h:53
↓ 41 callersFunctionset_last_error
Helper function: set error information (noexcept to avoid exceptions in error handling)
src/binding/c/c_api.cc:154
↓ 41 callersMethodsize
src/core/algorithm/hnsw_rabitq/hnsw_rabitq_entity.h:200
↓ 41 callersMethodsize
src/core/algorithm/diskann/diskann_util.h:446
↓ 41 callersMethodsort
src/core/algorithm/diskann/diskann_util.h:469
↓ 40 callersMethodcreate_context
tests/core/interface/hnsw_turbo_index_test.cc:1228
↓ 40 callersMethodempty
src/core/algorithm/hnsw/hnsw_bulk_builder.h:43
↓ 40 callersMethodkey
Retrieve primary key via index id
src/core/algorithm/flat/flat_searcher.h:142
↓ 40 callersMethodsize
src/core/algorithm/hnsw_sparse/hnsw_sparse_entity.h:184
↓ 39 callersMethodclear
src/db/index/storage/parquet_buffer_pool.cc:127
↓ 39 callersFunctioncreate
Create a local file
src/include/zvec/ailego/io/file.h:127
↓ 39 callersFunctionfill
tests/turbo/turbo_neon_float_batch_test.cc:97
↓ 39 callersMethodload
Load (or confirm already loaded) libaio. Returns true on success. Thread-safe and idempotent.
src/ailego/io/libaio_loader.h:67
↓ 39 callersMethodreset
src/core/utility/block_heap.cc:39
↓ 39 callersMethodtype
src/db/index/common/meta.h:64
↓ 38 callersMethoddata
src/core/algorithm/ivf/ivf_entity.cc:35
↓ 38 callersMethodempty
src/db/index/column/fts_column/fts_indexer.h:76
↓ 38 callersMethodopen
tests/core/interface/hnsw_turbo_index_test.cc:955
↓ 38 callersMethodset_threshold
Set quantization threshold
src/ailego/algorithm/binary_quantizer.h:48
↓ 37 callersMethoddelete
(self, ids: str)
python/zvec/model/collection.py:409
↓ 37 callersMethodlength
Retrieve the length of string
src/include/zvec/ailego/encoding/json/mod_json_plus.h:335
↓ 37 callersMethodsearch_impl
src/core/framework/index_flow.cc:372
↓ 37 callersMethodstatus
Get status
src/include/zvec/db/doc.h:176
↓ 37 callersFunctionzvec_field_schema_create
src/binding/c/c_api.cc:2092
↓ 36 callersFunctionRemoveTestFiles
tests/test_util.h:58
↓ 36 callersFunctionclose
Close the memory mapping file
src/include/zvec/ailego/io/mmap_file.h:131
↓ 36 callersMethodsize
Retrieve count of bits in set
src/ailego/container/bitmap.h:269
↓ 35 callersMethodFinish
src/turbo/topk/batch_topk_internal.h:210
↓ 35 callersMethodcapacity
src/core/algorithm/ivf/ivf_dumper.h:100
↓ 35 callersMethodexecute
src/ailego/io/iouring_loader.cc:203
↓ 35 callersMethodflush
tests/db/sqlengine/mock_segment.h:553
↓ 35 callersFunctionzvec_collection_create_and_open
src/binding/c/c_api.cc:4803
↓ 35 callersFunctionzvec_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 callersMethodadd_field
src/db/index/common/schema.cc:511
↓ 34 callersMethodclear
src/core/algorithm/ivf/ivf_dumper.h:87
↓ 34 callersMethodclear
src/core/algorithm/diskann/diskann_builder_entity.cc:26
↓ 34 callersMethoddata
tests/core/algorithm/ivf/ivf_builder_test.cc:121
↓ 34 callersMethoddata_type
src/core/mixed_reducer/merged_provider_index_holder.cc:560
↓ 34 callersMethoddata_type
src/db/sqlengine/analyzer/query_info.h:83
↓ 34 callersFunctiondistance
( vec1, vec2, metric: MetricType, data_type: DataType, quantize_type: QuantizeType = Quant
python/tests/detail/distance_helper.py:200
↓ 34 callersMethodopen
tests/core/algorithm/ivf/ivf_index_provider_test.cc:114
↓ 34 callersMethodreset
src/db/index/column/fts_column/tokenizer/jieba_tokenizer.cc:173
↓ 34 callersMethodset_topk
tests/core/algorithm/flat/flat_builder_test.cc:463
↓ 34 callersMethodwait
Wait until task finished
src/include/zvec/ailego/parallel/thread_pool.h:301
↓ 33 callersMethodassign
src/core/utility/legacy_read_buffer.h:28
↓ 33 callersMethodid
src/db/index/segment/segment.cc:645
↓ 33 callersMethodupdate
(self, docs: Doc)
python/zvec/model/collection.py:382
↓ 33 callersFunctionzvec_collection_destroy
src/binding/c/c_api.cc:4884
↓ 32 callersMethodget
tests/core/algorithm/ivf/ivf_index_provider_test.cc:130
↓ 32 callersMethodop
src/db/sqlengine/common/generic_node.h:47
↓ 32 callersMethodquantized_datapoint_vector_length
tests/core/algorithm/hnsw/hnsw_streamer_test.cc:4742
↓ 32 callersMethodsize
Retrieve size
src/include/zvec/core/framework/index_dumper.h:56
↓ 32 callersFunctionzvec_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 callersMethodclose
tests/core/algorithm/hnsw/hnsw_streamer_test.cc:2127
↓ 31 callersMethodset_metric
src/core/framework/index_flow.cc:83
↓ 31 callersFunctionzvec_collection_schema_create
src/binding/c/c_api.cc:2370
↓ 30 callersMethodLA
src/db/sqlengine/parser/case_changing_charstream.h:44
↓ 30 callersFunctionToFP16
Convert FP32 to FP16 with normalization
src/include/zvec/ailego/utility/float_helper.h:52
↓ 30 callersMethodat
Retrieve pointer of data
src/ailego/container/vector_array.h:328
↓ 30 callersMethodclear
Clear all fields to init value
src/core/algorithm/hnsw_sparse/hnsw_sparse_entity.h:114
↓ 30 callersMethodelement_size
Retrieve element size in bytes
src/core/algorithm/diskann/diskann_holder.h:238
↓ 30 callersMethodname
tests/core/interface/flat_turbo_index_test.cc:177
↓ 30 callersMethodscore
src/db/index/column/fts_column/bm25_scorer.cc:104
↓ 30 callersFunctionset
src/include/zvec/db/doc.h:112
↓ 30 callersFunctionzvec_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 callersFunctionNotFound
src/include/zvec/db/status.h:131
↓ 29 callersMethod_get_object
(self)
python/zvec/model/schema/field_schema.py:139
↓ 29 callersMethodmake_group
Make a task group
src/include/zvec/core/framework/index_threads.h:147
↓ 29 callersMethodquantize_data
tests/core/algorithm/hnsw/hnsw_streamer_test.cc:4748
↓ 29 callersFunctionzvec_collection_schema_add_field
src/binding/c/c_api.cc:2420
↓ 28 callersFunctionIsExist
Retrieve non-zero if the path exists
src/include/zvec/ailego/io/file.h:251
↓ 28 callersMethodclose
tests/core/interface/hnsw_turbo_index_test.cc:961
↓ 28 callersMethoddata
Retrieve pointer of data
tools/core/vecs_index_holder.h:81
↓ 28 callersMethoddata
tests/core/mixed_reducer/merged_provider_index_holder_test.cc:327
↓ 28 callersMethoddimension
Return the vector dimension
src/core/quantizer/rotator/rotator.h:116
↓ 28 callersMethodquantize_type
Retrieve quantize type
src/include/zvec/core/framework/index_meta.h:723
↓ 28 callersMethodsubmit
src/core/algorithm/diskann/diskann_file_reader.cc:1052
↓ 28 callersMethodwait_finish
Wait until all tasks in group finished
src/include/zvec/ailego/parallel/thread_pool.h:85
↓ 27 callersFunctionAlignSize
tools/core/local_builder.cc:270
↓ 27 callersFunctionConcat
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 callersMethodfield
src/db/index/common/manifest/pb_wire.h:163
↓ 27 callersMethodget_field
src/db/index/common/schema.cc:597
↓ 27 callersMethodhas_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 callersMethodload
tests/core/algorithm/ivf/ivf_searcher_test.cc:4711
↓ 27 callersMethodset_name
Set name of module
src/include/zvec/core/framework/index_module.h:51
↓ 27 callersMethodset_vector
src/include/zvec/db/query.h:124
↓ 27 callersMethodwait_finish
tests/core/algorithm/ivf/ivf_builder_test.cc:311
↓ 26 callersMethodclear
src/core/utility/search_heap.h:88
↓ 26 callersMethoddata
src/core/algorithm/vamana/vamana_index_provider.h:77
↓ 26 callersMethoddimension
Retrieve dimension of vector
src/core/algorithm/flat/flat_searcher_provider.h:54
← previousnext →101–200 of 13,666, ranked by callers