Exemplo n.º 1
0
        public ActionResult Index()
        {
            BaseEfUnitOfWork content = new CodeFirstContext();
            LuceneIndexingService Service = new LuceneIndexingService(content);
            Service.UpdateIndex();

            return View();
        }
Exemplo n.º 2
0
 public LuceneIndexingJob(TimeSpan frequence, TimeSpan timeout)
     : base("Lucene", frequence, timeout)
 {
     _indexingService = new LuceneIndexingService();
     _indexingService.UpdateIndex();
 }
Exemplo n.º 3
0
 public void TestMethod3()
 {
     BaseEfUnitOfWork content = new CodeFirstContext();
     LuceneIndexingService Service = new LuceneIndexingService(content);
     Service.UpdateIndex();
 }