def get_closed_indices(self):
state = self.conn.cluster.state()<EOL>status = self.status()<EOL>indices_metadata = set(state['<STR_LIT>']['<STR_LIT>'].keys())<EOL>indices_status = set(status['<STR_LIT>'].keys())<EOL>return indices_metadata.difference(indices_status)<EOL>
Get all closed indices.