added possibility to disabel deletion of documents. rewrite of solrdate method