예제 #1
0
        public LuceneIndexingService(
            LuceneIndexingState indexingState,
            LuceneIndexManager indexManager,
            IIndexingTaskManager indexTaskManager,
            IEnumerable <IContentItemIndexHandler> indexHandlers,
            IContentManager contentManager,
            ISiteService siteService,
            ILogger <LuceneIndexingService> logger)
        {
            _indexingState    = indexingState;
            _indexManager     = indexManager;
            _indexTaskManager = indexTaskManager;
            _indexHandlers    = indexHandlers;
            _contentManager   = contentManager;
            _siteService      = siteService;

            Logger = logger;
        }
예제 #2
0
        public LuceneIndexingService(
            IShellHost shellHost,
            ShellSettings shellSettings,
            LuceneIndexingState indexingState,
            LuceneIndexManager indexManager,
            IIndexingTaskManager indexingTaskManager,
            ISiteService siteService,
            ILogger <LuceneIndexingService> logger)
        {
            _shellHost           = shellHost;
            _shellSettings       = shellSettings;
            _indexingState       = indexingState;
            _indexManager        = indexManager;
            _indexingTaskManager = indexingTaskManager;
            _siteService         = siteService;

            Logger = logger;
        }