code: def __init__(self, params):
      self.collection_name = params["collection_name"]
      self.solr_address = params["solr_address"]
      self.solr = pysolr.Solr(
          "{}/solr/{}".format(self.solr_address, self.collection_name),
          always_commit=True,
          timeout=100,
      )
      self.rows = params["rows"]
      self.query_data = params["query_data"]
      self.c = 0
      self.query_arguments = {
          "fl": "* score",
          "rows": self.rows,
          "defType": "edismax",
      }
  
      if params["boosting"] is not None:
          self.query_arguments["bf"] = params["boosting"]
  
file_path: BLINK/blink/candidate_retrieval/candidate_generators.py
imports: import pysolr
  import sys
  import utils
label_desc: Use image node_id 1 to create a new Simple_Candidate_Generator object  with example: obj = Simple_Candidate_Generator(params)