Putting together SOLR iterator