• 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: NSMetadataItem question.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMetadataItem question.


  • Subject: Re: NSMetadataItem question.
  • From: Scott Anguish <email@hidden>
  • Date: Sun, 8 May 2005 06:13:27 -0400


On May 8, 2005, at 4:19 AM, Josh Morris wrote:

Hello all,

Apologies if this has been asked before, but is the kMDItemID metadata attribute always unique, even across all volumes?

I'm assuming you mean kMDItemIdentifier, since kMDItemID isn't a defined attribute (as far as I know), it certainly isn't in the headers, or the system Schema.xml



I heard that Spotlight gathers metadata on a per-volume basis, and since it seems likely that kMDItemID is just a ROWID in a database (or similar), I'm concerned that I might run into duplicate item id's across different volumes. This would be bad news for my program, as it depends on kMDItemID's uniqueness.


Assuming you mean kMDItemIdentifier.. No. It's an identifier that is supplied by the Spotlight importer. What it is will depend on the file type. As an example, a mail program could use this to store a Message-ID. (I'll add this to the doc)


Also, if this and other Spotlight questions would be better handled on some other list that I don't know about, please let me know. Thanks!

There isn't currently a Spotlight dedicated list... if you'd like to see one, file a bug, or mail developer technical support at Apple (and feel free to cc me)


-Josh Morris
 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: NSMetadataItem question.
      • From: Josh Morris <email@hidden>
References: 
 >NSMetadataItem question. (From: Josh Morris <email@hidden>)

  • Prev by Date: Re: KVO and NSMutableArrays
  • Next by Date: Re: Category conflicts with Tiger
  • Previous by thread: NSMetadataItem question.
  • Next by thread: Re: NSMetadataItem question.
  • Index(es):
    • Date
    • Thread