class_docstr: Index csvs in Elasticsearch
docstr: Format a passage for indexing
docstr_tok: ["Format","a","passage","for","indexing"]
code: def format(self, passage: str, cid: str):
      """Format a passage for indexing"""
      body = {
          "_index": self.index_name,
          "_type": "_doc",
          "_source": {"passage": passage},
      }
  
      if cid is not None:
          body["_id"] = cid
  
      return body
  
file_path: nboost/nboost/indexers/es.py
imports: from typing import Dict
  from elasticsearch.exceptions import RequestError
  from elasticsearch.helpers import bulk
  from elasticsearch import Elasticsearch
  from nboost.indexers.base import BaseIndexer
label_desc: Use image node_id 2 for calling the ESIndexer obj's underlying member method code with example usage: obj.format(passage, cid) and returns: body