Search.java revision 1072
* See LICENSE.txt included in this distribution for the specific
* file and include the License file at LICENSE.txt.
final class Search {
private final static String usage = "USAGE: Search -R <configuration.xml> [-d | -r | -p | -h | -f] 'query string' ..\n" +
"\t -R <configuration.xml> Read configuration from the specified file\n" +
} catch (Exception e) {
int cmd;
switch (cmd) {
} catch (Exception e) {
protected boolean search() {
protected void dumpResults() {
System.out.println("Printing results 1 - " + nhits +" of " + totalResults + " total matching documents collected.");
System.out.println("Printed results 1 - " + nhits +" of " + totalResults + " total matching documents collected.");
boolean success = false;
success = true;
if (!success) {