def query_params
      params = { :id => '*:*',
                 :sort => "random_#{rand(9999)} desc",
                 :rows => 1 }
      return params unless provider_id.present?

      provider = RDF::URI(Krikri::Provider.base_uri) / provider_id
      params[:fq] = "provider_id:\"#{provider}\""
      params
    end
def query_params
      params = { :id => '*:*',
                 :sort => "random_#{rand(9999)} desc",
                 :rows => 1 }
      return params unless provider_id.present?

      provider = RDF::URI(Krikri::Provider.base_uri) / provider_id
      params[:fq] = "provider_id:\"#{provider}\""
      params
    end
Parameters for the Solr request.
 Limits search by @provider_id if it has been specified.