code: def __init__(self, parameters):
      solr_address = "http://localhost:8983/solr/{}".format(
          parameters["collection_name"]
      )
  
      query_arguments = {
          "fl": "* score",
          "rows": 1,
          "defType": "edismax",
      }
  
      query_arguments["bf"] = "log(sum(num_incoming_links,1))"
  
      self.solr = pysolr.Solr(
          solr_address, always_commit=True, timeout=100
      )
      self.query_arguments = query_arguments
  
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 Pregenerated_Candidates_Data_Fetcher object  with example: obj = Pregenerated_Candidates_Data_Fetcher(parameters)