Ejemplo n.º 1
0
 public void ClearTest()
 {
     try
     {
         _index.ClearIndex();
         var clearTask = _index.ClearRules();
         _index.WaitTask(clearTask["taskID"].ToString());
         var taskSynonym = _index.ClearSynonyms();
         _index.WaitTask(taskSynonym["taskID"].ToString());
     }
     catch (Exception)
     {
         // Index not found
     }
 }