def set_params(self, **params):
if self._solr_locked:<EOL><INDENT>raise Exception("<STR_LIT>"<EOL>"<STR_LIT>" % (self._solr_query, self._solr_params)<EOL>)<EOL><DEDENT>self._solr_params.update(params)<EOL>
add/update solr query parameters