buildSolrQuery doesn't quite have the correct behaviour. it doesn't handle multiple values within the dict correctly.