Repair solr query.