<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def delete(self, skip_mapping=False):
 """Delete all entries from ElasticSearch."""

        for index in self.indexes:
            index.destroy()
            if not skip_mapping:
                index.create_mapping()