using System;
using System.Runtime.Serialization;
using Examine;
namespace Umbraco.Web.Search
{
[DataContract(Name = "indexer", Namespace = "")]
public class ExamineIndexerModel : ExamineSearcherModel
{
[DataMember(Name = "indexCriteria")]
public IIndexCriteria IndexCriteria { get; set; }
///
/// The number of docs in the index
///
[DataMember(Name = "documentCount")]
public int DocumentCount { get; set; }
///
/// The number of fields in the index
///
[DataMember(Name = "fieldCount")]
public int FieldCount { get; set; }
///
/// The number of documents flagged for deletion in the index
///
[DataMember(Name = "deletionCount")]
public int DeletionCount { get; set; }
///
/// Whether or not the indexed is optimized
///
[DataMember(Name = "isOptimized")]
public bool IsOptimized{ get; set; }
///
/// Generally will always be true unless someone has created a new non-lucene index
///
[DataMember(Name = "isLuceneIndex")]
public bool IsLuceneIndex { get; set; }
}
}