2018-11-28 21:02:45 +11:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Runtime.Serialization;
|
|
|
|
|
|
using Examine;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Umbraco.Web.Search
|
|
|
|
|
|
{
|
|
|
|
|
|
[DataContract(Name = "indexer", Namespace = "")]
|
|
|
|
|
|
public class ExamineIndexModel
|
|
|
|
|
|
{
|
|
|
|
|
|
[DataMember(Name = "name")]
|
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
[DataMember(Name = "healthStatus")]
|
|
|
|
|
|
public string HealthStatus { get; set; }
|
|
|
|
|
|
|
2018-11-29 13:55:51 +11:00
|
|
|
|
[DataMember(Name = "isHealthy")]
|
2018-11-29 14:54:35 +11:00
|
|
|
|
public bool IsHealthy => HealthStatus == "Healthy";
|
2018-11-29 13:55:51 +11:00
|
|
|
|
|
2018-11-28 21:02:45 +11:00
|
|
|
|
[DataMember(Name = "providerProperties")]
|
|
|
|
|
|
public IReadOnlyDictionary<string, object> ProviderProperties { get; set; }
|
|
|
|
|
|
|
2018-11-30 12:22:23 +11:00
|
|
|
|
[DataMember(Name = "canRebuild")]
|
|
|
|
|
|
public bool CanRebuild { get; set; }
|
|
|
|
|
|
|
2018-11-28 21:02:45 +11:00
|
|
|
|
}
|
|
|
|
|
|
}
|