Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Hendy committed Apr 16, 2019
1 parent fe6a87f commit 7fcc541
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ namespace Our.Umbraco.Look // NOTE: namespaced pushed down to root as it's in th
/// </summary>
public static partial class ExamineManagerExtensions
{
/// <summary>
/// ReIndex the Umbraco content, media and members of the supplied ids in all Examine and Look indexes
/// </summary>
/// <param name="examineManager"></param>
/// <param name="ids"></param>
public static void ReIndex(this ExamineManager examineManager, IEnumerable<int> ids)
{
var umbracoHelper = new UmbracoHelper(UmbracoContext.Current);
Expand All @@ -27,6 +32,11 @@ public static void ReIndex(this ExamineManager examineManager, IEnumerable<int>
examineManager.ReIndex(nodes);
}

/// <summary>
/// ReIndex all the supplied nodes in all Examine and Look indexes
/// </summary>
/// <param name="examineManager"></param>
/// <param name="nodes"></param>
public static void ReIndex(this ExamineManager examineManager, IEnumerable<IPublishedContent> nodes)
{
var examineIndexers = examineManager
Expand Down Expand Up @@ -64,7 +74,6 @@ public static void ReIndex(this ExamineManager examineManager, IEnumerable<IPubl
{
lookIndexer.ReIndex(nodes);
}

}
}
}

0 comments on commit 7fcc541

Please sign in to comment.