Strip out characters that break Solr query.