Re: Spotlight sources w/o actual files?
Re: Spotlight sources w/o actual files?
- Subject: Re: Spotlight sources w/o actual files?
- From: "Rasmus Andersson" <email@hidden>
- Date: Tue, 10 Jun 2008 10:57:24 +0200
Oh, just as I feared. The problem is the metadata itself is probably
hundreds of gigabytes, if not terabytes in size, so it would be
impossible to have mdimporter index "fake" files.
Thank you anyway! Will probably look into Quicksilver then.
Anyone got any good hints about where to find proper documentation on
how to create such a QSPlugin?
Thanks!
On Tue, Jun 10, 2008 at 10:38 AM, Ken Ferry <email@hidden> wrote:
> 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
>>
>
--
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