public FileSystemIndexConfigurator(string directory, Model model, string name)
 {
     _directory = directory;
     _model = model;
     _entityMap = model.GetEntity(name);
     _indexes = new IndexConfigurationConverter(model, _entityMap).Convert();
 }
 public MemoryIndexConfigurator(Model model, string name)
 {
     _model = model;
     _entityMap = model.GetEntity(name);
     _indexes = new IndexConfigurationConverter(model, _entityMap).Convert();
 }