def METHOD_NAME(self, alias="default", **kwargs):
    """
    Construct an instance of ``opensearchpy.OpenSearch`` and register
    it under given alias.
    """
    kwargs.setdefault("serializer", serializer)
    conn = self._conns[alias] = opensearchpy.OpenSearch(**kwargs)
    return conn