class_docstr: An object that sends a csv to a given search api.
class_docstr_tok: ["An","object","that","sends","a","csv","to","a","given","search","api","."]
docstr: :param name: name of the index
  :param id_col: column number of the id
  :param field_col: column number of the field data
  :param field_name: name of the field
  :param host: host of the search api server
  :param port: port the the server
  :param shards: number of shards for the index
docstr_tok: [":","param","name",":","name","of","the","index",":","param","id_col",":","column","number","of","the","id",":","param","field_col",":","column","number","of","the","field","data",":","param","field_name",":","name","of","the","field",":","param","host",":","host","of","the","search","api","server",":","param","port",":","port","the","the","server",":","param","shards",":","number","of","shards","for","the","index"]
code: def __init__(
      self,
      file: type(defaults.file) = defaults.file,
      index_name: type(defaults.index_name) = defaults.index_name,
      id_col: type(defaults.id_col) = defaults.id_col,
      host: type(defaults.host) = defaults.host,
      port: type(defaults.port) = defaults.port,
      delim: type(defaults.delim) = defaults.delim,
      shards: type(defaults.shards) = defaults.shards,
      verbose: type(defaults.verbose) = defaults.verbose,
      **_,
  ):
      """
      :param name: name of the index
      :param id_col: column number of the id
      :param field_col: column number of the field data
      :param field_name: name of the field
      :param host: host of the search api server
      :param port: port the the server
      :param shards: number of shards for the index
      """
      self.file = file
      self.index_name = index_name
      self.id_col = id_col
      self.host = host
      self.port = port
      self.delim = delim
      self.shards = shards
      self.logger = set_logger(self.__class__.__name__, verbose=verbose)
  
file_path: nboost/nboost/indexers/base.py
imports: from abc import abstractmethod
  from typing import Generator
  from nboost.helpers import count_lines
  from nboost.logger import set_logger
  from nboost.indexers import defaults
  from nboost import PKG_PATH
  from pathlib import Path
  from tqdm import tqdm
  import csv
label_desc: Use image node_id 1 to create a new BaseIndexer object  with example: obj = BaseIndexer(file, index_name, id_col, host, port, delim, shards, verbose)