I am working on building a sitecore backend page that the editors are using for importing a large amount of news items from an excel document that looks like this:
title description date link imagemediapath
Currently I am iterating each row and inserting items individually as I need to create/update them in folders based on Date field like Year/Month/newsitem
. I am using query search on the sitecore-master-index to verify if a news already exists.
Is there a way to optimize the import process on higher environments, I've found some posts to try to disable indexing and sitecore events programmatically and then rebuild it, but I am not sure how to do that.
Also if there are any other approaches or automatic ways to accomplish this it would help me a lot.