Operations: How to Start an Index

The StartIndexOperation is used to resume indexing for an index.

Syntax

public StartIndexOperation(String indexName)
Parameters
indexName String name of an index to start indexing

Example

store.maintenance().send(new StartIndexOperation("Orders/Totals"));