Sherlock (software)


Sherlock, named after 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, 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.

Sherlock plugin file format

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 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 in Mozilla's browser suites. These plugins were, appropriately enough, known as Mycroft project plugins. Among some of the changes made in the Sherlock file format were the separation of the automatic update element and the icon.

Sherlock 3 channels

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 which contained the code XML, any Script XML, and localized lproj directories.
The ten 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 can't be launched on Intel Macs without Rosetta.

Sherlocked as a term

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.

Versions