initial version of lib/tasks/solr2.rake
initial changes for doc_factory cache