update for solr cloud compatibility