class_docstr: Index csvs in Elasticsearch
code: def __init__(self, shards: int = 1, **kwargs):
      super().__init__(**kwargs)
      self.mapping = {
          "settings": {"index": {"number_of_shards": shards}}
      }
  
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 1 to create a new ESIndexer object from inherited base classes: BaseIndexer with example: obj = ESIndexer(shards)