Adds LuceneIndexDiagnostics to make it easier for devs and custom indexes
This commit is contained in:
@@ -118,7 +118,7 @@ namespace Umbraco.Web.Search
|
||||
// bind to distributed cache events - this ensures that this logic occurs on ALL servers
|
||||
// that are taking part in a load balanced environment.
|
||||
ContentCacheRefresher.CacheUpdated += ContentCacheRefresherUpdated;
|
||||
ContentTypeCacheRefresher.CacheUpdated += ContentTypeCacheRefresherUpdated; ;
|
||||
ContentTypeCacheRefresher.CacheUpdated += ContentTypeCacheRefresherUpdated;
|
||||
MediaCacheRefresher.CacheUpdated += MediaCacheRefresherUpdated;
|
||||
MemberCacheRefresher.CacheUpdated += MemberCacheRefresherUpdated;
|
||||
}
|
||||
|
||||
@@ -8,6 +8,7 @@ using Umbraco.Examine;
|
||||
|
||||
namespace Umbraco.Web.Search
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Used to return diagnostic data for any index
|
||||
/// </summary>
|
||||
|
||||
@@ -50,6 +50,8 @@ namespace Umbraco.Web
|
||||
}
|
||||
}
|
||||
|
||||
//This is really needed at all since the only place this is used is in ExamineComponent and that already maintains a flag of whether it suspsended or not
|
||||
// AHH... but Deploy probably uses this?
|
||||
public static class ExamineEvents
|
||||
{
|
||||
private static bool _tried, _suspended;
|
||||
|
||||
Reference in New Issue
Block a user