mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-20 19:03:25 +08:00
19 lines
651 B
C#
19 lines
651 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Orchard.Indexing.Services {
|
|
public class IndexEntry {
|
|
public string IndexName { get; set; }
|
|
public int DocumentCount { get; set; }
|
|
public DateTime LastUpdateUtc { get; set; }
|
|
public IEnumerable<string> Fields { get; set; }
|
|
public IndexingStatus IndexingStatus { get; set; }
|
|
}
|
|
|
|
public interface IIndexingService : IDependency {
|
|
void DeleteIndex(string indexName);
|
|
void RebuildIndex(string indexName);
|
|
void UpdateIndex(string indexName);
|
|
IndexEntry GetIndexEntry(string indexName);
|
|
}
|
|
} |