Creates IUmbracoIndexer to decouple lucene from the indexers
This commit is contained in:
23
src/Umbraco.Examine/IUmbracoIndexer.cs
Normal file
23
src/Umbraco.Examine/IUmbracoIndexer.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user