Solr queries correctly