title: Ravendb 4 - Create Index Programmatically
body: <p>How to add a index to specific database in RavenDb 4. I see the function</p>
  
  <p><code>new SearchableIndex().Execute(_documentStore)</code>;</p>
  
  <p>How to specify the database, without setting the default database as part of document store initialization. I wish to pass the database name as parameter.</p>