...
<requestHandler name="/csdataimport"
class="org.apache.solr.handler.dataimport.ChartSearchDataImportHandler">
<lst name="defaults">
<str name="config">data-config.xml</str>
<int name="daemonsCount">4</int>
<int name="patientInfoTimeout">30</int>
<int name="indexSizeManagerTimeout">30</int>
<int name="indexClearStrategy">1</int>
<int name="indexMaxPatients">30</int>
</lst>
</requestHandler>
- daemonsCount:: count of import daemons
- patientInfoTimeout: time between writing patients last index time to file, in seconfs
- indexSizeManagerTimeout: time between cleaning index with current IndexClearStrategy, in seconds
- indexClearStrategy: integer presentation of selected IndexClearStrategy
- 0 - do not clear index
- 1 - clearing based on max patients left in the index
- 2 - clearing based on patient non usage time
indexMaxPatients: only if indexClearStrategy equals to 1
- patientMaxNonUsageTime: only if indexClearStrategy equals to 2, in seconds