see on GitHub

Operations: How to Get Index Names

GetIndexNamesOperation is used to retrieve multiple index names from a database.

Syntax

public GetIndexNamesOperation(int start, int pageSize)

Parameters
start int Number of index names that should be skipped
pageSize int Maximum number of index names that will be retrieved
Return Value
String[] This methods returns an array of index name as a result.

Example

String[] indexNames
    = store.maintenance()
        .send(new GetIndexNamesOperation(0, 10));