public IndexUpgrader(Directory dir, IndexWriterConfig iwc, boolean deletePriorCommits) {this.dir = dir;this.iwc = iwc;this.deletePriorCommits = deletePriorCommits;}

public IndexUpgrader(Directory dir, IndexWriterConfig iwc, bool deletePriorCommits){this.dir = dir;this.iwc = iwc;this.deletePriorCommits = deletePriorCommits;}
