MCPcopy Create free account

hub / github.com/alibaba/zvec / functions

Functions10,974 in github.com/alibaba/zvec

↓ 9 callersMethodStats
src/db/collection.cc:403
↓ 9 callersMethodclear_attributes
Clear the attributes
src/include/zvec/core/framework/index_stats.h:49
↓ 9 callersMethodclear_cache
Clear all cached SPLADE models from memory. This is useful for: - Freeing memory when models are no longer needed - Forcing a
python/zvec/extension/sentence_transformer_embedding_function.py:516
↓ 9 callersFunctionconvert_to_py_doc
(doc: _Doc, collection_schema: CollectionSchema)
python/zvec/model/convert.py:49
↓ 9 callersMethodcount
src/core/algorithm/cluster/kmeans_cluster.cc:172
↓ 9 callersMethodcreate_column_indexer
src/db/index/column/inverted_column/inverted_indexer.cc:152
↓ 9 callersMethodcreate_index
Create an index on a field. Vector index types (HNSW, IVF, FLAT) can only be applied to vector fields. Inverted index (`InvertIndexPa
python/zvec/model/collection.py:113
↓ 9 callersMethoddata
Retrieve data pointer
src/include/zvec/ailego/container/vector.h:47
↓ 9 callersMethoddimension
Retrieve dimension of accumulator
src/core/algorithm/cluster/vector_mean.h:653
↓ 9 callersMethoddimension
src/db/sqlengine/analyzer/query_info.h:87
↓ 9 callersMethoddoc_id
tests/db/sqlengine/mock_segment.h:56
↓ 9 callersMethodef_construction
src/core/algorithm/hnsw/hnsw_entity.h:116
↓ 9 callersMethodelement_size
src/core/algorithm/cluster/kmeans_cluster.cc:188
↓ 9 callersMethodembed
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
↓ 9 callersMethodemplace
src/include/zvec/ailego/container/heap.h:106
↓ 9 callersMethodempty
src/db/index/column/vector_column/combined_vector_column_indexer.cc:165
↓ 9 callersMethodenable_range_optimization
src/include/zvec/db/index_params.h:98
↓ 9 callersMethodentity
src/core/algorithm/flat_sparse/flat_sparse_context.cc:20
↓ 9 callersMethodfield_names
Get the list of all scalar field names in this document. Returns: list[str]: A list of field names. Empty if no fields.
python/zvec/model/doc.py:130
↓ 9 callersMethodflush
src/db/index/segment/segment.cc:2217
↓ 9 callersMethodflush
src/db/index/common/id_map.cc:82
↓ 9 callersMethodget_vector
src/core/algorithm/hnsw_rabitq/hnsw_rabitq_dist_calculator.cc:20
↓ 9 callersMethodid
tests/db/sqlengine/mock_segment.h:311
↓ 9 callersMethodindex
Retrieve index id
src/include/zvec/core/framework/index_document.h:182
↓ 9 callersMethodis_object
Retrieve non-zero if the value is a object
src/include/zvec/ailego/encoding/json/mod_json_plus.h:724
↓ 9 callersMethodis_valid
Test if the iterator is valid
src/core/algorithm/diskann/diskann_holder.h:102
↓ 9 callersFunctionmod_json_string_set
src/ailego/encoding/json/mod_json.c:1045
↓ 9 callersFunctionmod_json_value_grab
* \brief Grab (get or clone) a JSON value * \param val The pointer of value * \return Null indicates failure */
src/include/zvec/ailego/encoding/json/mod_json.h:451
↓ 9 callersMethodmutable_score
Retrieve mutable score value
src/include/zvec/core/framework/index_document.h:207
↓ 9 callersMethodmutable_transformed_count
Retrieve count of documents transformed (mutable)
src/include/zvec/core/framework/index_converter.h:128
↓ 9 callersMethodnative_handle
Retrieve native handle
src/include/zvec/ailego/io/file.h:82
↓ 9 callersMethodnext_prod
src/include/zvec/ailego/buffer/concurrentqueue.h:2050
↓ 9 callersMethodpadding_size
Retrieve size of padding
src/core/utility/file_read_storage.cc:72
↓ 9 callersMethodparse
tests/db/sqlengine/fts_parser_test.cc:40
↓ 9 callersMethodquery_topn
src/db/sqlengine/analyzer/query_info.h:179
↓ 9 callersMethodreset
src/core/algorithm/vamana/vamana_entity.h:66
↓ 9 callersMethodreset_query
src/core/algorithm/hnsw_sparse/hnsw_sparse_context.h:271
↓ 9 callersMethodreset_query
src/core/algorithm/diskann/diskann_context.h:159
↓ 9 callersMethodreset_writing_segment_meta
src/db/index/common/version_manager.cc:266
↓ 9 callersMethodrevert
src/core/quantizer/cosine_reformer.cc:191
↓ 9 callersMethodrotate
src/core/quantizer/rotator/rotator.cc:212
↓ 9 callersMethodserialize
src/db/index/common/doc.cc:672
↓ 9 callersMethodset_is_linear
src/include/zvec/db/query_params.h:49
↓ 9 callersMethodset_min_doc_id
src/db/index/common/meta.h:75
↓ 9 callersMethodset_operator
src/include/zvec/db/doc.h:101
↓ 9 callersMethodset_revision_id
Set revision id
src/include/zvec/core/framework/index_runner.h:85
↓ 9 callersMethodset_trained_count
Set count of documents trained
src/include/zvec/core/framework/index_runner.h:90
↓ 9 callersMethodshrink_to_fit
src/ailego/container/bitmap.cc:99
↓ 9 callersMethodto_string
src/db/sqlengine/parser/node.cc:112
↓ 9 callersMethodtopk_to_result
src/core/algorithm/vamana/vamana_context.cc:131
↓ 9 callersMethodvalidate
src/db/collection.cc:1020
↓ 9 callersFunctionzvec_field_schema_destroy
src/binding/c/c_api.cc:2003
↓ 9 callersFunctionzvec_field_schema_get_data_type
src/binding/c/c_api.cc:2031
↓ 9 callersFunctionzvec_test_make_pk
tests/c/utils.c:247
↓ 9 callersFunctionzvec_vector_query_set_include_vector
src/binding/c/c_api.cc:5410
↓ 8 callersMethodAddColumn
src/db/collection.cc:1134
↓ 8 callersMethodClose
src/db/index/storage/chunked_file_writer.cc:54
↓ 8 callersMethodFetch
tests/db/sqlengine/mock_segment.h:504
↓ 8 callersMethodPath
src/db/collection.cc:397
↓ 8 callersMethodadd
src/db/common/profiler.h:123
↓ 8 callersMethodappend
Append a feature
src/ailego/algorithm/lloyd_cluster.h:112
↓ 8 callersMethodapply
src/db/index/common/version_manager.cc:260
↓ 8 callersMethodcheck_point
Retrieve check point of storage
src/core/utility/buffer_storage.cc:774
↓ 8 callersMethodclose
src/ailego/io/file.cc:198
↓ 8 callersMethoddata
Retrieve pointer of data
src/include/zvec/core/framework/index_holder.h:1685
↓ 8 callersMethoddata_size
Retrieve size of data
src/core/utility/file_read_storage.cc:67
↓ 8 callersMethoddata_type
Retrieve type information
src/core/algorithm/diskann/diskann_holder.h:231
↓ 8 callersMethoddata_type
src/core/algorithm/cluster/kmeans_cluster.cc:184
↓ 8 callersMethoddata_type
Retrieve type information
src/include/zvec/core/framework/index_features.h:363
↓ 8 callersMethoddeserialize
src/db/index/common/doc.cc:696
↓ 8 callersMethoddimension
Retrieve dimension
src/core/quantizer/integer_quantizer_converter.cc:103
↓ 8 callersMethoddimension
src/core/algorithm/vamana/vamana_index_provider.h:44
↓ 8 callersMethoddimension
Retrieve dimension
src/include/zvec/core/framework/index_features.h:353
↓ 8 callersMethoddist
Returns distance
src/core/algorithm/diskann/diskann_dist_calculator.h:54
↓ 8 callersMethodembed
Generate dense embedding vector for the input text. This method uses the Sentence Transformer model to convert input text into a dens
python/zvec/extension/sentence_transformer_embedding_function.py:214
↓ 8 callersMethodembed
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
↓ 8 callersMethoderror
src/core/algorithm/hnsw_sparse/hnsw_sparse_context.h:422
↓ 8 callersMethoderror
Retrieve the error code of parser
src/include/zvec/ailego/encoding/json/mod_json_plus.h:2846
↓ 8 callersFunctiongenerate_sparse_vector
(i: int)
python/tests/detail/doc_helper.py:43
↓ 8 callersMethodget_key
src/core/algorithm/hnsw/hnsw_streamer_entity.cc:271
↓ 8 callersMethodhas_fts
Check if the query contains an FTS (full-text search) condition. Returns: bool: True if `fts` is set with a query_string or match
python/zvec/model/param/query.py:107
↓ 8 callersMethodhas_id
Check if the query is based on a document ID. Returns: bool: True if `id` is set, False otherwise.
python/zvec/model/param/query.py:91
↓ 8 callersMethodhas_writing_forward_block
src/db/index/common/meta.h:336
↓ 8 callersMethodinsert
src/core/algorithm/diskann/diskann_util.h:136
↓ 8 callersMethodinvert_cond
src/db/sqlengine/analyzer/query_info.h:147
↓ 8 callersMethodis_valid
Test if the iterator is valid
src/core/algorithm/hnsw_sparse/hnsw_sparse_index_provider.h:99
↓ 8 callersMethodis_vector_index_type
src/include/zvec/db/index_params.h:54
↓ 8 callersMethodlist_size
src/include/zvec/db/query_params.h:203
↓ 8 callersMethodlock_shared
Locking (shared)
src/ailego/io/file_lock.h:43
↓ 8 callersMethodmagic
src/core/algorithm/hnsw_sparse/hnsw_sparse_context.h:84
↓ 8 callersMethodmax_doc_count_per_segment
src/db/index/common/schema.cc:633
↓ 8 callersFunctionmod_json_string_add_cstr
src/ailego/encoding/json/mod_json.c:1082
↓ 8 callersFunctionmod_json_utils_clp2
src/ailego/encoding/json/mod_json.c:110
↓ 8 callersFunctionmod_json_value_clear
src/ailego/encoding/json/mod_json.c:575
↓ 8 callersMethodnormalize
Normalize score
src/core/algorithm/ivf/ivf_entity.cc:335
↓ 8 callersMethodopen
src/core/framework/index_mapping.cc:90
↓ 8 callersMethodpending_count
Retrieve count of pending tasks in pool
src/include/zvec/ailego/parallel/thread_pool.h:251
↓ 8 callersMethodprocess
src/db/index/column/fts_column/tokenizer/tokenizer_factory.cc:72
↓ 8 callersMethodrerank
Re-rank documents using Qwen's TextReRank API. Sends document texts to DashScope TextReRank service along with the query. Returns doc
python/zvec/extension/qwen_rerank_function.py:99
↓ 8 callersMethodreset
Reset context
src/core/algorithm/diskann/diskann_context.h:250
← previousnext →401–500 of 10,974, ranked by callers