JMFTS is a retrieval appliance. It combines matryoshka embeddings, ColBERT-style late interaction, and BM25 into one hybrid search over PostgreSQL with pgvector.
Current release: 0.8.0 (PyPI and tag v0.8.0). master carries unreleased work after it, chiefly a BM25-only install with no torch (see the Changelog).
Since 0.6.0 it also has a face. pip install 'jmfts[web]' mounts a browser front end at /app, where you can drag a file in, watch the queue settle it, run one query down seven columns, and click a result to see the page with the answer boxed on it. See 0.6.0 — eyes and hands, or See a result on the page to run the beeline yourself.
One documents table holds the corpus as a tree, so scoping a search is naming a parent rather than standing up a second index. Three read paths come off that one store: the 768-dim document vector, the BM25 postings, and the per-token vectors late interaction needs. Hybrid fuses the first two, and it fuses them by rank — each leg contributes weight/(60+rank), so what comes back is an ordering, not a similarity, and a relevant query and a nonsense one measured the same five scores. Threshold on vector instead. Late interaction arrives as the optional second stage, where the two rerank methods differ by prerequisite rather than by quality: maxsim reads tokens you already stored, cross_encoder loads a model and reads no table.