Added the 'add' functions for solr.