def _process_params(self):
<EOL>self._sort_to_str()<EOL>if '<STR_LIT>' not in self._solr_params:<EOL><INDENT>self._solr_params['<STR_LIT>'] = self._cfg['<STR_LIT>']<EOL><DEDENT>for key, val in self._solr_params.items():<EOL><INDENT>if isinstance(val, str) and six.PY2:<EOL><INDENT>self._solr_params[key] = val.encode(encoding='<STR_LIT>')<EOL><DEDENT><DEDENT>return self._solr_params<EOL>
Adds default row size if it's not given in the query.
Converts param values into unicode strings.

Returns:
    Processed self._solr_params dict.