Epinova / Epinova.Elasticsearch

A search-plugin for Episerver CMS and Commerce
MIT License
29 stars 20 forks source link

CoreIndexer inaccessible #82

Closed paalm closed 5 years ago

paalm commented 5 years ago

To create custom types I do as mentioned in readme. This code gives me compile error on "CoreIndexer" because its an internal class:

ICoreIndexer indexer = new Epinova.ElasticSearch.Core.CoreIndexer(settings);

Should CoreIndexer be made public maybe?

apeneve commented 5 years ago

I think it is hidden for a good reason. Can you use IoC or a service locator to fetch an instance of ICoreIndexer directly while waiting for the documentation update?