abuilder.withName("batch").withMinimum(1).withMaximum(1).create()).
withDescription("The number of docs to include in each indexing batch").withShortName("b").create();
Group group = gbuilder.withName("Options").withOption(wikipediaFileOpt).withOption(numDocsOpt).withOption(solrURLOpt).withOption(solrBatchOpt).create();
Parser parser = new Parser();
parser.setGroup(group);
CommandLine cmdLine = parser.parse(args);
File file;
file = new File(cmdLine.getValue(wikipediaFileOpt).toString());
File[] dumpFiles;
if (file.isDirectory()) {