public ReloadableIndexHandler() {
maxOffset = config.getInt("ReloadableIndexSearcher.maxOffset");
maxHitsPerPage = config.getInt("ReloadableIndexSearcher.maxHitsPerPage");
slackFactor = config.getInt("ReloadableIndexSearcher.lookupLimit");
similarity = new SimilarityForwarder();
querySamplePeriod = config.getInt("Searcher.query.sample.period");
numberOfSavedQueries = config.getInt("Searcher.query.sample.size");
savedQueries = new SavedQuery[numberOfSavedQueries];
//FIXME: This is a potential but unlikely race condition, as we are publishing "this" to another thread