Sherlock Boolean Search in Mac OS 9
Sherlock in Mac OS 9 handled Boolean search operators through a combination of traditional text-based syntax and visual interface controls, depending on whether the user was searching file metadata, indexed file contents, or the internet. While file attribute searches relied on dynamic user interface criteria to create logical AND and OR conditions, full-text searches and internet channels allowed users to type explicit operators like AND, OR, and NOT directly into the query field.
File Attribute Searches (The Visual Interface)
When searching for files by name, date, size, or file type (the "Find File" channel), Sherlock did not parse typed Boolean words in the main text box. Instead, it handled Boolean logic through its graphical interface:
- AND Logic: By clicking the "More Choices" button,
users could add multiple attribute rows. By default, Sherlock treated
each additional row as a mandatory condition. For example, setting one
row to "name contains Report" and another to "date modified is within 1
week" functioned as an
ANDoperator, requiring files to satisfy both criteria to appear in the results. - OR Logic: To create an
ORcondition across file criteria, users configured the dropdown modifier located above the criteria rows. Switching the condition from matching "all" criteria to matching "any" criteria instructed Sherlock to return files that satisfied at least one of the listed rows.
Find by Content (Indexed Text Search)
Mac OS 9 included Appleās V-Twin search engine, which indexed the text content of local documents. When using the "Find by Content" feature, Sherlock supported standard Boolean syntax typed directly into the search bar:
- AND: Entering multiple words without operators
typically ranked results based on relevance, but typing
AND(capitalized) forced the search engine to return only documents containing all specified terms. - OR: Placing
ORbetween terms allowed users to find documents that contained either term. For example, searchingbudget OR financeretrieved documents containing either word or both. - NOT: Users could exclude specific words by typing
NOTbefore a term (e.g.,cats NOT dogs). - Phrase Matching: Exact phrases were enclosed in
quotation marks (
"annual report"), which worked in tandem with Boolean operators (e.g.,"annual report" AND 1999).
Internet Search Channels
Sherlock 2 organized web searches into specialized channels (such as
General, Shopping, and News) by dispatching queries to multiple web
search engines simultaneously using Sherlock plugin files
(.src).
When users entered Boolean operators like AND or
OR in the internet search bar, Sherlock passed these
queries directly to the underlying search engines defined in the
plugins. Because different web engines had different syntax rules at the
time, Sherlock relied on standardized capitalized operators
(AND, OR, NOT) or shorthand
symbols (+ for mandatory terms, - for
exclusions) to ensure maximum compatibility across multiple search
providers simultaneously.