System.out.println("Started testing index summary");
int TIMELIMIT = 1000; //*-- time limit to perform the summary operation
String tmpFile = Constants.MUSTRU_HOME + File.separator + "tmp" + File.separator + "summary.txt";
IndexTools itools = new IndexTools(tmpFile);
itools.setRunRepair(false); itools.setRunSummary(true);
itools.start();
boolean done = false; long scanStart = new Date().getTime();
while (!done)
{ done = true;
long start = new Date().getTime();
try { itools.join(1000); } catch (InterruptedException e) { }