Esempio n. 1
0
 public LuceneQuerySource(
     LuceneIndexManager luceneIndexProvider,
     LuceneIndexingService luceneIndexingService,
     LuceneAnalyzerManager luceneAnalyzerManager,
     ILuceneQueryService queryService,
     ITokenizer tokenizer,
     ISession session)
 {
     _luceneIndexProvider   = luceneIndexProvider;
     _luceneIndexingService = luceneIndexingService;
     _luceneAnalyzerManager = luceneAnalyzerManager;
     _queryService          = queryService;
     _tokenizer             = tokenizer;
     _session = session;
 }
Esempio n. 2
0
 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;
 }
        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;
        }
Esempio n. 4
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;
        }