> I would like to passĀ a bunch of custom parameters to > turn on/off or set > thresholds for various custom implementations we have in our > solr. What > would be the best way to pass these custom parameters to > solr server from > the client ? The client is a Java based application and > hence we are > planning to use solrj.
You can use custom parameters in the URL. solr/select?q=test&customParam=customValue&rows=10 etc. SolrJ equivalent : SolrQuery query = new SolrQuery(); query.setRows(10); query.set("customParam","customValue");