Commands: Indexes: How to reset index?

ResetIndex will remove all indexing data from a server for a given index so the indexation can start from scratch for that index.

Syntax

public void resetIndex(String name);
Parameters
name String name of an index to reset

Example

store.getDatabaseCommands().resetIndex("Orders/Totals");