title: Error "No segments* file found" while trying to search a Lucene directory
body: <p>I am trying to integrate Lucene.Net in a web app. So I downloaded the sample project from <a href="http://www.codeproject.com/KB/applications/320219/Lucene.Net-search-MVC-sample-site-master.zip" rel="nofollow">this CodeProject article</a>.</p>
  
  <p>But when I try it I keep getting this message in the <code>Search</code> method</p>
  
  <blockquote>
    <p>No segments* file found in <br/>
    [My Directory]\Lucene.Net-search-MVC-sample-site-master\LuceneSearch.Mvc\lucene_index <br/>
    lockFactory=Lucene.Net.Store.NativeFSLockFactory: files:</p>
  </blockquote>
  
  <p>The error occurs in this line</p>
  
  <pre><code>using (var searcher = new IndexSearcher(_directory, false))
  </code></pre>
  
  <p>Did anyone face this error ?</p>