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); }
public SearchManager() { settingsVM = SettingsViewModel.Instance;; luceneIndexDirectory = null; collectionProvider = new CollectionProvider(settingsVM.CollectionPath); relevantProvider = new SimpleRelevantProvider(collectionProvider); trecLogger = new TrecLogger(); }