seconds

Enabling 'Document Refresh' will refresh documents that have a @refresh flag in the metadata at the time specified by the flag.
At that time RavenDB will remove the @refresh flag causing the document to automatically update.

As a result, and depending on your tasks and indexing configuration:

  • A document will be re-indexed
  • Ongoing-tasks such as Replication, ETL, Subscriptions, etc. will be triggered

To set the refresh time: enter the appropriate date in the metadata @refresh property.

Note: RavenDB scans which documents should be refreshed at the frequency specified.
The actual refresh time can increase (up to) that value.