code: def run_solr_text_on(solrInstance, category, q, qf, fields, optionals):
      
      if optionals == None:
          optionals = ""
      query = solrInstance.value + "select?q=" + q + "&qf=" + qf + "&fq=document_category:\"" + category.value + "\"&fl=" + fields + "&wt=json&indent=on" + optionals
      # print("QUERY: ", query)
  
      response = requests.get(query)
      return response.json()['response']['docs']
docs: Return the result of a solr query on the given solrInstance (Enum ESOLR), for a certain document_category (ESOLRDoc) and id