XML Configuration Reference : Index : PerSliceAnalysisPolicy
 
PerSliceAnalysisPolicy
com.exalead.mercury.mami.indexing.v10.PerSliceAnalysisPolicy
Instantiates an analysis thread for each slice. Dispatches documents according to their slice. Consumes less RAM than the 'FixedThreadsAnalysisPolicy'.
Parent elements:
com.exalead.mercury.mami.indexing.v10.IndexingConfig (as IndexingConfig)
Attributes:
Name
Type
Default value
Description
maxRAMConsumptionThreshold
enum(disabled, enabled, auto)
enabled
When reaching the RAM value specified, analysis is stopped and analyzed documents are imported to the index. Then analysis starts again.
Enabled: Commits when the RAM size reaches the Threshold value specified (by default, 2048 MB).
Auto: Commits when the RAM size reaches 2048 MB.'
maxRAMConsumptionMB
int
2048
The maximum of non-java RAM the analyzer can allocate. Reaching this limit triggers a commit.
nbThreads
int
1
Uses N threads per slice.