Request DB
This section covers all available DB (Database) operations for the Node.js SDK when interacting with Ahnlich DB.
Ahnlich DB is the core vector storage engine that provides:
- Vector storage with configurable dimensions
- Similarity search using various algorithms
- Metadata filtering with predicates
- Non-linear indexing (KDTree, HNSW) for faster searches
Available Operationsβ
Server Operationsβ
- Ping - Health check
- Info Server - Get server information
- List Connected Clients - List all connected clients
Store Operationsβ
- List Stores - List all stores
- Get Store - Get details of a specific store
- Create Store - Create a new store
- Drop Store - Delete a store
Data Operationsβ
- Set - Insert or update entries
- Get Key - Retrieve entries by key
- GetSimN - Find N most similar entries
- Get By Predicate - Filter entries by metadata
- Delete Key - Delete entries by key
- Delete Predicate - Delete entries matching a predicate
Index Operationsβ
- Create Predicate Index - Create metadata index
- Drop Predicate Index - Remove metadata index
- Create Non Linear Algorithm Index - Create KDTree/HNSW index
- Drop Non Linear Algorithm Index - Remove KDTree/HNSW index