• 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 sources w/o actual files?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spotlight sources w/o actual files?


  • Subject: Re: Spotlight sources w/o actual files?
  • From: "Ken Ferry" <email@hidden>
  • Date: Tue, 10 Jun 2008 01:38:30 -0700

Hi Rasmus,

You do need to have one file per findable item, and you cannot get a
callback at search time.  You may not care about latency at search
time, but Apple does. :-)

If it helps at all, your files don't actually have to contain the data
that you supply to the spotlight indexer.  They can be empty tokens
that just tell you what query to perform against your central server.

-Ken

On Tue, Jun 10, 2008 at 1:07 AM, Rasmus Andersson <email@hidden> wrote:
> I would like to create a Spotlight plugin that allows me to search
> among a very big set of data, located at a central server (i.e. not
> able to store it locally) Thus I need to query this central storage
> for matches whenever I search for something in Spotlight. (I/O latency
> is not an issue)
>
> What I have understood from reading Spotlight Importer Programming
> Guide[1], there is no way to actually hook yourself in to when a user
> is performing a query, or even to register a custom data source which
> might be backed by for example network resources.
>
> The alternative is of course Quicksilver, but as QS is no longer
> maintained and the fact Spotlight is working OK in 10.5 makes me
> prefer Spotlight.
>
> Anyone got any clues on how to solve this?
>
>
> Example scenario:
> Typing in "generate" into Spotlight will query an online dictionary
> about the word "generate" and, like the built-in dictionary, display a
> short description and when clicked opening the appropriate URL in a
> web browser.
>
> By the way, Hi everyone! (I left this list a few years ago but now I'm back)
>
>
> [1] http://developer.apple.com/documentation/Carbon/Conceptual/MDImporters/
>
> --
> Rasmus Andersson
> _______________________________________________
>
> 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
>
_______________________________________________

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

  • Follow-Ups:
    • Re: Spotlight sources w/o actual files?
      • From: "Rasmus Andersson" <email@hidden>
References: 
 >Spotlight sources w/o actual files? (From: "Rasmus Andersson" <email@hidden>)

  • Prev by Date: extracting output from AMWorkflow when using AMWorkflowController
  • Next by Date: Re: Spotlight sources w/o actual files?
  • Previous by thread: Spotlight sources w/o actual files?
  • Next by thread: Re: Spotlight sources w/o actual files?
  • Index(es):
    • Date
    • Thread