示例#1
0
 public void Index_Exists()
 {
     using (var luceneDir = new RandomIdRAMDirectory())
         using (var indexer = new TestIndex(luceneDir, new StandardAnalyzer(Version.LUCENE_30)))
         {
             indexer.EnsureIndex(true);
             Assert.IsTrue(indexer.IndexExists());
         }
 }