CocoaDev

Edit AllPages

http://images.apple.com/macosx/images/spotlightsmall20050412.gif

Spotlight � Apple’s new metadata search framework introduced in OSXTiger.

MetaDataWithSpotLight allows applications to define arbitrary metadata for their documents and search through them. It basically makes really advanced searching feasible on all file types, and will allow developers easily to implement fast searching into their apps.

Public documentation is located at: [http://developer.apple.com/macosx/spotlight.html]

*The feel-good public marketing campaign: [http://www.apple.com/macosx/features/spotlight/] *Great How-to http://www.macdevcenter.com/pub/a/mac/2005/07/15/spotlight.html *How to stop Spotlight messing with your files behind your back: http://developer.apple.com/qa/qa2006/qa1497.html

http://images.apple.com/macosx/features/spotlight/images/indexresultssmall20050412.jpg

To force Spotlight to index a folder, just use this command:

mdimport -f /path/to/folder/you/would/like/to/index 

–zootbobbalu


Searching with grep & Spotlight’s kMDItemDisplayName: http://textsnippets.com/posts/show/364