• 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: Using Spotlight to query external source
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using Spotlight to query external source


  • Subject: Re: Using Spotlight to query external source
  • From: Jens Alfke <email@hidden>
  • Date: Sat, 17 Dec 2011 11:26:51 -0800

On Dec 17, 2011, at 3:13 AM, Alexander Reichstadt wrote:

> reading through the spotlight docu I am not sure where to start or if the following is possible. I am trying to find out if a spotlight importer can be used to query external data sources. I know the advantage of spotlight is meant to pre-catalog files in order to quickly return results. But in other cases where there is data not permanently available I am looking for a way to only hook into the user entering something into spotlight to additionally forward the query to another process or even other server or machine. Is this possible?

Not unless they’ve done something major to Spotlight in 10.6 or 10.7. As originally designed it is tightly tied to the filesystem, so the objects it indexes are individual files. Your importer will get called on a specific file, and only when that file changes.

—Jens_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Using Spotlight to query external source (From: Alexander Reichstadt <email@hidden>)

  • Prev by Date: Re: Sheet created by NSObjectContoller??
  • Next by Date: Re: Sheet created by NSObjectContoller??
  • Previous by thread: Using Spotlight to query external source
  • Next by thread: Sheet created by NSObjectContoller??
  • Index(es):
    • Date
    • Thread