Is there a way to query a RavenDB document store and find out how stale any stale indexes are?
Essentially, what I’d like to do is provide results back to a user, but also give them some notion of how much indexing is left to complete.
This would be nice in large data import scenarios.
Certainly, you can do it like this:
The stats contains whatever the index is stale or not, and there is a property there that tells you what is the last update date for the index.