Proper escape of Solr query