private RunQueriesBaselineThrift() {}
@SuppressWarnings("static-access")
public static void main(String[] args) throws Exception {
Options options = new Options();
options.addOption(OptionBuilder.withArgName("string").hasArg()
.withDescription("host").create(HOST_OPTION));
options.addOption(OptionBuilder.withArgName("port").hasArg()
.withDescription("port").create(PORT_OPTION));
options.addOption(OptionBuilder.withArgName("file").hasArg()
.withDescription("file containing topics in TREC format").create(QUERIES_OPTION));
options.addOption(OptionBuilder.withArgName("num").hasArg()
.withDescription("number of results to return").create(NUM_RESULTS_OPTION));
options.addOption(OptionBuilder.withArgName("string").hasArg()
.withDescription("group id").create(GROUP_OPTION));
options.addOption(OptionBuilder.withArgName("string").hasArg()
.withDescription("access token").create(TOKEN_OPTION));
options.addOption(OptionBuilder.withArgName("string").hasArg()
.withDescription("runtag").create(RUNTAG_OPTION));
options.addOption(new Option(VERBOSE_OPTION, "print out complete document"));
CommandLine cmdline = null;
CommandLineParser parser = new GnuParser();
try {
cmdline = parser.parse(options, args);