You are currently browsing legacy 3.0 version of documentation. Click here to switch to the newest 4.2 version.

We can help you with migration to the latest RavenDB

Contact Us Now
see on GitHub

Commands: ResetIndexes

ResetIndexes forces RavenFS to rebuild Lucene indexes from scratch.

Syntax

Task ResetIndexes(string filesystemName);

Parameters
filesystemName string The name of the file system

Return Value
Task A task that represents the asynchronous restore operation

Example

await store.AsyncFilesCommands.Admin
	.ResetIndexes("NorthwindFS");