Re: Spotlight -- Metadata importer vs file package containing rtfd files
Re: Spotlight -- Metadata importer vs file package containing rtfd files
- Subject: Re: Spotlight -- Metadata importer vs file package containing rtfd files
- From: Ali Lalani <email@hidden>
- Date: Tue, 3 May 2005 14:57:25 -0400
No this will not work. (Spotlight knows nothing about filter services)
Spotlight does not go into packages at all.
Basically you will have to write a plugin for you file-package that
will also index the rtfd files stored within.
Vince
How would this work? If the files stored within got changed and
spotlight doesn't pay attention to them then no importer would ever get
called. How would you trigger this "re-indexing" of your file package?
Furthermore i'm a bit confused as to how to proceed with regard to an
sqlite database.
If each file represents one result in a spotlight search, and my
single-file sqlite database represents thousands of potential results,
is there any way to do this other than managing two data stores(one
sqlite database, and one folder full of special files representing each
record in the sqlite database)?
I'm not using CoreData at the moment but i did come across this little
article:
http://developer.apple.com/documentation/Cocoa/Conceptual/
NSPersistentDocumentTutorial/07_Metadata/chapter_8_section_7.html
I'm not sure i understand this one, which, admittedly is probably
because my knowledge of CoreData is somewhat limited. However, what
that article suggests is that somehow CoreData takes care of most of
the work of doing a spotlight importer.
What confuses me is that if i have an sqlite database, and i make a
change, my importer would get called independently, how would it know
what "record" it is updating in spotlight?
Thanks!
Ali
_______________________________________________
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