searcher = new CacheSearcher(searcher, cache);
}
if (searcherConfig.getBoolean("compositeSearcher.useSynonymSuggestQuery")) {
try {
searcher = new SuggestQuerySearcher(searcher,
new SynonymQuerySuggestor(new File(searcherConfig.getString("searcher.suggestQuerySearcher.synonymFile"))),
searcherConfig.getInt("searcher.suggestQuerySearcher.minResults"),
searcherConfig.getFloat("searcher.suggestQuerySearcher.suggestionBetterByFactor"),
searcherConfig.getInt("searcher.suggestQuerySearcher.maxSuggestionsToTry"));
} catch (java.io.IOException e) {
logger.error("While creating WordQuerySuggestor:"+e,e);