mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-26 20:16:15 +08:00
@@ -295,7 +295,7 @@ namespace Orchard.Indexing.Services {
|
||||
try {
|
||||
if (deleteFromIndex.Count > 0) {
|
||||
_indexProvider.Delete(indexName, deleteFromIndex);
|
||||
Logger.Information("Added content items to index: {0}", addToIndex.Count);
|
||||
Logger.Information("Deleted content items from index: {0}", deleteFromIndex.Count);
|
||||
}
|
||||
}
|
||||
catch (Exception ex) {
|
||||
@@ -332,7 +332,7 @@ namespace Orchard.Indexing.Services {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates a IDocumentIndex instance for a specific content item id. If the content
|
||||
/// Creates a IDocumentIndex instance for a specific content item id. If the content
|
||||
/// item is no more published, it returns null.
|
||||
/// </summary>
|
||||
private IDocumentIndex ExtractDocumentIndex(ContentItem contentItem) {
|
||||
|
||||
Reference in New Issue
Block a user