Skip to content

@DropIndexes

Scope: class

Drops existing indexes.

@DropIndexes({"test1", "test2"})
public class MyModel {...}

Important

Index drop executed before registration and index creation annotations register indexes after class registration, so drop may be used to re-build index.