private List<Property> _proplist; // duplicate to preserve order #endregion Fields #region Constructors public Configuration() { logger.Debug("Intializing Configuration"); _datasources = new List<IDataSource>(); _group1 = new List<IDataSource>(); _group2 = new List<IDataSource>(); _dbprops = new DatabaseProperties(); }
public Configuration() { logger.Debug("Intializing Configuration"); _datasources = new List <IDataSource>(); _group1 = new List <IDataSource>(); _group2 = new List <IDataSource>(); _dbprops = new DatabaseProperties(); }
public LuceneDatabase(Configuration config, bool overwrite, DatabaseProperties dbprops) { _config = config; _analyzer = new StandardAnalyzer(Version.LUCENE_29); _maintracker = new QueryResultTracker(config, _analyzer, _searcher, dbprops.MaxSearchHits, dbprops.MinRelevance); _maxSearchHits = dbprops.MaxSearchHits; _minRelevance = dbprops.MinRelevance; try { OpenIndexes(overwrite); OpenSearchers(); } catch (Exception ex) { logger.Error("Error initializing object: {0}", ex.Message); } }