mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-21 11:17:28 +08:00
Implementing revised indexing loop design
--HG-- branch : indexing
This commit is contained in:
@@ -5,13 +5,14 @@ namespace Orchard.Indexing.Services {
|
||||
public class IndexEntry {
|
||||
public string IndexName { get; set; }
|
||||
public int DocumentCount { get; set; }
|
||||
public DateTime? LastUpdateUtc { get; set; }
|
||||
public DateTime LastUpdateUtc { get; set; }
|
||||
public IEnumerable<string> Fields { get; set; }
|
||||
public IndexingStatus IndexingStatus { get; set; }
|
||||
}
|
||||
|
||||
public interface IIndexingService : IDependency {
|
||||
void RebuildIndex();
|
||||
void UpdateIndex();
|
||||
IndexEntry GetIndexEntry();
|
||||
void RebuildIndex(string indexName);
|
||||
void UpdateIndex(string indexName);
|
||||
IndexEntry GetIndexEntry(string indexName);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user