Example #1
0
 //[ValidateAntiForgeryToken]
 public ActionResult CreateSearchIndex()
 {
     try
     {
         LucenceHelp.CreateIndex(Base_WebSiteId, Base_WebSiteShortName);
         return(Success("生成成功。"));
     }
     catch (Exception e)
     {
         return(Error(e.Message));
     }
 }
Example #2
0
 public void CreateIndexTest1()
 {
     LucenceHelp.CreateIndex("03d38cd8-34d8-489f-ac85-0a9c2b4c5dda", "canlilong");
 }
Example #3
0
 public void CreateIndexTest()
 {
     //LucenceHelp.CreateIndex(entity.Id, entity.ShortName);
     LucenceHelp.CreateIndex("03d38cd8-34d8-489f-ac85-0a9c2b4c5dda");
 }