Brenden, I know, but he has to try it first:)
The other way I see is to delete index update task: .
SearchTaskInfo.TYPEINFO.Events.Insert.Before += SearchExclude;
private static void SearchExclude(object sender, ObjectEventArgs e)
{
If (AmIRunningMyUpdatesCondition) {
SearchTaskInfo sti = (SearchTaskInfo)e.Object;
if (Regex.IsMatch(sti.SearchTaskValue, @"\d+;CMS.Article", RegexOptions.IgnoreCase))
{
if (sti.SearchTaskStatus == SearchTaskStatusEnum.Ready)
{
// remove the task that update searchindex when you update a document
sti.Delete();
}
}
}
}
I know this is kind of crazy because for each document update a search task will be created by the system and deleted by your code.