World Library  
Flag as Inappropriate
Email this Article

Spotlight (software)

Article Id: WHEBN0000878210
Reproduction Date:

Title: Spotlight (software)  
Author: World Heritage Encyclopedia
Language: English
Subject: IOS, OS X, OS X Server, Mac OS X Tiger, Mac OS X Leopard
Collection: 2005 Software, Desktop Search Engines, Ios Software, Os X User Interface
Publisher: World Heritage Encyclopedia
Publication
Date:
 

Spotlight (software)

Spotlight
Screenshot of the Spotlight menu performing a search for the word "adobe" in Mac OS X Leopard.
Developer(s) Apple Inc.
Stable release 5.0
Operating system OS X
Type Desktop search
Website Spotlight

Spotlight is a system-wide desktop search feature of Apple's OS X 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.

The feature is also available on Darwin, but only through a command-line interface. A similar feature for iOS 3.0 with the same name was announced on March 17, 2009.

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

Contents

  • Functionality 1
  • Leopard additions 2
  • Yosemite 3
  • iOS 4
  • See also 5
  • References 6
  • External links 7

Functionality

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 Mac 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 media such as CDs or DVDs.[3] 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 Mac OS X older than 10.4, it will re-index the volume from scratch.[3]

Within Mac OS X v10.4, 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 v10.4 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.

Although not widely advertised, Spotlight can perform boolean 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 additions

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 Mac OS X.

Yosemite

As of OS X 10.10 Yosemite, Spotlight search is completely redesigned. Instead of it acting as a drop-down menu, it is now is located in the centre of the screen. It does everything the previous version does and much more, such as searching WorldHeritage, Maps, and other sources.

iOS

Spotlight in iOS 7

A search tool also named Spotlight has been included on iOS (formerly iPhone OS) products since version 3.0. The feature helps users search contacts, mail metadata,[12] calendars, media and other content.[12] Compared to Spotlight on Mac OS X, 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 WorldHeritage, as well as quicker access to other content.[13]

See also

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. ^ a b c d e  
  4. ^ Kirk McElhearn (July 8, 2005). "Command spotlight". Macworld. Retrieved April 4, 2007. 
  5. ^ "10.4: Use Boolean (NOT, OR) searches in Spotlight". MacOSXHints.com. May 12, 2005. Retrieved November 9, 2008. 
  6. ^ Hiram (April 30, 2005). "Boolean search in Spotlight". Ipse dixit. 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". Retrieved April 1, 2012. 
  10. ^ Robert Mohns (2005). "Tiger Review: Examining Spotlight". Macintouch.com. Retrieved April 4, 2007. 
  11. ^ "Apple - Leopard Server Sneak Peek - Spotlight Server". Apple.com. August 7, 2006. Retrieved April 4, 2007. 
  12. ^ a b c d Frakes, Dan (2009). "Hands on With IPhone 3.0's Spotlight". PC World / Macworld. Retrieved December 26, 2009. iPhone Spotlight doesn't search the full content of every file on your phone 
  13. ^ "Apple - iOS 8 - Spotlight". Apple. Apple. 2014. Retrieved September 17, 2014. 

External links

  • Official website
  • Apple's Spotlight Query Expression Syntax Guide
  • Working with Spotlight
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 



Copyright © World Library Foundation. All rights reserved. eBooks from World eBook Library are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.