Undo dependency on solr.