code: public Object execute(final Map<Object, Object> iArgs) {
      if (name == null)
        throw new OCommandExecutionException("Cannot execute the command because it has not been parsed yet");
  
      getDatabase().getMetadata().getIndexManager().dropIndex(name);
      return null;
    }
docs: Execute the REMOVE INDEX.