Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/search.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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,
Expand Down
Loading