• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Spotlight
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Spotlight
      • From: Jeff McNeil <email@hidden>
References: 
 >Defaults not sync'ing? (From: Joachim <email@hidden>)
 >Spotlight (From: Jeff McNeil <email@hidden>)

  • Prev by Date: Re: Spotlight
  • Next by Date: Re: Spotlight
  • Previous by thread: Re: Spotlight
  • Next by thread: Re: Spotlight
  • Index(es):
    • Date
    • Thread