quria
quria: experimental pgrx extension for BM25 full-text and HNSW vector search
quria · quria: experimental pgrx extension for BM25 full-text and HNSW vector search
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 100814 | quria | quria | 0.0.0 | RAG | Apache-2.0 | Rust |
PostgreSQL · 11, 12, 13, 14, 15
| Relationships | |
|---|---|
| Requires | plpgsql |
Usage
Sources:
- Quria README at the reviewed commit
- quria.control at the reviewed commit
- Cargo package metadata
- Upstream demonstration SQL
- Bootstrap and preload behavior
- Public functions and hooks
- Full-text operator implementation
- On-disk inverted-index implementation
- Vector module at the reviewed commit
quria is a version 0.0.0 pgrx prototype for BM25-style full-text search. It defines the quria.fulltext and quria.query types, a quria_fts index access method, the ~> match operator, and quria.ft_score.
Prototype Full-Text Search
After superuser installation, reconnect so the database-level session preload setting created by the bootstrap takes effect:
Caveats
- The README advertises HNSW vector search, but the reviewed vector module contains no implementation. Only the experimental full-text path has substantive code.
- Bootstrap changes
session_preload_librariesfor the whole database and grants all privileges on schemaquriatoPUBLIC. Review and narrow both changes before any shared test system. - Index data is serialized under the PostgreSQL operating-system user’s local
.quria/fulltextdirectory, outside ordinary PostgreSQL relation storage and WAL. Standard backup, replication, crash recovery, and transactional guarantees do not automatically cover those files. - The source is marked WIP, has no release tags, uses old internal index APIs, and contains many panic paths. Cargo features cover PostgreSQL 11 through 15 with 13 as default; they are not a production compatibility statement.