Skip to content
This repository was archived by the owner on Nov 10, 2017. It is now read-only.

Commit 05c3360

Browse files
committed
Removed rebuilding a legacy search indexes.
The 'Sitecore.Search' API has been deprecated. Therefore, there is no need to rebuild legacy search indexes.
1 parent c17caed commit 05c3360

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Sitecore.Azure.Startup/SearchIndexRebuilding.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ public static async void RebuildAllIndexesAsync()
2020
{
2121
List<Task> tasksList = new List<Task>();
2222

23-
RebuildSearchIndexesAsync(SearchManager.Indexes, tasksList);
2423
RebuildContentSearchIndexesAsync(ContentSearchManager.Indexes, tasksList);
2524

2625
await Task.WhenAll(tasksList);
@@ -31,7 +30,6 @@ public static async void RebuildAllIndexesAsync()
3130
/// </summary>
3231
public static void RebuildAllIndexes()
3332
{
34-
RebuildSearchIndexes(SearchManager.Indexes);
3533
RebuildContentSearchIndexes(ContentSearchManager.Indexes);
3634
}
3735

0 commit comments

Comments
 (0)