Function: startReindexInsight()
ts
function startReindexInsight(
client,
parameters,
options?
): Promise<{
[key: string]: unknown;
actor?: string;
category?: string;
currentStep?: number;
currentStepTotalWorkUnits?: number;
currentWorkDescription?: string;
currentWorkUnits?: number;
estimatedFinishDate?: Date;
finishedDate?: Date;
numberOfSteps?: number;
progressInPercent?: number;
resourceId?: string;
result?: string;
resultData?: Record<string, any>;
resultMessage?: string;
startDate?: Date;
status?: string;
stepDescription?: string;
totalWorkUnits?: number;
}>;Defined in: src/assetsServer/api/indexConfiguration.ts:57
Start an asynchronous reindex of the Assets Index for the entire cluster.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { clean?: string; } | - |
parameters.clean? | string | If true, the index will be cleaned before the reindex starts. |
options? | RequestOptions | - |
Returns
Promise<{ [key: string]: unknown; actor?: string; category?: string; currentStep?: number; currentStepTotalWorkUnits?: number; currentWorkDescription?: string; currentWorkUnits?: number; estimatedFinishDate?: Date; finishedDate?: Date; numberOfSteps?: number; progressInPercent?: number; resourceId?: string; result?: string; resultData?: Record<string, any>; resultMessage?: string; startDate?: Date; status?: string; stepDescription?: string; totalWorkUnits?: number; }>