class_docstr: Simple indexer class
class_docstr_tok: ["Simple","indexer","class"]
code: def delete(self, docs: DocumentArray, **kwargs):
      # TODO we can do del _docs[d.id] once
      # tests.unit.types.arrays.test_documentarray.test_delete_by_id is fixed
      ids_to_delete = [d.id for d in docs]
      idx_to_delete = []
      for i, doc in enumerate(self._docs):
          if doc.id in ids_to_delete:
              idx_to_delete.append(i)
      for i in sorted(idx_to_delete, reverse=True):
          del self._docs[i]
  
file_path: jina/tests/integration/crud/__init__.py
imports: import os
  from typing import Dict, Tuple
  import numpy
  from jina import Document, DocumentArray, Executor, requests
  from jina.logging.logger import JinaLogger
label_desc: Use image node_id 5 for calling the CrudIndexer obj's underlying member method code with example usage: obj.delete(docs) without return types