ss="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/solr/core/CachingDirectoryFactory.html#remove(org.apache.lucene.store.Directory,%20boolean)">remove</a></strong>(<a href="http://lucene.apache.org/core/5_1_0/core/org/apache/lucene/store/Directory.html?is-external=true" title="class or interface in org.apache.lucene.store">Directory</a>&nbsp;dir,
      boolean&nbsp;deleteAfterCoreClose)</code>
<div class="block">Removes the Directory's persistent storage.<