public void setup() throws Exception {super.setup();String inputDirProp = getRunData().getConfig().get(ADDINDEXES_INPUT_DIR, null);if (inputDirProp == null) {throw new IllegalArgumentException("config parameter " + ADDINDEXES_INPUT_DIR + " not specified in configuration");}inputDir = FSDirectory.open(Paths.get(inputDirProp));}
public override void Setup(){base.Setup();string inputDirProp = RunData.Config.Get(ADDINDEXES_INPUT_DIR, null);if (inputDirProp == null){throw new ArgumentException("config parameter " + ADDINDEXES_INPUT_DIR + " not specified in configuration");}inputDir = FSDirectory.Open(new DirectoryInfo(inputDirProp));}