This scheduled task will keep the Find index up to date regarding Digizuite types (Image, DigizuiteFile and Video).
First we collect all assetIds from Digizuite that has been published to the EpiServer Optimizely channel, then we collect all the Digizuite types (Image, DigizuiteFile and Video) from the index.
Then we can calculate if we should delete assets from the index and the other way around, we can calculate if there are missing assets in the index and then add them.
...