You are currently browsing legacy 3.0 version of documentation. Click here to switch to the newest 5.1 version.
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");