Пример #1
0
        public void UpdateCollectionProvider(object sender = null)
        {
            StatusBarViewModel.Instance.ProcStatus = "Loading Indexing File .....";
            collectionProvider = new CollectionProvider(settingsVM.CollectionPath, sender);
            StatusBarViewModel.Instance.ProcStatus = "Finish Loading Indexing File";

            relevantProvider = new SimpleRelevantProvider(collectionProvider);
        }
Пример #2
0
        public SearchManager()
        {
            settingsVM           = SettingsViewModel.Instance;;
            luceneIndexDirectory = null;

            collectionProvider = new CollectionProvider(settingsVM.CollectionPath);
            relevantProvider   = new SimpleRelevantProvider(collectionProvider);

            trecLogger = new TrecLogger();
        }