Search & Browse¶
How Search Works¶
zot search matches keywords across four layers:
- Titles & abstracts — direct text match
- Author names — first and last name matching
- Tags — exact tag matching
- PDF fulltext index — Zotero's built-in fulltext index
For deeper content search with BM25 ranking and optional semantic matching, use workspace query.
Basic Search¶
Filter by Collection¶
Filter by Item Type¶
Common types: journalArticle, conferencePaper, preprint, book, bookSection, thesis
Sort Results¶
zot search "attention" --sort dateAdded --direction desc
zot search "attention" --sort title --direction asc
Sort fields: dateAdded, dateModified, title, creator
List All Items¶
Recently Added Items¶
zot recent # Last 7 days (default)
zot recent --days 30 # Last 30 days
zot recent --days 7 --modified # Recently modified
View Item Details¶
Shows metadata, abstract, and notes. Use --detail full for extra fields.
Find Related Items¶
Finds items sharing tags, collections, or explicit relations.
Detail Levels¶
zot --detail minimal search "attention" # Key, title, authors, year only
zot --detail standard read ABC123 # Default — includes abstract, tags, DOI
zot --detail full read ABC123 # All fields including extra metadata
JSON Output¶
All commands support --json for machine-readable output.
Library Statistics¶
Shows total items, PDFs, notes, breakdown by type, collections, and top tags.