• 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
Re: Add metadata to my files for Spotlight
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Add metadata to my files for Spotlight


  • Subject: Re: Add metadata to my files for Spotlight
  • From: Chris Hanson <email@hidden>
  • Date: Wed, 11 May 2005 21:49:31 -0700

On May 10, 2005, at 9:10 AM, Pierre Bernard wrote:
1. Get Spotlight to see individual items rather than one big SQLite file
2. Get the meta-data indexed at reasonable cost. The docs tell me to refrain from instantiating a CoreData stack in the importer.

You don't need to instantiate a full Core Data stack just to read metadata. You can use +[NSPersistentStoreCoordinator metadataForPersistentStoreWithURL:error:] to get the metadata of the persistent store at a given URL. You don't even need to reference a managed object model or instantiate a persistent store coordinator since this is a class method.


  -- Chris

_______________________________________________
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


  • Follow-Ups:
    • Re: Add metadata to my files for Spotlight
      • From: Pierre Bernard <email@hidden>
    • Re: Add metadata to my files for Spotlight
      • From: mmalcolm crawford <email@hidden>
References: 
 >Re: Add metadata to my files for Spotlight (From: Pierre Bernard <email@hidden>)
 >Re: Add metadata to my files for Spotlight (From: Ondra Cada <email@hidden>)
 >Re: Add metadata to my files for Spotlight (From: Pierre Bernard <email@hidden>)
 >Re: Add metadata to my files for Spotlight (From: Creed Erickson <email@hidden>)
 >Re: Add metadata to my files for Spotlight (From: Pierre Bernard <email@hidden>)

  • Prev by Date: Re: Accessing class/instance methods from USB callback?
  • Next by Date: Re: Add metadata to my files for Spotlight
  • Previous by thread: Re: Add metadata to my files for Spotlight
  • Next by thread: Re: Add metadata to my files for Spotlight
  • Index(es):
    • Date
    • Thread