• 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: Pierre Bernard <email@hidden>
  • Date: Thu, 12 May 2005 10:36:34 +0200

What the doc is about is attaching metadata to the CoreData file as one unit. This allows for the file to be indexable.

In my setup the CoreData file stores metadata for many units. I don't want the file to be indexed. I rather want each unit to be indexed. The proposed method does not apply.

Pierre

On May 12, 2005, at 6:49 AM, Chris Hanson wrote:

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


_______________________________________________ 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: Scott Anguish <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>)
 >Re: Add metadata to my files for Spotlight (From: Chris Hanson <email@hidden>)

  • Prev by Date: Re: Add metadata to my files for Spotlight
  • Next by Date: 10.3.9 SDK generates error
  • 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