Introduce a switch to disable document cache in SOLR