Creates RBM input from Solr core term vector and stores in file