It would be helpful if someone shares how batching a query is done using -
- (void)setNotificationBatchingInterval:(NSTimeInterval)timeInterval
when used with NSMetadataQuery or by using
void MDQuerySetBatchingParameters (
MDQueryRef query,
MDQueryBatchingParams params
);
structure when used with MDQuery class.
My understanding of batching is that - NSMetadataQueryGatheringProgressNotification/kMDQueryProgressNotification observers are notified depending on the values given in timeInterval/MDQueryBatchingParams.
When I pass 0.001f to the value of timeInterval, I expected it to notify the method every 1msec which is not the case.