diff --git a/src/Umbraco.Web/Search/IUmbracoTreeSearcherFields.cs b/src/Umbraco.Web/Search/IUmbracoTreeSearcherFields.cs
index eaa5d743a1..c5a6c53d19 100644
--- a/src/Umbraco.Web/Search/IUmbracoTreeSearcherFields.cs
+++ b/src/Umbraco.Web/Search/IUmbracoTreeSearcherFields.cs
@@ -2,12 +2,26 @@ using System.Collections.Generic;
namespace Umbraco.Web.Search
{
+ ///
+ /// Used to propagate hardcoded internal Field lists
+ ///
public interface IUmbracoTreeSearcherFields
{
+ ///
+ /// Propagate list of searchable fields for all node types
+ ///
IEnumerable GetBackOfficeFields();
+ ///
+ /// Propagate list of searchable fields for Members
+ ///
IEnumerable GetBackOfficeMembersFields();
-
+ ///
+ /// Propagate list of searchable fields for Media
+ ///
IEnumerable GetBackOfficeMediaFields();
+ ///
+ /// Propagate list of searchable fields for Documents
+ ///
IEnumerable GetBackOfficeDocumentFields();
}
}
diff --git a/src/Umbraco.Web/Search/UmbracoTreeSearcherFields.cs b/src/Umbraco.Web/Search/UmbracoTreeSearcherFields.cs
index d1c663024b..f90d7bc6b6 100644
--- a/src/Umbraco.Web/Search/UmbracoTreeSearcherFields.cs
+++ b/src/Umbraco.Web/Search/UmbracoTreeSearcherFields.cs
@@ -1,8 +1,8 @@
using System.Collections.Generic;
+using System.Linq;
using Umbraco.Examine;
-using Umbraco.Web.Search;
-namespace Umbraco.Web
+namespace Umbraco.Web.Search
{
public class UmbracoTreeSearcherFields : IUmbracoTreeSearcherFields
{
@@ -23,10 +23,9 @@ namespace Umbraco.Web
{
return _backOfficeMediaFields;
}
- private IReadOnlyList _backOfficeDocumentFields = new List ();
public IEnumerable GetBackOfficeDocumentFields()
{
- return _backOfficeDocumentFields;
+ return Enumerable.Empty();
}
}
}