Build queries for Solr the convenient way