private static void startIndexing() throws IOException { Indexer indexer = Indexer.Factory.getIndexerByOption(SearchEngine.OPTIONS); Check(indexer != null, "Indexer " + SearchEngine.OPTIONS._indexerType + " not found!"); indexer.constructIndex(); }