• 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: programmatically tell when spotlight/mds is indexing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: programmatically tell when spotlight/mds is indexing


  • Subject: Re: programmatically tell when spotlight/mds is indexing
  • From: Saagar Jha <email@hidden>
  • Date: Thu, 23 Mar 2017 09:53:10 -0700

I couldn’t find a public API, but Metadata.framework defines _MDConfigCopyStoreInformation(NSString *path). It returns an dictionary containing the key “CurrentlyScanning”, which you might find useful.

Saagar Jha

> On Mar 18, 2017, at 09:37, sqwarqDev <email@hidden> wrote:
>
>
>> On 18 Mar 2017, at 23:05, Jerome Krinock <email@hidden> wrote:
>>
>> To generalize your question, you want to reverse-engineer some other app to reveal some status information. I’ve had to do this a couple times.
>
> Thanks for the thought, but my question was really just a sanity check to make sure that there isn’t an already existing public API I might have missed that a developer could use to query the status of mds.
>
> Any kind of guesswork about what files may or may not be open when mds is indexing would be a bit too hit and miss for what I need.
>
>
> Best
>
>
> Phil
> @sqwarq
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: programmatically tell when spotlight/mds is indexing
      • From: corbin dunn <email@hidden>
References: 
 >programmatically tell when spotlight/mds is indexing (From: sqwarqDev <email@hidden>)
 >Re: programmatically tell when spotlight/mds is indexing (From: Jerome Krinock <email@hidden>)
 >Re: programmatically tell when spotlight/mds is indexing (From: sqwarqDev <email@hidden>)

  • Prev by Date: Re: Unicode filenames with Apple File System and UIManagedDocument
  • Next by Date: Re: Unicode filenames with Apple File System and UIManagedDocument
  • Previous by thread: Re: programmatically tell when spotlight/mds is indexing
  • Next by thread: Re: programmatically tell when spotlight/mds is indexing
  • Index(es):
    • Date
    • Thread