if (line.hasOption("didyoumean")) {
if (suggest != SuggestValues.DOCUMENTS) {
throw new IllegalArgumentException("didyoumean requires --suggest documents");
}
DidYouMeanSuggestor dym = new DidYouMeanSuggestor((TermSuggestor)ie.getSuggestor());
searcher = new DidYouMeanSearcher(searcher, dym);
}
int maxSearchQueueLength = DEFAULT_MAX_SEARCH_QUEUE_LENGTH;
if (configuration.containsKey("max_search_queue")) {