public LuceneQuerySource(
     LuceneIndexManager luceneIndexProvider,
     LuceneIndexingService luceneIndexingService,
     LuceneAnalyzerManager luceneAnalyzerManager,
     ILuceneQueryService queryService,
     ILiquidTemplateManager liquidTemplateManager,
     ISession session)
 {
     _luceneIndexProvider   = luceneIndexProvider;
     _luceneIndexingService = luceneIndexingService;
     _luceneAnalyzerManager = luceneAnalyzerManager;
     _queryService          = queryService;
     _liquidTemplateManager = liquidTemplateManager;
     _session = session;
 }
Example #2
0
 public LuceneQuerySource(
     LuceneIndexManager luceneIndexProvider,
     LuceneIndexSettingsService luceneIndexSettingsService,
     LuceneAnalyzerManager luceneAnalyzerManager,
     ILuceneQueryService queryService,
     ILiquidTemplateManager liquidTemplateManager,
     ISession session,
     JavaScriptEncoder javaScriptEncoder)
 {
     _luceneIndexProvider        = luceneIndexProvider;
     _luceneIndexSettingsService = luceneIndexSettingsService;
     _luceneAnalyzerManager      = luceneAnalyzerManager;
     _queryService          = queryService;
     _liquidTemplateManager = liquidTemplateManager;
     _session           = session;
     _javaScriptEncoder = javaScriptEncoder;
 }
        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;
        }