hnsw-accelerated approximate nearest neighbor search
Implements Hierarchical Navigable Small World (HNSW) algorithm for sub-linear time vector similarity search across high-dimensional embeddings. Uses a multi-layer graph structure with greedy search traversal to locate nearest neighbors in logarithmic complexity, enabling fast retrieval from million-scale vector collections without exhaustive scanning.
Unique: Combines HNSW with Rust/WASM backend for native performance while exposing Node.js API, avoiding pure-JavaScript bottlenecks that plague alternatives like Pinecone client libraries or Chroma.js
vs alternatives: Faster than Weaviate or Milvus for single-node deployments due to WASM-compiled HNSW implementation; cheaper than Pinecone because it runs locally without API calls
hybrid search combining dense and sparse retrieval
Merges HNSW dense vector search with BM25-style sparse keyword matching, then re-ranks results using configurable fusion strategies (RRF, weighted sum). Allows queries to match both semantic meaning and exact terminology, improving recall for domain-specific or technical documents where keyword precision matters alongside semantic similarity.
Unique: Implements configurable fusion strategies (RRF, weighted sum) with per-query weight tuning, whereas most vector DBs treat hybrid search as an afterthought or require external re-ranking services
vs alternatives: More flexible than Elasticsearch's dense_vector + text search because fusion weights are tunable per query; simpler than Vespa because it doesn't require complex ranking expressions
embedding generation with pluggable model backends
Integrates with multiple embedding model providers (OpenAI, Hugging Face, local models) through a pluggable backend interface, handling tokenization, batching, and error retry logic. Allows switching embedding models without changing application code, and supports local model execution for privacy-sensitive deployments or cost optimization.
Unique: Provides pluggable embedding backends with local model support built-in, whereas most vector DBs assume embeddings are pre-computed or require external embedding services
vs alternatives: More flexible than Pinecone (cloud-only embeddings) and Weaviate (requires separate embedding service); simpler than building custom embedding pipelines
query expansion and semantic rewriting
Automatically expands queries with synonyms, related terms, and semantic variations before search, or rewrites queries to improve retrieval quality. Uses attention mechanisms and language models to generate alternative query formulations that capture different aspects of user intent, increasing recall by matching documents that use different terminology.
Unique: Integrates query expansion directly into the vector search pipeline with attention-based rewriting, whereas most systems treat expansion as a separate preprocessing step
vs alternatives: More sophisticated than simple synonym expansion because it uses semantic rewriting; simpler than building custom query understanding pipelines
similarity score normalization and calibration
Normalizes and calibrates similarity scores from HNSW search to produce interpretable confidence values (0-1 range) that reflect actual retrieval quality. Uses statistical calibration based on query patterns to adjust raw distance scores, enabling consistent ranking across different embedding models and distance metrics without manual threshold tuning.
Unique: Implements statistical calibration of similarity scores based on query patterns, whereas most vector DBs return raw distances without normalization or confidence interpretation
vs alternatives: More principled than manual threshold tuning; simpler than building separate ranking models because calibration is automatic
graph-based rag with multi-hop traversal
Constructs a knowledge graph from indexed documents where nodes represent entities/concepts and edges represent relationships, enabling multi-hop retrieval that follows semantic connections across documents. Queries traverse the graph to gather contextually related information beyond direct similarity matches, improving context coherence for LLM generation by providing interconnected knowledge.
Unique: Integrates graph traversal directly into the vector DB rather than requiring separate graph DB (Neo4j, ArangoDB), reducing operational complexity and latency from inter-service calls
vs alternatives: Simpler than LangChain's graph RAG because graph construction is built-in; faster than querying Neo4j separately because traversal happens in-process
flashattention-3 optimized attention computation
Implements FlashAttention-3 algorithm for efficient attention mechanism computation during embedding refinement and query processing, reducing memory bandwidth requirements and computational complexity from O(n²) to near-linear through IO-aware tiling and kernel fusion. Enables processing of longer context windows and larger batch sizes without proportional memory growth.
Unique: Brings FlashAttention-3 (typically found in LLM inference frameworks) into the vector DB layer for embedding refinement, whereas competitors treat embeddings as static inputs
vs alternatives: More memory-efficient than naive attention implementations; comparable to Hugging Face Transformers' FlashAttention but integrated into vector search pipeline
50+ pluggable attention mechanisms for embedding customization
Provides a modular architecture supporting 50+ attention variants (multi-head, multi-query, grouped-query, linear attention, sparse attention, etc.) that can be swapped during embedding computation. Allows fine-tuning embedding quality for specific domains by selecting attention patterns that emphasize different aspects of token relationships, without recomputing base embeddings.
Unique: Exposes 50+ attention variants as first-class configuration options in a vector DB, whereas most DBs use fixed embedding models and don't allow mechanism customization
vs alternatives: More flexible than Pinecone or Weaviate which use fixed embedding models; similar to Hugging Face but integrated into search pipeline rather than requiring external embedding service
+5 more capabilities