• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
CoreData & Spotlight
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Prev by Date: Displaying linked rtf in an NSTextField
  • Next by Date: Re: Is NSEntityDescription insertNewObjectForEntityForName:inManagedObjectContext: this slow?
  • Previous by thread: Displaying linked rtf in an NSTextField
  • Next by thread: NSMutableArray is immutable when unarchived
  • Index(es):
    • Date
    • Thread