def METHOD_NAME(index_cname, for_export=False):
    """Return the document adapter for the provided ``index_cname``.
    :param index_cname: ``str`` canonical name of the index
    :param for_export: ``bool`` used to instantiate the adapter instance
    :returns: instance of an ``ElasticDocumentAdapter`` subclass
    """
    from corehq.apps.es import CANONICAL_NAME_ADAPTER_MAP
    return _get_doc_adapter(CANONICAL_NAME_ADAPTER_MAP[index_cname], for_export)