public int doLogic() throws Exception {if (maxNumSegments == -1) {throw new IllegalStateException("required argument (maxNumSegments) was not specified");}IndexWriter iw = getRunData().getIndexWriter();iw.forceMerge(maxNumSegments);return 1;}

public override int DoLogic(){if (maxNumSegments == -1){throw new InvalidOperationException("required argument (maxNumSegments) was not specified");}IndexWriter iw = RunData.IndexWriter;iw.ForceMerge(maxNumSegments);return 1;}
