Creates IUmbracoIndexer to decouple lucene from the indexers

This commit is contained in:
Shannon
2018-11-26 11:06:11 +11:00
parent 75116e1585
commit fba549e59c

View File

@@ -0,0 +1,23 @@
using Examine;
namespace Umbraco.Examine
{
/// <summary>
/// A Marker interface for defining an Umbraco indexer
/// </summary>
public interface IUmbracoIndexer : IIndexer
{
/// <summary>
/// When set to true Umbraco will keep the index in sync with Umbraco data automatically
/// </summary>
bool EnableDefaultEventHandler { get; }
/// <summary>
/// When set to true data will not be deleted from the index if the data is being unpublished (not deleted)
/// </summary>
/// <remarks>
/// Generally used only for published content
/// </remarks>
bool SupportUnpublishedContent { get; }
}
}