|Operating system||Mac OS 8, 9, X|
Sherlock, named after fictional detective Sherlock Holmes, was a file and web search tool created by Apple Inc. for the PowerPC-based "classic" Mac OS, introduced with Mac OS 8 as an extension of the Mac OS Finder's file searching capabilities. Like its predecessor (System 7.5's totally revamped 'Find File' app, adapted by Bill Monk from his 'Find Pro' shareware find program), Sherlock searched for local files and file contents, using the same basic indexing code and search logic found in AppleSearch. Sherlock extended the system by enabling the user to search for items through the World Wide Web through a set of plugins which employed existing web search engines. These plugins were written as plain text files, so that it was a simple task for a user to write a Sherlock plugin.
Sherlock was replaced by Spotlight and Dashboard in Mac OS X 10.4 Tiger, although Apple continued to include it with the default installation. Since most of the standard plug-ins for Sherlock provided by Apple itself no longer function, it was officially retired and removed in the release of Mac OS X 10.5 Leopard in 2007.
The Sherlock 2 search plugin was an SGML document, and was typically given the ".src" file extension. The Sherlock plug-in was composed of three parts, identified by their element names: , , and tags. These elements allowed Sherlock to (respectively) identify a search's engine's web page and the parts that are relevant to searching, as well as returning the results of the search. There was also a facility for defining how a Sherlock plug-in could update itself.
Sherlock search plugins could also be used (with minor modifications) in Mozilla's browser suites. These plugins were, appropriately enough, known as Mycroft project plugins (named after Mycroft Holmes, Sherlock Holmes' older brother). Among some of the changes made in the Sherlock file format were the separation of the automatic update element (which formed part of the element) and the icon (provided in a separate file in Mozilla and part of the resource fork in Sherlock).
The Sherlock 3 search plugin was a web application, which was downloaded on the fly from a server to ensure the most current version. As information on the internet is subject to change so quickly, this was one way for Apple to guarantee the up-to-date version. A channel consisted of a web directory with an index. This usually pointed to a sub-directory (usually called "Channel") which contained the code XML, any Script XML, and localized lproj directories (nib file and Localized Text Resources as a plist).
The ten channels included by default were:
Some disagree with this claim, stating that Sherlock 3 was the natural evolution of Sherlock 2, and that Watson was obviously meant to have some relation to Sherlock by its very name.
The phenomenon of Apple releasing a feature that supplants or obviates third-party software is so well known that being Sherlocked has become an accepted term used within the Mac and iOS developer community.