public override void CreateIndex(IndexEntityType entityType, string indexName, IDictionary <string, string> config)
 {
     IndexCommand.CreateCommand command = new IndexCommand.CreateCommand();
     command.Init(Definitions().getOrAssignIndexNameId(indexName), entityType.id(), config);
     AddCommand(indexName, command);
 }
 public override void DeleteIndex(IndexEntityType entityType, string indexName)
 {
     IndexCommand.DeleteCommand command = new IndexCommand.DeleteCommand();
     command.Init(Definitions().getOrAssignIndexNameId(indexName), entityType.id());
     AddCommand(indexName, command, true);
 }