Spotlight (Apple)

Last updated

Spotlight
Operating system Mac OS X Tiger and later, iPhone OS 3 and later (Spotlight Search), iPadOS, visionOS
Type Desktop search
Website support.apple.com/en-us/HT204014

Spotlight is a system-wide desktop search feature of Apple's macOS, iOS, iPadOS, and visionOS 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 Settings. 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.

Contents

Spotlight was first announced at the June 2004 Worldwide Developers Conference, [1] and then released with Mac OS X Tiger in April 2005. [2]

A similar feature for iPhone OS 3 with the same name was announced on March 17, 2009.

macOS

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 (formerly Mac OS X, then OS X) 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 read-only media such as CDs or DVDs, [3] but it will index removable, writable external media connected via USB, FireWire, or Thunderbolt, and Secure Digital cards. 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. [3]

The first time that a user logs onto the operating system, Spotlight builds indexes of metadata about the files on the computer's hard disks. [3] It also builds indexes of files on devices such as external hard drives that are connected to the system. This initial indexing may take some time, but after this the indexes are updated continuously in the background as files are created or modified. If the system discovers that files on an external drive have been modified on a system running a version of macOS older than Mac OS X Tiger, it will re-index the volume from scratch. [3]

Within Tiger, Spotlight can be accessed from a number of places. Clicking on an icon in the top-right of the menu bar opens up a text field where a search query can be entered. Finder windows also have a text field in the top-right corner where a query can be entered, as do the standard load and save dialogue boxes. Both of these text fields immediately start listing results of the search as soon as the user starts typing in a search term, returning items that either match the term, or items that start with the term. The search results can be further refined by adding criteria in a Finder window such as "Created Today" or "Size Greater than 1 KB". [3]

Mac OS X Tiger and later also include command line utilities for querying or manipulating Spotlight. The mdimport command, as well as being used by the system itself to index information, can also be used by the user to import certain files that would otherwise be ignored or force files to be reimported. It is also designed to be used as a debugging tool for developers writing Importer plug-ins. mdfind allows the user to perform Spotlight queries from the command line, also allowing Spotlight queries to be included in things like shell scripts. mdls lists the indexed attributes for specific files, allowing the user to specify which files and/or which attributes. The indexes that Spotlight creates can be managed with mdutil, which can erase existing indexes causing them to be rebuilt if necessary or turn indexing off. [4] These utilities are also available on Darwin.[ citation needed ]

Although not widely advertised, Boolean expressions can be used in Spotlight searches. [5] By default if one includes more than one word, Spotlight performs the search as if an "AND" was included in between words. If one places a '|' between words, Spotlight performs an OR query. Placing a '-' before a word tells Spotlight to search for results that do not include that word (a NOT query). [6]

Currently Spotlight is unable to index and search NTFS volumes shared via SMB. [7]

Leopard

Spotlight menu performing a search for the word "adobe" in Mac OS X Leopard Leopard spotlight.png
Spotlight menu performing a search for the word "adobe" in Mac OS X Leopard

With Mac OS X Leopard, Apple introduced some additional features. With Spotlight in Tiger, users can only search devices that are attached to their computers. With Leopard, Spotlight is able to search networked Macs running Leopard (both client and server versions) that have file sharing enabled. A feature called Quick Look has been added to the GUI that will display live previews of files within the search results, so applications do not have to be opened just to confirm that the user has found the right file. The syntax has also been extended to include support for worded Boolean operators ("AND", "OR" and "NOT"). [8] These variants of the operators are localized; while users that have their System language set to English may use an "AND", German users, for example, would have to use "UND". The character variants work with any system language. [9]

Also while Spotlight is not enabled on the server version of Tiger, [10] it is on the server release of Leopard. [11]

In addition, where Spotlight in Tiger had a unique and separate window design, Spotlight in Leopard now shares windows with the Finder, allowing for a more unified GUI.

The unique Spotlight window in Tiger allowed sorting and viewing of search results by any metadata handled by the Finder; whereas Spotlight Finder windows in Leopard are fixed to view and sort items by last opened date, filename and kind only. Under Leopard there is currently no way to save window preferences for the Finder window that is opened via Spotlight.

Since Leopard the Spotlight menu has doubled as a calculator, with functionality very similar to the Google search feature (but without the need to be online), as well as a dictionary that allows one to look up the definition of an English word using the Oxford Dictionary included in macOS.

Yosemite

Spotlight in OS X Yosemite on Nicolas Cage Spotlight in OS X Yosemite.png
Spotlight in OS X Yosemite on Nicolas Cage

In OS X Yosemite, the Spotlight search UI was completely redesigned. Instead of it acting as a drop-down menu, it is now located in the center of the screen by default, though the search bar (and/or the window itself) can be dragged to wherever the user prefers it to pop up. In addition to doing everything that the previous versions of Spotlight could do, the Yosemite revamp of Spotlight adds a preview or info pane on the right side (with results on the left side), and also adds support for searching through Wikipedia, Maps, and other sources.

iOS and iPadOS

Spotlight in iOS 14 IOS 14 Spotlight.png
Spotlight in iOS 14

A search tool also named Spotlight has been included on iOS (formerly iPhone OS) products since iPhone OS 3 and in iPadOS. The feature helps users search contacts, mail metadata, [12] calendars, media and other content. [12] Compared to Spotlight on macOS, the iOS search ability is limited. [12] The Spotlight screen is opened with a finger-flick to the right from the primary home screen, or, as of iOS 7, by pulling down on any of the home screens. [12]

The feature was announced in March 2009 and released with iOS 3.0 in June 2009. The release of iOS 4.0 included the ability to search text messages. In iOS 6, the folder that an application is inside of is now shown (if applicable). Since the Introduction of iOS 7, Spotlight no longer has its own dedicated page, but is accessible by pulling down on the middle of any Homescreen.

On September 17, 2014, Spotlight Search was updated with iOS 8 to include more intuitive web results via Bing and Wikipedia, as well as quicker access to other content. [13]

With iOS 9, Spotlight Search has been updated to include results of content in apps. [14]

In 2021, Apple introduced Image Search in Spotlight on iOS, Spotlight now uses intelligence to search photos by location, people, scenes, or objects, and using Live Text, Spotlight can find text and handwriting in photos.

Privacy concerns

Since the release of Yosemite, Spotlight sends all entered queries and location information to Apple by default. The data is accompanied by a unique identifying code, which Apple claims to rotate every 15 minutes to a new identifier. In response to privacy concerns, Apple has stated that they do not use the data to create profiles of their users, and that query and location information is only shared with their partner, Bing, under a strict contract which prohibits the information from being used for advertising purposes. In 2017, Bing was replaced by Google as the search engine for Spotlight. [15] Additionally, Apple has stated that while Spotlight seeks to obscure exact locations, the information is typically more precise in densely populated areas and less so in sparse ones. Spotlight data sharing may be disabled from Spotlight System Preferences by deselecting the Spotlight Suggestions checkbox. When this is done, data is not shared with Apple. [16] [17] [18]

See also

Related Research Articles

macOS Operating system for Apple computers

macOS, originally Mac OS X, previously shortened as OS X, is an operating system developed and marketed by Apple since 2001. It is the primary operating system for Apple's Mac computers. Within the market of desktop and laptop computers, it is the second most widely used desktop OS, after Microsoft Windows and ahead of all Linux distributions, including ChromeOS and SteamOS.

<span class="mw-page-title-main">Finder (software)</span> Macintosh file manager and GUI shell

The Finder is the default file manager and graphical user interface shell used on all Macintosh operating systems. Described in its "About" window as "The Macintosh Desktop Experience", it is responsible for the launching of other applications, and for the overall user management of files, disks, and network volumes. It was introduced with the Macintosh 128K—the first Macintosh computer—and also exists as part of GS/OS on the Apple IIGS. It was rewritten completely with the release of Mac OS X in 2001.

The history of macOS, Apple's current Mac operating system formerly named Mac OS X until 2011 and then OS X until 2016, began with the company's project to replace its "classic" Mac OS. That system, up to and including its final release Mac OS 9, was a direct descendant of the operating system Apple had used in its Mac computers since their introduction in 1984. However, the current macOS is a UNIX operating system built on technology that had been developed at NeXT from the 1980s until Apple purchased the company in early 1997.

<span class="mw-page-title-main">Apple Mail</span> Email client by Apple Inc.

Mail is an email client included by Apple Inc. with its operating systems macOS, iOS, iPadOS, watchOS, and visionOS. Mail grew out of NeXTMail, which was originally developed by NeXT as part of its NeXTSTEP operating system, after Apple's acquisition of NeXT in 1997.

<span class="mw-page-title-main">Sherlock (software)</span> Defunct web search tool created by Apple

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 in 1998 with Mac OS 8.5 as an extension of the Mac OS Finder's file searching capabilities. Like its predecessor, Sherlock searched for local files and file contents on a Mac, using the same basic indexing code and search logic found in AppleSearch. Sherlock extended the system by enabling the user to search for items on the World Wide Web through a series 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.

<span class="mw-page-title-main">Contacts (Apple)</span> Address book software by Apple

Contacts is a computerized address book software included with the Apple operating systems iOS, iPadOS, watchOS and macOS. It includes various cloud synchronization capabilities and integrates with other Apple applications and features, including iMessage, FaceTime and the iCloud service.

<span class="mw-page-title-main">Mac OS X Jaguar</span> Third major release of Mac OS X

Mac OS X Jaguar is the third major release of macOS, Apple's desktop and server operating system. It superseded Mac OS X 10.1 and preceded Mac OS X Panther. The operating system was released on August 23, 2002. It was available both for single-computer installations and in a "family pack" that allowed five installations on separate computers in one household. Jaguar was the first Mac OS X release to publicly use its code name in marketing and advertisements.

<span class="mw-page-title-main">Aqua (user interface)</span> User interface of macOS by Apple

Aqua is the graphical user interface, design language and visual theme of Apple's macOS and iOS operating systems. It was originally based on the theme of water, with droplet-like components and a liberal use of reflection effects and translucency. Its goal is to "incorporate color, depth, translucence, and complex textures into a visually appealing interface" in macOS applications. At its introduction, Steve Jobs noted that "... it's liquid, one of the design goals was when you saw it you wanted to lick it".

<span class="mw-page-title-main">Mac OS X Tiger</span> Fifth major release of Mac OS X

Mac OS X Tiger is the 5th major release of macOS, Apple's desktop and server operating system for Mac computers. Tiger was released to the public on April 29, 2005 for US$129.95 as the successor to Mac OS X 10.3 Panther. Included features were a fast searching system called Spotlight, a new version of the Safari web browser, Dashboard, a new 'Unified' theme, and improved support for 64-bit addressing on Power Mac G5s. Mac OS X 10.4 Tiger also had a number of additional features that Microsoft had spent several years struggling to add to Windows with acceptable performance, such as fast file search and improved graphics processing.

<span class="mw-page-title-main">Desktop search</span>

Desktop search tools search within a user's own computer files as opposed to searching the Internet. These tools are designed to find information on the user's PC, including web browser history, e-mail archives, text documents, sound files, images, and video. A variety of desktop search programs are now available; see this list for examples. Most desktop search programs are standalone applications. Desktop search products are software alternatives to the search software included in the operating system, helping users sift through desktop files, emails, attachments, and more.

<span class="mw-page-title-main">Dashboard (macOS)</span> Discontinued feature of macOS

Dashboard is a discontinued feature of Apple Inc.'s macOS operating systems, used as a secondary desktop for hosting mini-applications known as widgets. These are intended to be simple applications that do not take time to launch. Dashboard applications supplied with macOS included a stock ticker, weather report, calculator, and notepad; while users could create or download their own.

<span class="mw-page-title-main">Mac OS X Leopard</span> Sixth major release of Mac OS X

Mac OS X Leopard is the sixth major release of macOS, Apple's desktop and server operating system for Macintosh computers. Leopard was released on October 26, 2007 as the successor of Mac OS X Tiger, and is available in two editions: a desktop version suitable for personal computers, and a server version, Mac OS X Server. It retailed for $129 for the desktop version and $499 for Server. Leopard was superseded by Mac OS X Snow Leopard in 2009. Mac OS X Leopard is the last version of macOS that supports the PowerPC architecture as its successor, Mac OS X Snow Leopard, functions solely on Intel based Macs.

In computing, a virtual folder generally denotes an organizing principle for files that is not dependent on location in a hierarchical directory tree. Instead, it consists of software that coalesces results from a data store, which may be a database or a custom index, and presents them visually in the format in which folder views are presented. A virtual folder can be thought of as a view that lists all files tagged with a certain tag, and thus a simulation of a folder whose dynamic contents can be assembled on the fly, when requested. It is related in concept to several other topics in computer science, with names including saved search, saved query, and filtering.

<span class="mw-page-title-main">Quartz Composer</span> Node-based visual programming language

Quartz Composer is a node graph system provided as part of the Xcode development environment in macOS for processing and rendering graphical data. It is capable of making sophisticated animations for keynote or presentations and creating animated screensavers.

<span class="mw-page-title-main">Dictionary (software)</span> Dictionary application for macOS developed by Apple Inc.

Dictionary is an application developed by Apple Inc. as a part of macOS. The application provides definitions and synonyms from various dictionaries, Wikipedia articles and a glossary of Apple-related terms.

<span class="mw-page-title-main">Time Machine (macOS)</span> Backup software application developed by Apple and distributed as part of macOS

Time Machine is the backup mechanism of macOS, the desktop operating system developed by Apple. The software is designed to work with both local storage devices and network-attached disks, and is commonly used with external disk drives connected using either USB or Thunderbolt. It was first introduced in Mac OS X 10.5 Leopard, which was released in October 2007 and incrementally refined in subsequent releases of macOS. Time Machine was revamped in macOS 11 Big Sur to support APFS, thereby enabling "faster, more compact, and more reliable backups" than were possible previously.

<span class="mw-page-title-main">Mac OS X Snow Leopard</span> Seventh major version of macOS, released in 2009

Mac OS X Snow Leopard is the seventh major release of macOS, Apple's desktop and server operating system for Macintosh computers.

<span class="mw-page-title-main">OS X Yosemite</span> Eleventh major release of macOS (called OS X when released)

OS X Yosemite is the eleventh major release of macOS, Apple Inc.'s desktop and server operating system for Macintosh computers.

<span class="mw-page-title-main">OS X El Capitan</span> Twelfth major release of macOS

OS X El Capitan is the twelfth major release of macOS, Apple Inc.'s desktop and server operating system for Macintosh. It focuses mainly on performance, stability, and security. Following the California location-based naming scheme introduced with OS X Mavericks, El Capitan was named after a rock formation in Yosemite National Park. El Capitan is the final version to be released under the name OS X. OS X El Capitan received far better reviews than Yosemite.

References

  1. Ina Fried (June 28, 2004). "For Apple's Tiger, the keyword is search" . Retrieved November 15, 2009.
  2. Apple, Inc. (April 12, 2005). "Apple to Ship Mac OS X "Tiger" on April 29" . Retrieved November 15, 2009. Spotlight searches the contents inside documents and information about those documents, or metadata
  3. 1 2 3 4 5 John Siracusa (April 28, 2005). "Mac OS X 10.4 Tiger". ArsTechnica.com. Retrieved April 4, 2007.
  4. Kirk McElhearn (July 8, 2005). "Command spotlight". Macworld. Archived from the original on April 3, 2007. Retrieved April 4, 2007.
  5. "10.4: Use Boolean (NOT, OR) searches in Spotlight". MacOSXHints.com. May 12, 2005. Archived from the original on October 10, 2014. Retrieved November 9, 2008.
  6. Hiram (April 30, 2005). "Boolean search in Spotlight". Ipse dixit. Archived from the original on October 10, 2006. Retrieved January 21, 2007.
  7. "Can't connect via SMB".
  8. "Apple - Mac OS X - Leopard Sneak Peek - Spotlight". Apple.com. August 7, 2006. Archived from the original on January 17, 2007. Retrieved January 21, 2007.
  9. "Hidden Gems: Boolean Spotlight Queries". Archived from the original on April 26, 2012. Retrieved April 1, 2012.
  10. Robert Mohns (2005). "Tiger Review: Examining Spotlight". Macintouch.com. Archived from the original on May 1, 2007. Retrieved April 4, 2007.
  11. "Apple - Leopard Server Sneak Peek - Spotlight Server". Apple.com. August 7, 2006. Archived from the original on August 27, 2007. Retrieved April 4, 2007.
  12. 1 2 3 4 Frakes, Dan (2009). "Hands on With IPhone 3.0's Spotlight". PC World / Macworld. Archived from the original on July 21, 2009. Retrieved December 26, 2009. iPhone Spotlight doesn't search the full content of every file on your phone
  13. "Apple - iOS 8 - Spotlight". Apple. 2014. Archived from the original on September 24, 2014. Retrieved September 17, 2014.
  14. Fleishman, Glenn (September 16, 2015). "Hands-on with the new, proactive Spotlight in iOS 9". Macworld. IDG Consumer & SMB. Retrieved July 29, 2016.
  15. Axon, Samuel (September 25, 2017). "Siri and Spotlight will now use Google, not Bing, for Web searches". Ars Technica. Retrieved April 11, 2021.
  16. Ashkan Soltani and Craig Timberg (October 20, 2014). "Apple's Mac computers can automatically collect your location information". The Washington Post. Retrieved February 24, 2015.
  17. Steven Musil (October 20, 2014). "Apple clarifies Spotlight Suggestions data collection practices". Cnet. Archived from the original on July 27, 2015. Retrieved February 24, 2015.
  18. "OS X Yosemite: Spotlight Suggestions". Archived from the original on July 27, 2015.