renamed query function for solr, added timeout to solr connection so
that it actually continues if the server is not reachable