Managing caching
Steps for managing cache depending on version.
The DSENRTCachingDirectoryFactory is deprecated. In DataStax Enterprise 4.5.4, if you
use DSENRTCachingDirectoryFactory or the NRTCachingDirectoryFactory, modify the
solrconfig.xml file to use the StandardDirectoryFactory.
For example, change the directoryFactory element as
follows:
<directoryFactory class="solr.StandardDirectoryFactory" name="DirectoryFactory"/>
DataStax Enterprise 4.5.3 and earlier defaults to using NRTCachingDirectoryFactory,
which is the OS Solr-recommended setting for real-time performance. These default
properties specify where files are cached and files are managed:
- maxMergeSizeMB = 4.0 MB
- maxCachedMB = 48.0 MB
Typically, when using DataStax Enterprise, you change the factory class to DSENRTCachingDirectoryFactory and configure the file properties in the solrconfig.xml.
Procedure
Configuring where files are cached: