Search¶
1 2 3 | |
Full text¶
search uses SQLite FTS5 over each note's title, content, summary and
keywords, ranked by relevance (bm25). Every word you type must appear;
punctuation and FTS5 operators such as AND, OR, : or quotes are
taken literally, so any input is safe. -n limits the results (5).
Each result shows the note's id, title, status and themes, and the start of its summary.
Similar notes¶
--similar also lists the notes whose embeddings are closest to the
first result's, by cosine similarity: at most -n of them, and only
those scoring at least similar_threshold (0.7). Only processed notes have
embeddings.
The threshold depends on the embedding model. With nomic-embed-text,
notes on the same subject score around 0.8 and unrelated notes 0.45–0.65,
so 0.7 separates them; for another model, look at a few --similar
results and adjust it with notecast config set similar_threshold.
Deleting by search¶
notecast delete matches differently: by exact note id, else by a
case-insensitive substring of the title. If more than one note matches, it
lists them with their ids; pass the id.
1 2 | |