@classmethod
    def refresh(cls):
        cls.get_es().indices.refresh(index=cls.index_name)
        cls.get_es().cluster.health(wait_for_status='yellow')
Refresh index after indexing
dataset/ETHPy150Open mozilla/elasticutils/elasticutils/estestcase.py/ESTestCase.refresh