Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cosdata/cosdata
/ functions
Functions
1,701 in github.com/cosdata/cosdata
⨍
Functions
1,701
◇
Types & classes
375
↳
Endpoints
1
Function
batch_sparse_search
( path: web::Path<String>, web::Json(body): web::Json<BatchSparseSearchRequestDto>, ctx: web::Data
src/api/vectordb/search/controller.rs:132
Function
batch_sparse_search
( ctx: Arc<AppContext>, collection_id: &str, request: BatchSparseSearchRequestDto, )
src/api/vectordb/search/service.rs:82
Function
batch_sparse_search
( ctx: Arc<AppContext>, collection_id: &str, request: dtos::BatchSparseSearchRequestDto, )
src/api/vectordb/search/repo.rs:128
Function
batch_tf_idf_search
( path: web::Path<String>, web::Json(body): web::Json<BatchSearchTFIDFDocumentsDto>, ctx: web::Dat
src/api/vectordb/search/controller.rs:285
Function
batch_tf_idf_search
( ctx: Arc<AppContext>, collection_id: &str, request: BatchSearchTFIDFDocumentsDto, )
src/api/vectordb/search/service.rs:188
Function
batch_tf_idf_search
( ctx: Arc<AppContext>, collection_id: &str, request: dtos::BatchSearchTFIDFDocumentsDto, )
src/api/vectordb/search/repo.rs:711
Function
batch_usv_search
( path: web::Path<String>, web::Json(body): web::Json<BatchSparseSearchRequestDto>, ctx: web::Data
src/api/vectordb/search/controller.rs:341
Function
batch_usv_search
( ctx: Arc<AppContext>, collection_id: &str, request: BatchSparseSearchRequestDto, )
src/api/vectordb/search/service.rs:236
Function
batch_usv_search
( ctx: Arc<AppContext>, collection_id: &str, request: dtos::BatchSparseSearchRequestDto, )
src/api/vectordb/search/repo.rs:784
Function
bench_dot_product
(c: &mut Criterion)
tests/benches/dot_product_benchmark.rs:92
Function
bench_lookup_table
(c: &mut Criterion)
tests/benches/lookup_table_benchmark.rs:36
Function
benchmark_binary
(c: &mut Criterion)
tests/benches/cosine_similarity_benchmark.rs:91
Function
benchmark_concurrent_writes
(c: &mut Criterion)
tests/benches/write_concurrent_benchmark.rs:55
Function
benchmark_octal
(c: &mut Criterion)
tests/benches/cosine_similarity_benchmark.rs:108
Function
benchmark_u8
(c: &mut Criterion)
tests/benches/cosine_similarity_benchmark.rs:125
Function
benchmark_writes
(c: &mut Criterion)
tests/benches/write_benchmark.rs:55
Function
bruteforce_search
(vectors, query, k=5)
tests/rps-test.py:242
Method
build_from_raw
( raw: <Self as RawDeserialize>::Raw, cache: &HNSWIndexCache, dummy_bufman: &BufferMan
src/models/prob_node.rs:356
Function
build_vector
(doc)
tests/test_hybrid.py:623
Method
calculate
( &self, x: &VectorData, y: &VectorData, _is_indexing: bool, )
src/distance/dotproduct.rs:14
Method
calculate
( &self, x: &VectorData, y: &VectorData, _is_indexing: bool, )
src/distance/hamming.rs:15
Method
calculate
( &self, _x: &VectorData, _y: &VectorData, _is_indexing: bool, )
src/distance/cosine.rs:20
Method
calculate
( &self, x: &VectorData, y: &VectorData, _is_indexing: bool, )
src/distance/euclidean.rs:11
Method
call
(&self, req: ServiceRequest)
src/api/auth/authentication_middleware.rs:65
Function
check_search_results
(vector_index, vector_db_name)
tests/test_metadata_filters.py:232
Function
check_vector_existence
( path: web::Path<(String, String)>, ctx: web::Data<AppContext>, )
src/api/vectordb/vectors/controller.rs:95
Function
check_vector_existence
( ctx: Arc<AppContext>, collection_id: &str, vector_id: VectorId, )
src/api/vectordb/vectors/service.rs:30
Function
check_vector_existence
( ctx: Arc<AppContext>, collection_id: &str, vector_id: VectorId, )
src/api/vectordb/vectors/repo.rs:83
Method
cleanup_stale_mappings
(&self)
src/models/collection_cache.rs:259
Method
clear_data
(&self)
src/models/lazy_item.rs:95
Method
clone_neighbors
(&self)
src/models/prob_node.rs:331
Function
cmd_insert_and_check
(ctx, args)
tests/test_metadata_filters.py:560
Function
cmd_query
(ctx, args)
tests/test_metadata_filters.py:607
Function
collections_openapi_json
()
src/api/docs.rs:41
Method
combine_index
(file_index: &FileIndex<IndexFileId>)
src/models/cache_loader.rs:270
Function
commit_transaction
( params: web::Path<(String, ExplicitTransactionID)>, ctx: web::Data<AppContext>, )
src/api/vectordb/transactions/controller.rs:63
Function
commit_transaction
( ctx: Arc<AppContext>, collection_id: &str, transaction_id: ExplicitTransactionID, )
src/api/vectordb/transactions/service.rs:21
Function
commit_transaction
commits a transaction for a specific collection
src/api/vectordb/transactions/repo.rs:46
Function
commit_transaction
Commit transaction using cosdata client
tests/test-sparse-vector.py:93
Function
commit_transaction
Commit transaction using cosdata client
tests/test-tf-idf-ndcg.py:180
Function
commit_transaction
Commit transaction using cosdata client
tests/test-tf-idf-bm25.py:441
Function
concat_vectors
(vectors: &[&[f32]])
src/models/kmeans.rs:18
Function
condition
(input: &str)
org/src/cosql.rs:354
Function
cosine_coalesce
(x: &VectorQt, y: &VectorQt, length: usize)
org/src/main.rs:166
Function
cosine_sim_matrix
Compute cosine similarity between each row in A and each row in B
tests/test-dataset-streaming.py:330
Function
cosine_sim_matrix
Compute cosine similarity between each row in A and each row in B
tests/test-dataset.py:312
Function
cosine_similarity
(a: &[f32], b: &[f32])
src/models/common.rs:195
Method
create_cf_family
Create a new column family
org/src/persist.rs:34
Function
create_collection
( web::Json(create_collection_dto): web::Json<CreateCollectionDto>, ctx: web::Data<AppContext>, )
src/api/vectordb/collections/controller.rs:30
Function
create_collection
( ctx: Arc<AppContext>, create_collection_dto: CreateCollectionDto, )
src/api/vectordb/collections/service.rs:17
Function
create_collection
( ctx: Arc<AppContext>, CreateCollectionDto { name, description, config,
src/api/vectordb/collections/repo.rs:19
Function
create_db_old
(vector_db_name, dimensions, max_val, min_val)
tests/load-test.py:96
Function
create_dense_index
( web::Json(create_index_dto): web::Json<CreateDenseIndexDto>, ctx: web::Data<AppContext>, collect
src/api/vectordb/indexes/controller.rs:34
Function
create_dense_index
( collection_id: String, create_index_dto: CreateDenseIndexDto, ctx: Arc<AppContext>, )
src/api/vectordb/indexes/service.rs:14
Function
create_dense_index
( ctx: Arc<AppContext>, collection_name: String, _name: String, distance_metric: DistanceMetri
src/api/vectordb/indexes/repo.rs:21
Function
create_key_value_index
( web::Json(create_index_dto): web::Json<CreateKeyValueIndexDto>, ctx: web::Data<AppContext>, coll
src/api/vectordb/indexes/controller.rs:139
Function
create_key_value_index
( collection_id: String, create_index_dto: CreateKeyValueIndexDto, ctx: Arc<AppContext>, )
src/api/vectordb/indexes/service.rs:61
Function
create_key_value_index
( ctx: Arc<AppContext>, collection_name: String, _name: String, )
src/api/vectordb/indexes/repo.rs:132
Function
create_session
(username: &str, server_key: &[u8], password: &str)
org/src/session_token.rs:77
Function
create_session
( web::Json(create_session_dto): web::Json<CreateSessionDTO>, ctx: web::Data<AppContext>, )
src/api/auth/controller.rs:26
Function
create_session
( create_session_dto: CreateSessionDTO, ctx: Arc<AppContext>, )
src/api/auth/service.rs:18
Function
create_session
Creates a new session with time-based access token Flow: 1. Derive master key from admin key and user key 2. Generate token key using current timestam
src/models/crypto.rs:137
Function
create_sparse_index
( web::Json(create_index_dto): web::Json<CreateSparseIndexDto>, ctx: web::Data<AppContext>, collec
src/api/vectordb/indexes/controller.rs:69
Function
create_sparse_index
( collection_id: String, create_index_dto: CreateSparseIndexDto, ctx: Arc<AppContext>, )
src/api/vectordb/indexes/service.rs:30
Function
create_sparse_index
( ctx: Arc<AppContext>, collection_name: String, _name: String, quantization: SparseIndexQuant
src/api/vectordb/indexes/repo.rs:76
Function
create_tf_idf_index
( web::Json(create_index_dto): web::Json<CreateTFIDFIndexDto>, ctx: web::Data<AppContext>, collect
src/api/vectordb/indexes/controller.rs:104
Function
create_tf_idf_index
( collection_id: String, create_index_dto: CreateTFIDFIndexDto, ctx: Arc<AppContext>, )
src/api/vectordb/indexes/service.rs:45
Function
create_tf_idf_index
( ctx: Arc<AppContext>, collection_name: String, _name: String, sample_threshold: usize, k
src/api/vectordb/indexes/repo.rs:107
Function
create_transaction
( collection_id: web::Path<String>, ctx: web::Data<AppContext>, )
src/api/vectordb/transactions/controller.rs:33
Function
create_transaction
( ctx: Arc<AppContext>, collection_id: &str, )
src/api/vectordb/transactions/service.rs:14
Function
create_transaction
creates a transaction for a specific collection
src/api/vectordb/transactions/repo.rs:17
Function
create_transaction
Create transaction using cosdata client
tests/test-sparse-vector.py:71
Function
create_transaction
Create transaction using cosdata client
tests/test-tf-idf-ndcg.py:151
Function
create_transaction
Create transaction using cosdata client
tests/test-tf-idf-bm25.py:426
Function
create_usv_index
( web::Json(create_index_dto): web::Json<CreateUSVIndexDto>, ctx: web::Data<AppContext>, collectio
src/api/vectordb/indexes/controller.rs:171
Function
create_usv_index
( collection_id: String, create_index_dto: CreateUSVIndexDto, ctx: Arc<AppContext>, )
src/api/vectordb/indexes/service.rs:69
Function
create_usv_index
( ctx: Arc<AppContext>, collection_name: String, _name: String, quantization_bits: u8, sam
src/api/vectordb/indexes/repo.rs:154
Function
create_vector_in_transaction
( collection: &Collection, transaction: &ExplicitTransaction, create_vector_dto: CreateVectorDto,
src/api/vectordb/vectors/repo.rs:15
Function
create_vector_in_transaction
( params: web::Path<(String, ExplicitTransactionID)>, web::Json(create_vector_dto): web::Json<CreateVe
src/api/vectordb/transactions/controller.rs:128
Function
create_vector_in_transaction
( ctx: Arc<AppContext>, collection_id: &str, transaction_id: ExplicitTransactionID, create_vec
src/api/vectordb/transactions/service.rs:37
Function
create_vector_in_transaction
( ctx: Arc<AppContext>, collection_id: &str, transaction_id: ExplicitTransactionID, create_vec
src/api/vectordb/transactions/repo.rs:121
Function
create_vector_in_transaction
(collection_name, transaction_id, vector)
tests/rps-test.py:116
Function
create_vector_in_transaction
(collection_name, transaction_id, vector)
tests/load-test.py:124
Function
criterion_benchmark
(c: &mut Criterion)
tests/benches/lru_cache_benchmark.rs:6
Function
data_type
(input: &str)
org/src/cosql.rs:46
Method
default
()
src/config_loader.rs:65
Method
default
()
src/models/tree_map.rs:369
Method
default
()
src/models/atomic_array.rs:34
Method
default
()
src/models/tf_idf_index.rs:93
Method
default
()
src/models/collection_transaction.rs:193
Method
default
()
src/models/usv_index.rs:41
Method
default_from_config
(config: &Config)
src/indexes/hnsw/types.rs:20
Function
default_fusion_constant_k
()
src/api/vectordb/search/dtos.rs:10
Function
default_top_k
()
src/api/vectordb/search/dtos.rs:6
Method
delete
(&mut self, version: VersionNumber)
src/models/tree_map.rs:256
Method
delete
(&mut self, version: VersionNumber, id: T::Id)
src/models/versioned_vec.rs:131
Method
delete
( &self, quotient: TermQuotient, document_id: u32, cache: &TFIDFIndexCache,
src/models/tf_idf_index.rs:248
Method
delete
( &self, quotient: u16, quantized_value: u8, vector_id: u32, version:
src/models/usv_index.rs:174
Method
delete
Delete a value from the index at the specified dimension index. Finds the quantized value and (soft) deletes the vec_id
src/models/inverted_index.rs:205
Function
delete_collection
Delete a collection using cosdata client
tests/test-tf-idf-bm25.py:447
← previous
next →
901–1,000 of 1,701, ranked by callers