1

I have a RavenDb server with over 200 databases each with 5 - 10 indexes. Recently, the server went very low on disk space, and most of the indexes become corrupted due to this and need to be reset.

Is it possible to reset all indexes which are corrupted, for all databases on a server?

Or maybe just resetting all indexes on all databases for a server, irrespective if they are corrupt or not?

Karl Cassar
  • 6,043
  • 10
  • 47
  • 84

1 Answers1

1

You have at least 2 options:

Note: Please remember about paging

REST Docs:

Marcin
  • 1,429
  • 8
  • 16
  • `optionally check if index is corrupted` how? there is no 'IsCorrupted' property on each index. If your suggestion is to use `IsInvalidIndex` then the docs state for this field `Determines if index is invalid. If more thant 15% of attemps (map or reduce) are errors then value will be true` - this isn't directly saying its a corrupted index – wal Apr 19 '18 at 00:08