Example #1
0
 public AdminController(
     LuceneIndexProvider luceneIndexProvider,
     LuceneIndexingService luceneIndexingService,
     LuceneSettings luceneSettings,
     IAuthorizationService authorizationService,
     INotifier notifier,
     IStringLocalizer <AdminController> s,
     IHtmlLocalizer <AdminController> h,
     ILogger <AdminController> logger)
 {
     _luceneIndexProvider   = luceneIndexProvider;
     _luceneIndexingService = luceneIndexingService;
     _authorizationService  = authorizationService;
     _luceneSettings        = luceneSettings;
     _notifier = notifier;
     S         = s;
     H         = h;
     Logger    = logger;
 }
 public LuceneSiteSettingsDisplayDriver(LuceneIndexProvider luceneIndexProvider)
 {
     _luceneIndexProvider = luceneIndexProvider;
 }
Example #3
0
        private FusionIndexProvider CreateFusionProvider(LuceneIndexProvider luceneProvider, IndexProvider failingProvider)
        {
            SlotSelector slotSelector = Org.Neo4j.Kernel.Impl.Index.Schema.fusion.SlotSelector_Fields.NullInstance;

            return(new FusionIndexProvider(failingProvider, EMPTY, EMPTY, EMPTY, luceneProvider, slotSelector, _providerDescriptor, _directoryFactory, Fs.get(), false));
        }