public override void TestSetup() { _luceneDir = new RAMDirectory(); _indexer = IndexInitializer.GetUmbracoIndexer(_luceneDir); _indexer.RebuildIndex(); _searcher = IndexInitializer.GetUmbracoSearcher(_luceneDir); }
public void TestSetup() { _luceneDir = new RAMDirectory(); _indexer = IndexInitializer.GetUmbracoIndexer(_luceneDir); _indexer.RebuildIndex(); _searcher = IndexInitializer.GetUmbracoSearcher(_luceneDir); }
public void TestSetup() { _luceneDir = new RandomIdRAMDirectory(); //_luceneDir = new SimpleFSDirectory(new DirectoryInfo(Path.Combine(TestHelper.AssemblyDirectory, Guid.NewGuid().ToString()))); _indexer = IndexInitializer.GetUmbracoIndexer(_luceneDir); _indexer.RebuildIndex(); _searcher = IndexInitializer.GetUmbracoSearcher(_luceneDir); }
public override void TestSetup() { _luceneDir = new RAMDirectory(); _indexer = IndexInitializer.GetSimpleIndexer(_luceneDir); _reIndexDateTime = DateTime.Now; Thread.Sleep(1000); _indexer.RebuildIndex(); _searcher = IndexInitializer.GetLuceneSearcher(_luceneDir); }
public void TestSetup() { _luceneDir = new RAMDirectory(); //_luceneDir = new SimpleFSDirectory(new DirectoryInfo(Path.Combine(TestHelper.AssemblyDirectory, Guid.NewGuid().ToString()))); _indexer = IndexInitializer.GetUmbracoIndexer(_luceneDir); _indexer.RebuildIndex(); _searcher = IndexInitializer.GetUmbracoSearcher(_luceneDir); }
public void TestSetup() { _luceneDir = new RAMDirectory(); _indexer = IndexInitializer.GetSimpleIndexer(_luceneDir); _reIndexDateTime = DateTime.Now; Thread.Sleep(1000); _indexer.RebuildIndex(); _searcher = IndexInitializer.GetLuceneSearcher(_luceneDir); }