I have an app that uses MSMetadataQuery. As expected, this returns very fast results. However, there is an edge case when Spotlight chooses to re-index the whole disk (indicated in Spotlight's GUI by the blue progress bar underneath during a search).
When this happens my app’s search is severely delayed to the point where users think that it’s hung. Accordingly, I’d like to offer a warning to the user that the search may be lengthy whenever I detect that Spotlight is reindexing the disk. The question is how can this be determined? mdutil has a status flag, but all this tells us is whether indexing is enabled for a named volume. It does not return anything about Spotlight’s current activity. Any suggestions? Best Phil @sqwarq _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
