public DocumentManager(string dbPath, string indexPath) { this._dbPath = dbPath; DocumentSearchManager.IndexPath = indexPath; this._indexMgr = DocumentSearchManager.IndexMgr; }
public DocumentManager() { this._dbPath = System.IO.Path.Combine(System.Web.HttpContext.Current.Server.MapPath(SQLITE_PATH), "Documents.db3"); DocumentSearchManager.IndexPath = System.Web.HttpContext.Current.Server.MapPath(INDEX_PATH); this._indexMgr = DocumentSearchManager.IndexMgr; }