Quick searches provide a fast way to find items in a library or collection. For an overview, watch the quick search screencast.
Running a Quick Search
To begin searching, click inside the search box at the top-right of the center column and start typing your search terms. As you type, only those items in the center column that match the search terms will remain.
Quick Search Options
Quick search can be used in three different modes:
- “Title, Year, Creator” - matches against just these three fields.
- “All Fields & Tags” - matches against all fields, as well as tags and text in notes.
- “Everything” - matches against all fields, tags, text in notes, and indexed text in PDFs (this requires that PDF indexing is enabled).
Speeding Up Quick Searches
When you have very large collections, the quick search's “search-as-you-type” search might become slow. To speed things up, place your search term in quotes. This prevents searches from taking place until you type in the second quotation mark.
Advanced searches offer more and finer control than quick searches, and allow you to make saved searches.
Running an Advanced Search
To open the Advanced Search window, click on the magnifying glass icon () at the top of the center column.
In this window, you can filter items by the content of specific fields or by other properties, like item type or the collection an item belongs to. Multiple filters can be set up by clicking the plus button.
You can filter items by the collections they belong to by searching by “Collection”. To include items in subcollections of matching collections in the search results, check “Search subfolders”.
To hide non-matching parent items with child items that do match the search criteria, and to collapse matching parent items with matching child items, check “Show only top-level items”.
By default, items only show up in the search results if they satisfy all search criteria. To match search criteria against both parent items and their children, check “Include parent and child items of matching items”. In this case, all search criteria still have to be satisfied, but parent/child items still show up if just part of the criteria is met by the parent item, and the other part by a child item.
It is not currently possible to search group libraries from the Advanced Search window. Instead, create a saved search for the group by right-clicking on the group name and choosing “New Saved Search…”.
The % percent sign character acts as a wild card in advanced searches, substituting for zero or more characters. E.g. the search term “W% Shakespeare” will match “W Shakespeare”, “W. Shakespeare” as well as “William Shakespeare”.
When you save an advanced search, it appears as a collection in your library (but with a saved search icon, , instead of the regular collection icon). Saved searches are continuously updated. E.g., if you set up a saved search for “Date Added” “is in the last” “7” “days”, the saved search will always show the items that have been added in the last 7 days. Saved searches only store the search criteria, not the search results.
To save a search, click the “Save Search” button in the Advanced Search window and provide a name for the search. Saved searches can be edited or deleted by right-clicking (ctrl-click on OS X) the saved search and selecting “Edit Saved Search” or “Remove Saved Search…”, respectively.
To create a saved search in a group library, right-click on the group name and choose “New Saved Search…”.
Fulltext PDF Indexing
Fulltext PDF indexing allows (embedded) text within PDFs to be searched with quick search (“Everything” option) and advanced search (via “Attachment Content”). To enable PDF indexing, you need to install the third-party open-source plugins pdftotext and pdfinfo, which can be done with the click of a button in the Search tab of the Zotero preferences window (these plugins can also be installed by hand when automatic installation fails; see the manual installation instructions).
Once PDF indexing is enabled, PDFs are automatically indexed as they are added to your library. PDFs that already existed in your library before you activated indexing can be indexed by going into the Search tab of the Zotero preferences window, and clicking the “Rebuild Index” and “Index Unindexed Items” buttons. Individual PDFs can also be (re)indexed by right-clicking them (control-click on OS X) in the center column of the Zotero pane and selecting “Reindex Item”.