|Operating system||Mac OS 8, 9, X|
|Part of a series on|
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 plug-ins which employed existing web search engines. These plug-ins were written as plain text files, so that it was a simple task for a user to write a Sherlock plug-in.
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 plug-in 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:
<interpret> tags. These elements allowed Sherlock to (respectively) identify a search 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 plug-ins could also be used (with minor modifications) in Mozilla's browser suites. These plug-ins were, appropriately enough, known as Mycroft project plug-ins (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
<search> element) and the icon (provided in a separate file in Mozilla and part of the resource fork in Sherlock).
The Sherlock 3 search plug-in 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 channels included by default were:
As Sherlock was never released as a Universal binary, it is not compatible with Mac OS X versions after Mac OS X 10.6 Snow Leopard and couldn't be launched on Intel Macs without Rosetta.
Advocates of Watson made by Karelia Software, LLC claim that Apple copied their product without permission, compensation, or attribution in producing Sherlock 3. 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.