SEA-658 - Catch runtime exception in solr function queries