Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spotlighting databases and preferences...



Spotlight is only meant to store information that a user can search on and that's usable to a user. It should not store binary data or application specific data such as preferences.

Ack, at 10/31/05, <email@hidden> said:

1) Can I search my application's preferences (user defaults) with a
Spotlight Importerand how would I do this? Preferences and Core Data can hold lots of
informationthat I would like to search with Spotlight.


2) Is it possible to Spotlight databases in an efficient manner and return
databaserecords? Since a database is a single file, Spotlighting a database and
getting thename of your database back doesn't seem useful. I'm told that Spotlight
can returnan individual record but the code is somewhat fancy.


In both cases, I'm assuming the NSDocumentController understands the data
store'smodel and mediates between the Importer and the datastore in some way, but
notsure how to approach this.


... and apologies if any of this is naive...

--


Sincerely, Rosyna Keller Technical Support/Holy Knight/Always needs a hug

Unsanity: Unsane Tools for Insanely Great People

It's either this, or imagining Phil Schiller in a thong.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Spotlighting databases and preferences... (From: <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.