code: def SetDocumentType(self, document_type):
      
      self._document_type = document_type
      logger.debug('Elasticsearch document type: {0:s}'.format(document_type))
docs: Sets the document type.
  
      Args:
        document_type (str): document type.