Make sure that the query parameter is in between parenthesis to group that part of the Solr query.