Re: Spotlight
Re: Spotlight
- Subject: Re: Spotlight
- From: Scott Anguish <email@hidden>
- Date: Thu, 29 Dec 2005 01:11:17 -0500
On Dec 29, 2005, at 12:43 AM, Jeff McNeil wrote:
Hello List,
I've got a small application that has some search functionality
built in. As opposed to re-inventing the wheel, I'd like to tie
into spotlight and filter the results programatically prior to
displaying them. I can't seem to track down a Cocoa Spotlight API.
I apologize if this has been asked before. I have found
documentation surrounding metadata importers, but that isn't really
what I'm looking for.
Someone point me in the right direction?
what type of searching does it do? external files? or its own data
format?
there are four books on Spotlight in the Apple Doc (three of which
might be relevant)
Spotlight Overview
http://developer.apple.com/documentation/Carbon/Conceptual/
MetadataIntro/index.html
Spotlight Query Programming Topics
http://developer.apple.com/documentation/Carbon/Conceptual/
SpotlightQuery/index.html#//apple_ref/doc/uid/TP40001841
Spotlight Metadata Attribute Reference
http://developer.apple.com/documentation/Carbon/Reference/
MetadataAttributesRef/index.html#//apple_ref/doc/uid/TP40001689
also, the following reference sheets
NSMetadataQuery
http://developer.apple.com/documentation/Cocoa/Reference/Foundation/
ObjC_classic/Classes/NSMetadataQuery_index.html
NSMetadataItem
http://developer.apple.com/documentation/Cocoa/Reference/Foundation/
ObjC_classic/Classes/NSMetadataItem_index.html
plus the query result and tuple objects
Finally, have a look at the Spotlighter example for an implementation
of searching
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden