CoreData & Spotlight
CoreData & Spotlight
- Subject: CoreData & Spotlight
- From: Bruno Blondeau <email@hidden>
- Date: Fri, 15 Jul 2005 11:15:16 +0200
I'm developing a CoreData Document based application.
If I understand well, if I want to have my document to be
spotlight-searchable:
- I should avoid using CoreData in the spotlight plugin
- I should add metadata directly when saving
So, in my case, I'm adding a plain text "textContent" metadata
equivalent.
I see 2 disadvantages:
- my file size is getting bigger
- file saves are slower, as this can't easily be done in the
background
Is this exact?
Assuming that, why do I have to write a spotlight plugin if everything
is in the standard textContent metadata?
Should Spotlight be intelligent enough to see there is a textContent
metadata, and use it? It doesn't seem to be the case, unless I'm not
configuring the UTI properly, which may be the case. Do you have any
tip/example?
Bruno
_______________________________________________
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