/// <summary> /// 删除索引 /// </summary> /// <param name="barThreadId">待删除的发帖Id</param> public void DeleteBarThread(long barThreadId) { searchEngine.Delete(barThreadId.ToString(), BarIndexDocument.ThreadId); }
/// <summary> /// 删除索引 /// </summary> /// <param name="userId">待删除的用户Id</param> public void Delete(long userId) { searchEngine.Delete(userId.ToString(), UserId); }
/// <summary> /// 删除索引 /// </summary> /// <param name="blogThreadId">待删除的日志Id</param> public void Delete(long blogThreadId) { searchEngine.Delete(blogThreadId.ToString(), BlogIndexDocument.ThreadId); }
/// <summary> /// 删除索引 /// </summary> /// <param name="TopicEntityId">待删除的专题Id</param> public void Delete(long groupId) { searchEngine.Delete(groupId.ToString(), TopicIndexDocument.TopicId); }
/// <summary> /// 删除索引 /// </summary> /// <param name="cmsContentItemId">待删除的资讯Id</param> public void Delete(long cmsContentItemId) { searchEngine.Delete(cmsContentItemId.ToString(), CmsIndexDocument.ContentItemId); }
/// <summary> /// 删除索引 /// </summary> /// <param name="photo">待删除的Photo</param> public void Delete(Photo photo) { searchEngine.Delete(photo.PhotoId.ToString(), PhotoIndexDocument.PhotoId); }
/// <summary> /// 删除索引 /// </summary> /// <param name="microblogId">待删除的微博Id</param> public void Delete(long microblogId) { searchEngine.Delete(microblogId.ToString(), MicroblogIndexDocument.MicroblogId); }
/// <summary> /// 删除索引 /// </summary> /// <param name="journalId">待删除的日志Id</param> public void Delete(long journalId) { searchEngine.Delete(journalId.ToString(), JournalIndexDocument.id); }
/// <summary> /// 删除索引 /// </summary> /// <param name="questionId">待删除的问题Id</param> public void Delete(long questionId) { searchEngine.Delete(questionId.ToString(), AskIndexDocument.QuestionId); }
/// <summary> /// 删除索引 /// </summary> public void DeleteTag(long tagId) { searchEngine.Delete(tagId.ToString(), TagIndexDocument.TagId); }
/// <summary> /// 删除索引 /// </summary> /// <param name="WikiPageId">待删除的日志Id</param> public void Delete(long WikiPageId) { searchEngine.Delete(WikiPageId.ToString(), WikiIndexDocument.PageId); }