Ensure only whitelisted Solr queries get executed