title: RavenDb check if index exists
body: <p>How do I check whether an index exists? - before calling:</p>
  
  <pre><code>IndexCreation.CreateIndexes(typeof(MyIndexClass).Assembly, documentStore);
  </code></pre>
  
  <p>All the examples I have seen (including the ones in the sample project) had the index re-created every time the client is started which doesn't seem right.</p>
  
  <p>Also what is the general strategy? It seems like there's the normal CRUD operation, then there's administration commands such as the indexing one above. Do people just create a console app that does the admin and deploy/run that separately from the main app? </p>