What Inillucent is
Inillucent is an embedded database written in Rust. It stores relational data, full-text indexes, vector indexes, and hybrid retrieval indexes in the same file and runs inside your application.
Embedded means there isn't a database server to install or keep alive, your program opens a file, sends SQL to a library in the same process, and receives typed rows back. We can reach the same engine from a terminal through inillucent-shell.
The SQL dialect follows SQLite 3.53.4 closely. If you have used SQLite, most statements will look familiar. If SQL is new to you, start with the next four chapters and type the examples in order.
- Relational tables use B+trees, snapshot isolation, and a redo write-ahead log.
- VECTOR(N) columns and inillucent_hnsw indexes put nearest-neighbor search in ordinary SQL.
- inillucent_search combines lexical and vector retrieval, adds calibrated confidence, and can decline to answer.
- Unsupported features fail with a named error instead of returning an approximate answer.
The first query
SELECT asks for a value, and this query doesn't need a table, so it's a safe way to confirm the shell and engine are working.
SELECT 'Inillucent is ready' AS status;| status | |---------------------| | Inillucent is ready |