diff --git a/docs/search.md b/docs/search.md index d0facd3..3603c4b 100644 --- a/docs/search.md +++ b/docs/search.md @@ -71,7 +71,7 @@ tg personal search messages 'lease chat:"Book club"' # Telegram messages only, ``` ```sh -tg personal search notes 'budget type:internal' # only notes written in memo +tg personal search notes 'budget source:internal' # only notes written in memo ``` ```sh @@ -85,8 +85,8 @@ tg personal search topics "Hiking" "gear" # topic titles in one forum gr `search all` says what each hit is — a message (`msg:…`) or a note (`note:…`). tg never searches mail: `tg personal search mail` answers "mail is memo's: install @wirecat/cli-memo, then `memo search mail …`", and `search all --only mail` is refused the same way. In `search messages`, `NOT has:attachment`, `has:voice` and -`has:file` in the query keep only text, voice or files; in `search notes`, `type:internal` and `type:file` keep the -notes written in memo or imported from a folder. +`has:file` in the query keep only text, voice or files; in `search notes`, `source:internal` and `source:file` keep +the notes written in memo or imported from a folder. When a field does not apply — `chat:`/`from:` for notes — `search all` skips that resource and explains why. Mail and notes reach the store through memo: `memo sync --mail` and `memo import`. Without them,