refactored basic terms to deal with multivalued results from solr