title: RavenDB Trigger for updated index
body: <p>I want to use something like a Raven Listener to detect when an index has changed. When a document is inserted to the database, I want to be able to wait until the index is refreshed before the trigger is fired. Does anyone have any ideas?</p>
  
  <p>I saw Ayende's post on using the subscribe method:</p>
  
  <pre><code>store.Changes()
        .DocumentSubscription("orders/1293")
        .Subscribe(Reload);
  </code></pre>
  
  <p>but couldn't find any more details on this.
  Thanks in advance.</p>