def refresh(self, indices=None, timesleep=None, timeout=<NUM_LIT:0>):
self.conn.force_bulk()<EOL>path = self.conn._make_path(indices, (), '<STR_LIT>', allow_all_indices=False)<EOL>result = self.conn._send_request('<STR_LIT:POST>', path)<EOL>if timesleep:<EOL><INDENT>time.sleep(timesleep)<EOL><DEDENT>self.conn.cluster.health(wait_for_status='<STR_LIT>', timeout=timeout)<EOL>return result<EOL>
Refresh one or more indices
If a bulk is full, it sends it.
(See :ref:`es-guide-reference-api-admin-indices-refresh`)

:keyword indices: an index or a list of indices
:keyword timesleep: seconds to wait
:keyword timeout: seconds to wait before timing out when waiting for
    the cluster's health.