Sitecore Experience Commerce のインストール時にインデックス再構築のタイムアウトが発生する


説明

Master_SingleServer.jsonにおける「Reindex」タスクを実行する際に、以下のエラーが発生します。

Rebuilding index 'sitecore_core_index' completed.
Rebuilding index 'sitecore_master_index' ...
Install-SitecoreConfiguration : The operation has timed out.
At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\1.2.1\Public\Install-SitecoreConfiguration.ps1:253 char:21
+ & $entry.Task.Command @paramSet | Out-Default
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration

解決策

本事象を解決するには、「\Modules\SitecoreUtilityTasks\SitecoreUtilityTasks.psm1」ファイルにおける「Invoke-RebuildIndexesTask」関数で、各インデックスのタイムアウトの設定値を手動で増やします。