@Override public void index(File file, boolean compress) throws IOException { index(file, CATEGORY_COLUMN_INDEX, SUPER_CATEGORY_COLUMN_INDEX, compress); }
CategorySuperCategoryIndexer pageFileIndexer = new CategorySuperCategoryIndexer(line.getOptionValue("index")); pageFileIndexer.index(line.getOptionValue("file"), compress); pageFileIndexer.close(); } catch (ParseException e) {
CategorySuperCategoryIndexer categorySuperCategoryIndexer = new CategorySuperCategoryIndexer(extractorParameters.getWikipediaCategorySuperCategoryIndexName()); categorySuperCategoryIndexer.index(extractorParameters.getWikipediaCategorySuperCategoryFileName(), compress); categorySuperCategoryIndexer.close();
@Override public void index(String fileName, boolean compress) throws IOException { index(fileName, CATEGORY_COLUMN_INDEX, SUPER_CATEGORY_COLUMN_INDEX, compress); }