Get Index Names Operation
-
Use
GetIndexNamesOperation
to retrieve multiple index names from the database. -
In this page:
Get index names example
// Define the get index names operation
// Pass number of indexes to skip & number of indexes to retrieve
$getIndexNamesOp = new GetIndexNamesOperation(0, 10);
// Execute the operation by passing it to Maintenance.Send
/** @var StringArrayResult $indexNames */
$indexNames = $store->maintenance()->send($getIndexNamesOp);
// indexNames will contain the first 10 indexes, alphabetically ordered