@Override public void index(String fileName, boolean compress) throws IOException { index(fileName, CATEGORY_COLUMN_INDEX, SUB_CATEGORY_COLUMN_INDEX, compress); }
CategorySubCategoryIndexer pageFileIndexer = new CategorySubCategoryIndexer(line.getOptionValue("index")); pageFileIndexer.index(line.getOptionValue("file"), compress); pageFileIndexer.close(); } catch (ParseException e) {
CategorySubCategoryIndexer categorySubCategoryIndexer = new CategorySubCategoryIndexer(extractorParameters.getWikipediaCategorySubCategoryIndexName()); categorySubCategoryIndexer.index(extractorParameters.getWikipediaCategorySubCategoryFileName(), compress); categorySubCategoryIndexer.close();
@Override public void index(File file, boolean compress) throws IOException { index(file, CATEGORY_COLUMN_INDEX, SUB_CATEGORY_COLUMN_INDEX, compress); }