mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-21 03:14:10 +08:00
Corrected search index bug preventing dynamic items from being indexed if they didn't have a common aspect
- Added a lock on write operations - Changed Indexing event handler to intercept all ContentPart instances --HG-- branch : dev
This commit is contained in:
@@ -103,8 +103,10 @@ namespace Orchard.Indexing.Services {
|
||||
|
||||
|
||||
// nothing to do ?
|
||||
if (taskRecords.Length + updateIndexDocuments.Count == 0)
|
||||
if (taskRecords.Length + updateIndexDocuments.Count == 0) {
|
||||
Logger.Information("Index update requested, nothing to do");
|
||||
return;
|
||||
}
|
||||
|
||||
Logger.Information("Processing {0} indexing tasks", taskRecords.Length);
|
||||
|
||||
|
Reference in New Issue
Block a user