original_docstring: 
          Delete a model by primary key.
  
          :raises `ElasticsearchNotFoundError` if there is no existing model
  
          
docstring: Delete a model by primary key.
  :raises `ElasticsearchNotFoundError` if there is no existing model
docstring_tokens: Delete a model by primary key . : raises ` ElasticsearchNotFoundError ` if there is no existing model
code: def delete(self, identifier, **kwargs):
          """
          Delete a model by primary key.
  
          :raises `ElasticsearchNotFoundError` if there is no existing model
  
          """
          self.model_class().delete(
              id=identifier,
              index=self.get_index_name(**kwargs),
              using=self.elasticsearch_client,
          )
          return True
code_tokens: def delete ( self , identifier , ** kwargs ) : self . model_class ( ) . delete ( id = identifier , index = self . get_index_name ( ** kwargs ) , using = self . elasticsearch_client , ) return True
short_docstring: Delete a model by primary key.
short_docstring_tokens: Delete a model by primary key .
comment: """
          Delete a model by primary key.
  
          :raises `ElasticsearchNotFoundError` if there is no existing model
  
          """