Fix small bug in index provider

Also cleanup the API a bit
Also provide more detailled statistics about the search index on the
"Search Index Management" page.

--HG--
branch : dev
This commit is contained in:
Renaud Paquay
2010-07-11 12:11:38 -07:00
parent 2761c3520b
commit 5a7724e2e1
9 changed files with 65 additions and 37 deletions

View File

@@ -1,10 +1,17 @@
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 interface IIndexingService : IDependency {
bool HasIndexToManage { get; }
void RebuildIndex();
void UpdateIndex();
DateTime GetIndexUpdatedUtc();
IndexEntry GetIndexEntry();
}
}