Language
Java
Article For
4.0 4.1 4.2 5.0 5.1 5.3

Operations: How to Enable an Index

The EnableIndexOperation is used to turn on the indexing for a given index.

Syntax

public EnableIndexOperation(string indexName)
Parameters
indexName string name of an index to enable indexing

Example

store.Maintenance.Send(new EnableIndexOperation("Orders/Totals"));