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
↓ 539 callers
Method
c_str
@brief Get C-style string (safe because msg_ owns the string)
src/include/zvec/db/status.h:106
↓ 332 callers
Method
ok
@brief Check if the status is OK (no error)
src/include/zvec/db/status.h:91
↓ 316 callers
Method
push_back
tests/ailego/container/heap_test.cc:381
↓ 228 callers
Method
size
Retrieve count of elements in vector
tests/ailego/container/heap_test.cc:360
↓ 226 callers
Method
size
src/db/sqlengine/parser/case_changing_charstream.h:71
↓ 223 callers
Method
data
Retrieve pointer of data
tools/core/vecs_index_holder.h:79
↓ 218 callers
Method
get
Retrieve a segment by id
src/core/utility/buffer_storage.cc:779
↓ 180 callers
Method
size
src/core/algorithm/hnsw/hnsw_entity.h:162
↓ 174 callers
Method
end
An iterator to the past-the-end
src/include/zvec/ailego/container/vector.h:554
↓ 145 callers
Method
resize
Resize accumulators
src/core/algorithm/cluster/vector_mean.h:118
↓ 144 callers
Function
Compute
Compute the norm of vectors
src/ailego/math/norm1_matrix.h:39
↓ 143 callers
Method
begin
Retrieve iterator to beginning
src/include/zvec/ailego/container/vector.h:524
↓ 123 callers
Method
value
src/db/sqlengine/analyzer/query_node.cc:169
↓ 121 callers
Method
append
src/core/framework/index_mapping.cc:278
↓ 121 callers
Method
find
src/core/algorithm/hnsw/hnsw_index_hash.h:131
↓ 117 callers
Method
read
src/core/algorithm/diskann/diskann_file_reader.cc:325
↓ 116 callers
Method
has_value
Check if field exists and is not null
src/include/zvec/db/doc.h:129
↓ 115 callers
Method
write
Write data to the storage
src/core/utility/file_dumper.cc:89
↓ 111 callers
Method
query
Perform vector similarity search with optional filtering and re-ranking. At least one `Query` must be provided via `queries`. Args:
python/zvec/model/collection.py:383
↓ 108 callers
Method
reset
Reset the iterator
tools/core/vecs_index_holder.h:104
↓ 103 callers
Method
error
src/core/algorithm/hnsw/hnsw_context.h:467
↓ 101 callers
Method
empty
src/core/algorithm/ivf/ivf_dumper.h:81
↓ 94 callers
Method
data_size
src/core/algorithm/diskann/diskann_holder.h:290
↓ 88 callers
Method
insert
(self, docs: Doc)
python/zvec/model/collection.py:244
↓ 87 callers
Method
data
src/db/index/storage/parquet_buffer_pool.h:106
↓ 80 callers
Method
empty
Check whether the heap is empty
tests/ailego/container/heap_test.cc:370
↓ 80 callers
Method
get
src/db/index/column/fts_column/fts_indexer.cc:113
↓ 78 callers
Function
make_unexpected
src/include/zvec/ailego/pattern/expected.hpp:224
↓ 78 callers
Method
reserve
Request a change in capacity
src/ailego/container/vector_array.h:300
↓ 75 callers
Method
ToString
Convert floating-point number string (double)
src/include/zvec/ailego/utility/string_helper.h:164
↓ 75 callers
Method
resize
Resize the bitset
src/ailego/container/bitmap.h:277
↓ 72 callers
Method
code
@brief Get the status code
src/include/zvec/db/status.h:96
↓ 71 callers
Method
empty
src/db/sqlengine/planner/doc_filter.cc:68
↓ 70 callers
Method
get
src/include/zvec/db/doc.h:230
↓ 70 callers
Method
init
tests/core/algorithm/hnsw/hnsw_streamer_test.cc:1599
↓ 70 callers
Method
meta
src/db/index/segment/segment.cc:585
↓ 70 callers
Method
name
src/db/index/column/fts_column/tokenizer/jieba_tokenizer.h:54
↓ 70 callers
Method
open
tests/ailego/parallel/lock_test.cc:67
↓ 69 callers
Method
unit_size
Retrieve unit size in bytes
src/include/zvec/core/framework/index_meta.h:281
↓ 66 callers
Method
data
Retrieve pointer of data NOTICE: the vec feature will be changed after iterating to next, so the caller need to keep a copy of it before iterator to n
src/core/algorithm/hnsw_rabitq/hnsw_rabitq_index_provider.h:86
↓ 65 callers
Method
size
src/ailego/io/file.cc:298
↓ 64 callers
Method
limit
src/db/sqlengine/parser/select_info.cc:141
↓ 64 callers
Method
vector
Get a vector by name. Args: name (str): Name of the vector. Returns: Any: The vector (as a list) if it exist
python/zvec/model/doc.py:100
↓ 63 callers
Method
load
src/include/zvec/core/framework/index_searcher.h:50
↓ 63 callers
Method
name
Human-readable name for the selected backend.
src/ailego/io/io_backend_def.h:121
↓ 62 callers
Method
end
Retrieve the end iterator
tests/ailego/container/heap_test.cc:330
↓ 59 callers
Method
end
src/core/algorithm/hnsw/hnsw_index_hash.h:127
↓ 59 callers
Method
field
Get a scalar field by name. Args: name (str): Name of the field. Returns: Any: The field value if it exists,
python/zvec/model/doc.py:111
↓ 58 callers
Method
clear
Clear all fields to init value
src/core/algorithm/hnsw/hnsw_entity.h:97
↓ 58 callers
Function
generate_doc
(i: int, schema: CollectionSchema)
python/tests/detail/doc_helper.py:239
↓ 56 callers
Method
value
src/db/index/storage/parquet_buffer_pool.h:84
↓ 55 callers
Method
reserve
src/core/algorithm/diskann/diskann_util.h:189
↓ 53 callers
Method
fetch
Retrieve documents by ID. Args: ids (Union[str, list[str]]): Document IDs to fetch. output_fields (Optional[list[str]
python/zvec/model/collection.py:354
↓ 52 callers
Method
begin
Retrieve the begin iterator
tests/ailego/container/heap_test.cc:320
↓ 52 callers
Method
data
src/core/algorithm/ivf/ivf_dumper.h:72
↓ 52 callers
Method
recover
src/db/index/segment/segment.cc:4193
↓ 52 callers
Method
set
tools/core/filter_result_cache.h:42
↓ 52 callers
Method
set_meta
Set meta information of feature
src/include/zvec/core/framework/index_meta.h:454
↓ 51 callers
Method
set_metric
tools/core/vecs_reader.h:40
↓ 51 callers
Method
size
Retained candidate count.
src/core/utility/block_heap.h:78
↓ 50 callers
Function
set_last_error
Helper function: set error information (noexcept to avoid exceptions in error handling)
src/binding/c/c_api.cc:153
↓ 49 callers
Method
emplace
Add a vector to the block in row major order If the block is full and the block order is column, make a transpose
src/core/algorithm/ivf/ivf_dumper.h:51
↓ 49 callers
Method
index_params
src/include/zvec/db/schema.h:176
↓ 49 callers
Method
micro_seconds
Retrieve the elapsed time in milliseconds
src/include/zvec/ailego/utility/time_helper.h:146
↓ 48 callers
Method
data
Retrieve data pointer
src/ailego/container/bitmap.h:262
↓ 46 callers
Method
emplace
src/core/framework/index_plugin.cc:44
↓ 46 callers
Method
wait_finish
Wait until all threads finished processing
src/include/zvec/ailego/parallel/thread_pool.h:219
↓ 44 callers
Method
destroy
Permanently delete the collection from disk. Warning: This operation is irreversible. All data will be lost.
python/zvec/model/collection.py:97
↓ 44 callers
Method
insert
src/db/index/storage/parquet_writer.cc:35
↓ 43 callers
Method
empty
src/db/index/common/delete_store.h:138
↓ 43 callers
Method
lock
Locking
src/ailego/io/file_lock.h:33
↓ 43 callers
Method
status
Get status
src/include/zvec/db/doc.h:175
↓ 43 callers
Method
unlock
Unlocking
src/ailego/io/file_lock.h:53
↓ 42 callers
Method
data
Retrieve pointer of data
src/core/algorithm/flat/flat_streamer_entity.h:181
↓ 42 callers
Method
dimension
Return the vector dimension
src/core/quantizer/rotator/rotator.h:116
↓ 42 callers
Method
filter
src/db/index/column/fts_column/tokenizer/token_filter.cc:21
↓ 42 callers
Method
result
Retrieve a holder as result
src/core/quantizer/mips_converter.cc:637
↓ 41 callers
Function
RemoveTestPath
tests/test_util.h:38
↓ 41 callers
Method
element_size
Retrieve vector size in bytes
src/core/algorithm/flat/flat_searcher_provider.h:63
↓ 41 callers
Method
resize
src/core/utility/file_read_storage.cc:150
↓ 40 callers
Method
erase
Erase the pair via a key
src/include/zvec/ailego/container/params.h:102
↓ 40 callers
Method
size
src/core/algorithm/hnsw_sparse/hnsw_sparse_entity.h:184
↓ 40 callers
Method
size
src/core/algorithm/hnsw_rabitq/hnsw_rabitq_entity.h:201
↓ 39 callers
Method
count
tests/db/sqlengine/mock_segment.h:44
↓ 39 callers
Method
set
src/core/algorithm/ivf/ivf_index_format.h:91
↓ 38 callers
Method
c_str
Retrieve the c-style string
src/include/zvec/ailego/encoding/json/mod_json_plus.h:345
↓ 38 callers
Method
key
Retrieve primary key via index id
src/core/algorithm/flat/flat_searcher.h:124
↓ 38 callers
Method
milli_seconds
Retrieve the elapsed time in milliseconds
src/include/zvec/ailego/utility/time_helper.h:151
↓ 37 callers
Method
Finish
src/db/index/column/vector_column/combined_vector_column_indexer.cc:169
↓ 37 callers
Method
init
Initialize
src/core/algorithm/ivf/ivf_entity.cc:21
↓ 37 callers
Method
sort
src/core/algorithm/diskann/diskann_util.h:204
↓ 36 callers
Method
clear
Clear the vector
tests/ailego/container/heap_test.cc:312
↓ 36 callers
Method
empty
src/db/index/column/fts_column/fts_indexer.h:76
↓ 36 callers
Method
length
Retrieve the length of string
src/include/zvec/ailego/encoding/json/mod_json_plus.h:335
↓ 36 callers
Method
num_rows
Get the total number of rows in the store
src/db/index/storage/memory_forward_store.h:89
↓ 36 callers
Method
size
Retrieve count of bits in set
src/ailego/container/bitmap.h:272
↓ 36 callers
Function
zvec_collection_schema_destroy
src/binding/c/c_api.cc:2278
↓ 36 callers
Function
zvec_doc_destroy
src/binding/c/c_api.cc:2867
↓ 35 callers
Method
assign
src/include/zvec/ailego/container/cube.h:268
↓ 35 callers
Method
close
tests/ailego/parallel/lock_test.cc:86
next →
1–100 of 10,974, ranked by callers