Introduction to Spotlight
Spotlight is a fast desktop search technology that allows users to organize and search for files based on metadata. Spotlight is extensible, allowing developers to provide metadata importers for their application’s documents.
Who Should Read This Document
Spotlight is a fundamental feature of OS X, and all developers should be familiar with its capabilities. Developers of applications that save documents to disk should consider providing Spotlight support by implementing a metadata importer.
Organization of This Document
The following articles cover key concepts in understanding how Spotlight works:
What is Spotlight? provides an overview of what Spotlight provides.
How Does Spotlight Work? describes how Spotlight creates metadata indexes, and how they are queried.
Spotlight Metadata Attributes provides an overview of metadata attributes.
Security and Privacy Considerations describes how Spotlight addresses security and privacy issues.
Spotlight and Document Bundles describes how an application should create document bundles with Spotlight in mind.
There are other technologies, not fully covered in this document, that are fundamental to integrating Spotlight into your applications. Refer to these documents for more details:
File Metadata Search Programming Guide describe how to query Spotlight from your applications.
Spotlight Importer Programming Guide describe the plug-ins that extract metadata from document files.
File Metadata Attributes Reference describe the metadata attributes provided by Apple.
Core Data Spotlight Integration Programming Guide discusses how to take advantage of Spotlight features in an app that uses Core Data for document storage.