public void OnItemDeleted(object p_Sender, EventArgs p_Args) { Item item = Event.ExtractParameter <Item>(p_Args, 0); if (item != null) { IEnumerable <IProviderIndex> providerIndexes = m_CoveoIndexFetcher.GetCoveoSearchIndexesForDatabase(item.Database.Name); foreach (IProviderIndex providerIndex in providerIndexes) { ISearchIndex searchIndex = providerIndex as ISearchIndex; searchIndex.Delete(new SitecoreItemId(new ID(item.ID + LimitedItemSuffix))); } } }