Skip to content

Search

1
2
3
notecast search kubernetes
notecast search "network policy" -n 10
notecast search kubernetes --similar

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.

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
notecast delete "Sourdough"
notecast delete 3f2a9c1e0b7d --yes