From fba549e59c2cd30440c31fefd632bc1e1968d0d3 Mon Sep 17 00:00:00 2001 From: Shannon Date: Mon, 26 Nov 2018 11:06:11 +1100 Subject: [PATCH] Creates IUmbracoIndexer to decouple lucene from the indexers --- src/Umbraco.Examine/IUmbracoIndexer.cs | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/Umbraco.Examine/IUmbracoIndexer.cs diff --git a/src/Umbraco.Examine/IUmbracoIndexer.cs b/src/Umbraco.Examine/IUmbracoIndexer.cs new file mode 100644 index 0000000000..c926bfb2fe --- /dev/null +++ b/src/Umbraco.Examine/IUmbracoIndexer.cs @@ -0,0 +1,23 @@ +using Examine; + +namespace Umbraco.Examine +{ + /// + /// A Marker interface for defining an Umbraco indexer + /// + public interface IUmbracoIndexer : IIndexer + { + /// + /// When set to true Umbraco will keep the index in sync with Umbraco data automatically + /// + bool EnableDefaultEventHandler { get; } + + /// + /// When set to true data will not be deleted from the index if the data is being unpublished (not deleted) + /// + /// + /// Generally used only for published content + /// + bool SupportUnpublishedContent { get; } + } +}