Returns the es mapping for the property

def es_indexers(cls, base_class, **kwargs):
        """ Returns the es mapping for the property
        """
        indexer_list = []
        ranges = cls.rdfs_range # pylint: disable=no-member
        rng_defs = get_prop_range_defs(cls.class_names, cls.kds_rangeDef)
        rng_def = get_prop_range_def(rng_defs)
        if rng_def.get("kds_esIndexClass"):
            ranges = rng_def['kds_esIndexClass'].copy()
        idx_types = get_idx_types(rng_def, ranges)
        if 'es_Ignored' in idx_types:
            return []
        if 'es_Nested' in idx_types:
            if (kwargs.get('depth', 0) >= 1 and \
                    kwargs.get('class') == ranges[0]) or \
                    kwargs.get('depth', 0) > 2:
                return []
            indexer_list = getattr(MODULE.rdfclass,
                                   ranges[0]).es_indexers(base_class,
                                                          'es_Nested',
                                                          **kwargs)
        return indexer_list