Fixed building solr documents