I\'m attempting to improve performance on a suite that tests against ElasticSearch.
The tests take a long time because Elasticsearch does not update it\'s indexes i
Seems to work for me:
els.indices.refresh(index) els.cluster.health(wait_for_no_relocating_shards=True,wait_for_active_shards='all')