How ajays0708/endee works
Endee is a vector database server. Clients send index-management, vector-ingestion, and search requests to the HTTP server; the index manager coordinates dense HNSW and optional sparse retrieval, with results returned through the server. The implementation also includes quantization, filtering, persistent vector and sparse stores, ID mapping, and write-ahead logging. README capabilities establish the API and authentication modes; some internal links are dashed because the relevant call sites were not included in the excerpts.
Main entry points: ndd.hpp Index manager · main.cpp HTTP API · bmw.hpp Sparse retrieval · vector_storage.hpp Vector store
Components 15
API and access
- HTTP API
src/main.cpp - Token auth
src/server/auth.hpp
Index and search
- Index manager
src/core/ndd.hpp - Dense vectors
src/core/ndd.hpp - Hybrid search
src/core/ndd.hpp - Metadata filters
src/filter/filter.hpp
Persistence
- Vector store
src/storage/vector_storage.hpp - Sparse store
src/sparse/sparse_storage.hpp - ID mapping
src/storage/id_mapper.hpp - Index metadata
src/storage/index_meta.hpp - Write-ahead log
src/storage/wal.hpp
Search engine
- HNSW index
src/hnsw/hnswalg.h - Quantization
src/quant/dispatch.hpp - Sparse retrieval
src/sparse/bmw.hpp
Other components
- API client
Connections 17
- API client → HTTP API: sends requests
README.md - HTTP API → Index manager: routes operations
src/main.cpp - HTTP API → Token auth: checks tokens
src/main.cpp - Index manager → HNSW index: creates index
src/core/ndd.hpp - Index manager → Vector store: fetches vectors
src/core/ndd.hpp - Index manager → Sparse store: initializes storage
src/core/ndd.hpp - Index manager → Sparse retrieval: runs retrieval
- Hybrid search → Sparse retrieval: combines results
src/core/ndd.hpp - Dense vectors → HNSW index: searches index
- Dense vectors → Quantization: encodes vectors
src/core/ndd.hpp - Hybrid search → Dense vectors: runs dense search
src/core/ndd.hpp - Index manager → ID mapping: maps identifiers
src/core/ndd.hpp - Index manager → Index metadata: loads metadata
src/core/ndd.hpp - Index manager → Write-ahead log: logs updates
src/core/ndd.hpp - Vector store → Metadata filters: adds filters
src/storage/vector_storage.hpp - Sparse store → Sparse retrieval: uses index
src/sparse/sparse_storage.hpp - HTTP API → API client: returns results
README.md