code: def create_index(self):
          
          es = self._init_connection()
          if not es.indices.exists(index=self.index):
              es.indices.create(index=self.index, body=self.settings)
docs: Override to provide code for creating the target index.
  
          By default it will be created without any special settings or mappings.