code: def delete(self, docids):
          
          self.check_session()
          result = self.session.delete(docids)
          if self.autosession:
              self.commit()
          return result
docs: Delete documents from the current session.