Esempio n. 1
0
 /// <summary>
 /// 删除索引
 /// </summary>
 /// <param name="barThreadId">待删除的发帖Id</param>
 public void DeleteBarThread(long barThreadId)
 {
     searchEngine.Delete(barThreadId.ToString(), BarIndexDocument.ThreadId);
 }
Esempio n. 2
0
 /// <summary>
 /// 删除索引
 /// </summary>
 /// <param name="userId">待删除的用户Id</param>
 public void Delete(long userId)
 {
     searchEngine.Delete(userId.ToString(), UserId);
 }
Esempio n. 3
0
 /// <summary>
 /// 删除索引
 /// </summary>
 /// <param name="blogThreadId">待删除的日志Id</param>
 public void Delete(long blogThreadId)
 {
     searchEngine.Delete(blogThreadId.ToString(), BlogIndexDocument.ThreadId);
 }
Esempio n. 4
0
 /// <summary>
 /// 删除索引
 /// </summary>
 /// <param name="TopicEntityId">待删除的专题Id</param>
 public void Delete(long groupId)
 {
     searchEngine.Delete(groupId.ToString(), TopicIndexDocument.TopicId);
 }
Esempio n. 5
0
 /// <summary>
 /// 删除索引
 /// </summary>
 /// <param name="cmsContentItemId">待删除的资讯Id</param>
 public void Delete(long cmsContentItemId)
 {
     searchEngine.Delete(cmsContentItemId.ToString(), CmsIndexDocument.ContentItemId);
 }
Esempio n. 6
0
 /// <summary>
 /// 删除索引
 /// </summary>
 /// <param name="photo">待删除的Photo</param>
 public void Delete(Photo photo)
 {
     searchEngine.Delete(photo.PhotoId.ToString(), PhotoIndexDocument.PhotoId);
 }
Esempio n. 7
0
 /// <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);
 }
Esempio n. 9
0
 /// <summary>
 /// 删除索引
 /// </summary>
 /// <param name="questionId">待删除的问题Id</param>
 public void Delete(long questionId)
 {
     searchEngine.Delete(questionId.ToString(), AskIndexDocument.QuestionId);
 }
Esempio n. 10
0
 /// <summary>
 /// 删除索引
 /// </summary>
 public void DeleteTag(long tagId)
 {
     searchEngine.Delete(tagId.ToString(), TagIndexDocument.TagId);
 }
Esempio n. 11
0
 /// <summary>
 /// 删除索引
 /// </summary>
 /// <param name="WikiPageId">待删除的日志Id</param>
 public void Delete(long WikiPageId)
 {
     searchEngine.Delete(WikiPageId.ToString(), WikiIndexDocument.PageId);
 }