I enjoyed the video thanks. At 6mins when David said "You don't need to do anything else and your data will be indexed in Spotlight.". What immediately came to mind was what about cleaning up the persistent history?
I had a brief look at the docs and noticed that indexDidUpdateNotification
includes NSPersistentHistoryTokenKey
should we listen for that and then purge the history?
And what if we have multiple components requiring use of the persistent history? Is there a recommended strategy for deleting only the history not required by the Spotlight indexer and other components?