MCPcopy Create free account

hub / github.com/alibaba/zvec / types & classes

Types & classes1,906 in github.com/alibaba/zvec

↓ 119 callersClassQuery
Represents a search query for a specific field in a collection. A `Query` can be constructed for either vector search or full-text search, bu
python/zvec/model/param/query.py:49
↓ 115 callersClassDoc
Represents a retrieved document with optional metadata, fields, and vectors. This immutable data class encapsulates the result of a search or ret
python/zvec/model/doc.py:29
↓ 91 callersClassFieldSchema
Represents a scalar (non-vector) field in a collection schema. A `FieldSchema` defines the name, data type, nullability, and optional inverte
python/zvec/model/schema/field_schema.py:65
↓ 62 callersClassVectorSchema
Represents a vector field in a collection schema. A `VectorSchema` defines the name, data type, dimensionality, and index configuration for a
python/zvec/model/schema/field_schema.py:189
↓ 31 callersClassCollectionSchema
Defines the structure of a collection in Zvec. A collection schema specifies the name of the collection and its fields, including both scalar
python/zvec/model/schema/collection_schema.py:28
↓ 20 callersClassFts
Full-text search query parameters. Attributes: query_string (Optional[str]): FTS query expression (e.g. '+vector -slow "exact
python/zvec/model/param/query.py:33
↓ 19 callersClassQuantizerParam
* Quantizer parameters for vector indexes. * Encapsulates quantization-related settings such as enable_rotate. * Designed for future extensibility (
src/include/zvec/db/index_params.h:128
↓ 18 callersClassDefaultLocalReRanker
Re-ranker using Sentence Transformer cross-encoder models for semantic re-ranking. This re-ranker leverages pre-trained cross-encoder models to p
python/zvec/extension/sentence_transformer_rerank_function.py:27
↓ 18 callersClassIndexQueryMeta
! Index Query Meta */
src/include/zvec/core/framework/index_meta.h:641
↓ 18 callersClassQwenSparseEmbedding
Sparse text embedding function using Qwen (DashScope) API. This class provides text-to-sparse-vector embedding capabilities using Alibaba Clo
python/zvec/extension/qwen_embedding_function.py:272
↓ 17 callersClassOpenAIDenseEmbedding
Dense text embedding function using OpenAI API. This class provides text-to-vector embedding capabilities using OpenAI's embedding models. It
python/zvec/extension/openai_embedding_function.py:24
↓ 16 callersClassBM25EmbeddingFunction
BM25-based sparse embedding function using DashText SDK. This class provides text-to-sparse-vector embedding capabilities using the DashText
python/zvec/extension/bm25_embedding_function.py:24
↓ 16 callersClassRrfReRanker
Re-ranker using Reciprocal Rank Fusion (RRF) for multi-vector search. RRF combines results from multiple vector queries without requiring rel
python/zvec/extension/multi_vector_reranker.py:67
↓ 15 callersClassDefaultLocalDenseEmbedding
Default local dense embedding using all-MiniLM-L6-v2 model. This is the default implementation for dense text embedding that uses the ``all-M
python/zvec/extension/sentence_transformer_embedding_function.py:25
↓ 15 callersClassQwenReRanker
Re-ranker using Qwen (DashScope) cross-encoder API for semantic re-ranking. This re-ranker leverages DashScope's TextReRank service to perform
python/zvec/extension/qwen_rerank_function.py:26
↓ 15 callersClassconst_reverse_iterator
src/include/zvec/ailego/encoding/json/mod_json_plus.h:1149
↓ 14 callersClassDefaultLocalSparseEmbedding
Default local sparse embedding using SPLADE model. This class provides sparse vector embedding using the SPLADE (SParse Lexical AnD Expansion
python/zvec/extension/sentence_transformer_embedding_function.py:311
↓ 14 callersClassconst_iterator
src/include/zvec/ailego/encoding/json/mod_json_plus.h:1147
↓ 13 callersClassQueryContext
python/zvec/executor/query_executor.py:60
↓ 11 callersClassJsonValue
! JSON Value */
src/include/zvec/ailego/encoding/json/mod_json_plus.h:399
↓ 11 callersClassQueryExecutor
Unified query executor that routes based on query count and reranker type.
python/zvec/executor/query_executor.py:105
↓ 10 callersClassWeightedReRanker
Re-ranker that combines scores using per-sub-query weights. Each sub-query's score is normalized by metric type (automatic when used via coll
python/zvec/extension/multi_vector_reranker.py:108
↓ 9 callersClassQwenDenseEmbedding
Dense text embedding function using Qwen (DashScope) API. This class provides text-to-vector embedding capabilities using Alibaba Cloud's Das
python/zvec/extension/qwen_embedding_function.py:24
↓ 9 callersClassSquaredEuclidean
src/core/metric/quantized_integer_metric_matrix.h:32
↓ 7 callersClassMockCollectionSchema
python/tests/test_query_executor.py:46
↓ 7 callersClassiterator
src/include/zvec/ailego/encoding/json/mod_json_plus.h:1146
↓ 7 callersClassreverse_iterator
src/include/zvec/ailego/encoding/json/mod_json_plus.h:1148
↓ 6 callersClassBlobWrap
! AiLego Blob Wrap */
src/include/zvec/ailego/container/blob.h:26
↓ 6 callersClassDistanceImpl
A callable distance handle bound to a quantized query vector. DistanceImpl owns the quantized query bytes and a dispatched DistanceFunc. Invoking `op
src/turbo/quantizer/distance.h:31
↓ 6 callersClassFloat16
! Half-Precision Floating Point */
src/include/zvec/ailego/utility/float_helper.h:59
↓ 5 callersClassCallbackReRanker
Re-ranker that delegates to a user-provided callback. The callback receives sub-query results, field schemas, and topn. Args: callba
python/zvec/extension/multi_vector_reranker.py:166
↓ 5 callersClassFlatIndexParamBuilder
src/include/zvec/core/interface/index_param_builders.h:118
↓ 5 callersClassHNSWIndexParamBuilder
src/include/zvec/core/interface/index_param_builders.h:157
↓ 5 callersClassMinusInnerProduct
src/core/metric/quantized_integer_metric_matrix.h:137
↓ 5 callersClassNeighbor
Neighbor
src/core/algorithm/diskann/diskann_util.h:114
↓ 5 callersClassconst_iterator
src/include/zvec/ailego/container/vector.h:320
↓ 4 callersClassAddColumnOptions
src/include/zvec/db/options.h:64
↓ 4 callersClassAlterColumnOptions
src/include/zvec/db/options.h:68
↓ 4 callersClassDistance
! Distance module */
src/ailego/math/distance.h:24
↓ 4 callersClassHNSWQueryParamBuilder
HNSW builder (adds one specific field: ef_search)
src/include/zvec/core/interface/index_param_builders.h:404
↓ 4 callersClassJsonObject
src/include/zvec/ailego/encoding/json/mod_json_plus.h:395
↓ 4 callersClassVectorInfo
src/core/algorithm/diskann/diskann_entity.h:29
↓ 4 callersClassVectorQuery
Deprecated alias for Query. Use Query instead.
python/zvec/model/param/query.py:165
↓ 3 callersClassDiskAnnIndexParamBuilder
src/include/zvec/core/interface/index_param_builders.h:248
↓ 3 callersClassIVFIndexParamBuilder
src/include/zvec/core/interface/index_param_builders.h:127
↓ 3 callersClassIndexFilter
src/db/index/common/index_filter.h:24
↓ 2 callersClassBlockMeta
src/db/index/common/meta.h:33
↓ 2 callersClassBufferPoolMemoryBlock
Lightweight MemoryBlock for buffer pool mode: release on destruction
src/core/algorithm/hnsw/hnsw_entity.h:198
↓ 2 callersClassCube
! Cube class */
src/include/zvec/ailego/container/cube.h:166
↓ 2 callersClassFlatQueryParamBuilder
FLAT builder (no extra fields, just inherits base functionality)
src/include/zvec/core/interface/index_param_builders.h:389
↓ 2 callersClassHNSWRabitqIndexParamBuilder
src/include/zvec/core/interface/index_param_builders.h:186
↓ 2 callersClassHNSWRabitqQueryParamBuilder
HNSW-Rabitq builder (adds ef_search field)
src/include/zvec/core/interface/index_param_builders.h:463
↓ 2 callersClassIVFQueryParamBuilder
IVF builder (adds specific fields: nprobe, l1QueryParam, l2QueryParam)
src/include/zvec/core/interface/index_param_builders.h:435
↓ 2 callersClassIVFRabitqIndexParamBuilder
src/include/zvec/core/interface/index_param_builders.h:226
↓ 2 callersClassIndexMeta
! Index Meta */
src/include/zvec/core/framework/index_meta.h:23
↓ 2 callersClassJsonString
! JSON String */
src/include/zvec/ailego/encoding/json/mod_json_plus.h:28
↓ 2 callersClassMemoryBlock
src/include/zvec/core/framework/index_storage.h:35
↓ 2 callersClassNeighbors
src/core/algorithm/hnsw/hnsw_entity.h:149
↓ 2 callersClassParquetBufferID
src/db/index/storage/parquet_buffer_pool.h:31
↓ 2 callersClassResultRecord
src/core/algorithm/hnsw_rabitq/hnsw_rabitq_entity.h:43
↓ 2 callersClassStage
src/db/common/profiler.h:34
↓ 2 callersEnumType
src/core/algorithm/ivf/ivf_entity.h:313
↓ 2 callersClassVamanaIndexParamBuilder
src/include/zvec/core/interface/index_param_builders.h:270
↓ 2 callersClassVamanaQueryParamBuilder
Vamana builder (adds ef_search field)
src/include/zvec/core/interface/index_param_builders.h:478
↓ 2 callersClassVectorLocation
! Location of Vector in Storage Segment */
src/core/algorithm/flat/flat_index_format.h:153
↓ 2 callersClassstat
tools/core/recall.cc:106
↓ 2 callersClassstat
tools/core/recall_original.cc:147
↓ 1 callersClassCollectionOptions
src/include/zvec/db/options.h:25
↓ 1 callersClassConcurrentQueue
src/include/zvec/ailego/buffer/concurrentqueue.h:587
↓ 1 callersClassDocIterator
Iterator over all documents in a collection. Returned by :meth:`Collection.iter_docs`. Supports the iterator protocol, explicit :meth:`close`
python/zvec/model/collection.py:54
↓ 1 callersClassDropScalarIndexTask
src/db/index/segment/segment_helper.h:119
↓ 1 callersClassFileWriter
! File Stream Writer */
src/ailego/io/file_writer.h:26
↓ 1 callersClassFilter
src/db/index/common/delete_store.h:61
↓ 1 callersClassGroupIndexDocument
src/include/zvec/core/framework/index_document.h:303
↓ 1 callersClassGroupResult
A group value and its matching documents. Attributes: group_by_value (str): String representation of the grouped scalar field value.
python/zvec/model/doc.py:192
↓ 1 callersClassHeapValue
tests/ailego/container/heap_test.cc:184
↓ 1 callersClassHnswStreamer
src/core/algorithm/hnsw/hnsw_streamer.h:25
↓ 1 callersClassIndexDocument
! Index Document */
src/include/zvec/core/framework/index_document.h:69
↓ 1 callersClassIndexPlugin
! Index Plugin */
src/include/zvec/core/framework/index_plugin.h:25
↓ 1 callersClassIvfRabitqBuildData
src/core/algorithm/ivf_rabitq/ivf_rabitq_builder.cc:45
↓ 1 callersClassIvfRabitqBuilder
! IVF RaBitQ Builder * Implements the standard IndexBuilder interface (init → train → build → dump) * for IVF RaBitQ indexes. */
src/core/algorithm/ivf_rabitq/ivf_rabitq_builder.h:33
↓ 1 callersClassIvfRabitqHeader
src/core/algorithm/ivf_rabitq/ivf_rabitq_index_format.h:25
↓ 1 callersClassJsonArray
src/include/zvec/ailego/encoding/json/mod_json_plus.h:394
↓ 1 callersClassMathHelper
! Math Helper */
src/ailego/utility/math_helper.h:27
↓ 1 callersClassMultiChunkCluster
MultiChunkCluster
src/core/algorithm/cluster/multi_chunk_cluster.h:429
↓ 1 callersClassNeighbors
src/core/algorithm/hnsw_sparse/hnsw_sparse_entity.h:171
↓ 1 callersClassNeighbors
src/core/algorithm/hnsw_rabitq/hnsw_rabitq_entity.h:187
↓ 1 callersClassOptions
src/db/sqlengine/planner/ops/contain_op.h:76
↓ 1 callersClassOptions
src/db/sqlengine/planner/ops/fetch_vector_op.h:134
↓ 1 callersClassOptions
src/db/sqlengine/planner/ops/check_not_filtered_op.h:64
↓ 1 callersClassParquetBufferContextHandle
src/db/index/storage/parquet_buffer_pool.h:92
↓ 1 callersClassPqQuantizerParam
Product-Quantization specific params
src/include/zvec/core/interface/index_param.h:160
↓ 1 callersClassPreprocessorParam
src/include/zvec/core/interface/index_param.h:189
↓ 1 callersClassRightValue
tests/ailego/pattern/closure_test.cc:998
↓ 1 callersClassSegmentData
src/include/zvec/core/framework/index_storage.h:271
↓ 1 callersClassSegmentMeta
src/include/zvec/core/framework/index_unpacker.h:32
↓ 1 callersClassSegmentMeta
src/db/index/common/meta.h:178
↓ 1 callersClassSparseVectorItem
src/core/utility/sparse_utility.h:63
↓ 1 callersClassVamanaStreamer
src/core/algorithm/vamana/vamana_streamer.h:25
↓ 1 callersClassVectorDataBuffer
src/db/index/column/vector_column/vector_column_params.h:61
next →1–100 of 1,906, ranked by callers