Skip to main content

Commands: ResetIndexes

Syntax

#Commands: ResetIndexes

ResetIndexes forces RavenFS to rebuild Lucene indexes from scratch.

Task ResetIndexes(string filesystemName);
Parameters
filesystemNamestringThe name of the file system

Return Value
TaskA task that represents the asynchronous restore operation

Example

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