public TextSearcherService()
 {
     log.Debug("TextSearcherService constructor: start");
     configuration   = new TextIndexCfg();
     tenantsProvider = new TenantsProvider(configuration.ConnectionStringName, configuration.UserActivityDays);
     log.Debug("TextSearcherService constructor: end");
 }
Exemple #2
0
        public TextIndexerService()
        {
            configuration = new TextIndexCfg();
            tenantsProvider = new TenantsProvider(configuration.ConnectionStringName, configuration.UserActivityDays);

            worker = new Thread(DoWork) { Priority = ThreadPriority.Lowest, Name = "Full Text Indexer", };
            stop = new ManualResetEvent(false);
        }