@Override public void index(File file, boolean compress) throws IOException { index(file, CATEGORY_COLUMN_INDEX, PAGE_COLUMN_INDEX, compress); }
CategoryPageIndexer pageFileIndexer = new CategoryPageIndexer(line.getOptionValue("index")); pageFileIndexer.index(line.getOptionValue("file"), compress); pageFileIndexer.close(); } catch (ParseException e) {
CategoryPageIndexer categoryPageIndexer = new CategoryPageIndexer(extractorParameters.getWikipediaCategoryPageIndexName()); categoryPageIndexer.index(extractorParameters.getWikipediaCategoryPageFileName(), compress); categoryPageIndexer.close();
@Override public void index(String fileName, boolean compress) throws IOException { index(fileName, CATEGORY_COLUMN_INDEX, PAGE_COLUMN_INDEX, compress); }