From 9f2c1cd3e633936f990e09d779dfd76e47365c65 Mon Sep 17 00:00:00 2001 From: Shannon Date: Mon, 4 May 2020 17:13:01 +1000 Subject: [PATCH] when we rebuild indexes in the back office we are actually calling index.CreateIndex() 2 times before populating (cherry picked from commit d7469e6576fbe4bf4d23f9046399b3899c0ff58c) --- src/Umbraco.Web/Editors/ExamineManagementController.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Umbraco.Web/Editors/ExamineManagementController.cs b/src/Umbraco.Web/Editors/ExamineManagementController.cs index 0953b41cac..cf1dfd5d5d 100644 --- a/src/Umbraco.Web/Editors/ExamineManagementController.cs +++ b/src/Umbraco.Web/Editors/ExamineManagementController.cs @@ -141,9 +141,6 @@ namespace Umbraco.Web.Editors try { - //clear and replace - index.CreateIndex(); - var cacheKey = "temp_indexing_op_" + index.Name; //put temp val in cache which is used as a rudimentary way to know when the indexing is done AppCaches.RuntimeCache.Insert(cacheKey, () => "tempValue", TimeSpan.FromMinutes(5));