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