Added
- JSON Lines files (
.jsonl,.ndjson): one document per line, with the id, title and text found by name (id,
title,text,abstract, ...) and every other field as metadata.sift add --id/--title/--textchooses other
fields. A changed file re-indexes only its changed records.
Changed
- The index holds the documents' text (once: chunks are spans of it), so
getreads the index instead of the
file, and results and documents always agree. Indexes made by sift 0.2 or older must be rebuilt: delete
sift.dband runsift add,sift indexandsift embedagain. The layout now has a version, so later changes
can migrate. - The default embedding model is
google/embeddinggemma-2(768 dimensions, Apache-2.0), replacing
Qwen/Qwen3-Embedding-0.6B. Runsift embed --resetto switch an existing index. It needs Pillow and
torchvision, now dependencies; with pip, install torchvision from the same index as torch.