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