set TextDatasetFactory index ctxt at start