Search uses SQLite full-text search over titles, aliases and bodies, ranked with BM25. If a strict match finds nothing it falls back to a looser one, and it also brings in notes connected to the best matches. Search understands a few question shapes:
  • A date in the query pulls in the notes dated that day.
  • “How do X and Y relate” treats both pages as the subject.
  • A page whose title answers the question ranks above a long transcript that happens to contain the same words.

Ask

Ask retrieves the best notes, then answers from them. There are two modes: Notes marked secret are never sent to the model.

Structured queries

When you want a list by field values, use a query instead of search. See the query language.

Benchmarks

Reports are written to bench/ and are not indexed as notes.