Apache solr access protected parameters
It's always a good idea to read through the code for a class you're trying to work with.

For example, a quick look through the code yields SolrBaseQuery::getParams(), whose responsibility is to ensure accuracy for, and return, the protected $params array.