text: 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;}