*** Welcome to piglix ***

Spotlight (software)

Spotlight
Spotlight OS X.svg
Spotlight in OS X Yosemite 2.png
Developer(s) Apple Inc.
Stable release
5.0
Operating system macOS, iOS (Spotlight Search)
Type Desktop search
Website Mac Basics: Spotlight helps you find what you‘re looking for

Spotlight is a system-wide desktop search feature of Apple's macOS and iOS operating systems. Spotlight is a selection-based search system, which creates an index of all items and files on the system. It is designed to allow the user to quickly locate a wide variety of items on the computer, including documents, pictures, music, applications, and System Preferences. In addition, specific words in documents and in web pages in a web browser's history or bookmarks can be searched. It also allows the user to narrow down searches with creation dates, modification dates, sizes, types and other attributes. Spotlight also offers quick access to definitions from the built-in New Oxford American Dictionary and to calculator functionality. There are also command-line tools to perform functions such as Spotlight searches.

Spotlight was first announced at the June 2004 Apple Worldwide Developers Conference, and then released with Mac OS X v10.4 in April 2005.

A similar feature for iOS 3.0 with the same name was announced on March 17, 2009.

Indices of filesystem metadata are maintained by the Metadata Server (which appears in the system as the mds daemon, or mdworker). The Metadata Server is started by launchd when macOS boots and is activated by client requests or changes to the filesystems that it monitors. It is fed information about the files on a computer's hard disks by the mdimport daemon; it does not index removable media such as CDs or DVDs. Aside from basic information about each file like its name, size and timestamps, the mdimport daemon can also index the content of some files, when it has an Importer plug-in that tells it how the file content is formatted. Spotlight comes with importers for certain types of files, such as Microsoft Word, MP3, and PDF documents. Apple publishes APIs that allow developers to write Spotlight Importer plug-ins for their own file formats.


...
Wikipedia

...