class_docstr: Index csvs in Solr
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 = {"passage_t": passage}
  
      if cid is not None:
          body["id"] = cid
  
      return body
  
file_path: nboost/nboost/indexers/solr.py
imports: from typing import Dict
  from nboost.indexers.base import BaseIndexer
  from pysolr import Solr, SolrCoreAdmin
label_desc: Use image node_id 2 for calling the SolrIndexer obj's underlying member method code with example usage: obj.format(passage, cid) and returns: body