Skip navigation.
 
mlRe: Core data search and spotlight importer question
FROM : Andrew Farmer
DATE : Tue Aug 08 07:39:20 2006

On 07 Aug 06, at 04:50, Wayne Pascoe wrote:
> I would like to add search functionality to my application...
>
> I'm not using a document based application, so I want to do spotlight
> importing of individual records in the application. I think the way
> address book does things is a close match to what I'm trying to do.


Here's the real secret: Spotlight can't search for anything that isn't
associated with a specific file. You'll have to create an individual 
file
to reference each record to get this to work like you're envisioning.

(This is, in fact, exactly what Address Book does. Look in:
    $HOME/Library/Caches/com.apple.AddressBook/MetaData/
  and you'll see what it's doing internally.)

Related mailsAuthorDate
mlCore data search and spotlight importer question Wayne Pascoe Aug 7, 13:50
mlRe: Core data search and spotlight importer question Andrew Farmer Aug 8, 07:39