Skip to content

Commit

Permalink
Ensure of using IUmbracoIndex
Browse files Browse the repository at this point in the history
  • Loading branch information
arkadiuszbiel committed Oct 4, 2019
1 parent 0992fda commit 70a202e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class ElasticIndexCreator : LuceneIndexCreator, IUmbracoIndexesCreator
public ElasticIndexCreator(IProfilingLogger profilingLogger,
ILocalizationService languageService,
IPublicAccessService publicAccessService)
{
{`
ProfilingLogger = profilingLogger ?? throw new System.ArgumentNullException(nameof(profilingLogger));
LanguageService = languageService ?? throw new System.ArgumentNullException(nameof(languageService));
_publicAccessService =
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
using Examine;
using Umbraco.Core.Logging;
using Umbraco.Examine;

namespace Novicell.Examine.ElasticSearch.Indexers
{
public class ContentElasticSearchIndex : ElasticSearchUmbracoIndex
public class ContentElasticSearchIndex : ElasticSearchUmbracoIndex, IUmbracoIndex
{
public ContentElasticSearchIndex(string name, ElasticSearchConfig connectionConfiguration, IProfilingLogger profilingLogger,
FieldDefinitionCollection fieldDefinitions = null, string analyzer = null,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
using Examine;
using Umbraco.Core.Logging;
using Umbraco.Examine;

namespace Novicell.Examine.ElasticSearch.Indexers
{
public class MemberElasticSearchIndex : ElasticSearchUmbracoIndex
public class MemberElasticSearchIndex : ElasticSearchUmbracoIndex, IUmbracoIndex
{
public MemberElasticSearchIndex(string name, ElasticSearchConfig connectionConfiguration,
IProfilingLogger profilingLogger,
Expand Down

0 comments on commit 70a202e

Please sign in to comment.