code: def clear_es():
          
          # TODO: should receive a catalog slug.
          ESHypermap.es.indices.delete(ESHypermap.index_name, ignore=[400, 404])
          LOGGER.debug('Elasticsearch: Index cleared')
docs: Clear all indexes in the es core