XML Configuration Reference : Index : CompactPolicies
 
CompactPolicies
com.exalead.mercury.mami.indexing.v10.CompactPolicies
No documentation for this element.
Parent elements:
com.exalead.mercury.mami.indexing.v10.StandardIndexManagementPolicy (as StandardIndexManagementPolicy)
Attributes:
Name
Type
Default value
Description
synchronous
boolean
By default, compaction jobs are asynchronous. If set, compacts will be done synchronously just after imports.
maxParallelFullCompacts
int
Limit the number of full compacts in parallel, can be useful when you don't have too much disk space available. 0 means no limit.
type
enum(mmap, pagecache)
mmap
Specifies which I/O mode is used while compacting. ( Value can be null or one of
mmap
pagecache
)
maxPageCacheSizeMB
int
32
If the policy uses the PageCache mode, it specifies the max cache size.
pageCachePageSizeKB
int
8
If the policy uses the PageCache mode, it specifies the page size.
priorityCompactThreshold
int
48
When compacting a slot gen0-gen1, consider as a priority compact if gen1-gen0 < priorityCompactThreshold. Default is 48. (0: disabled)
lowPriorityCompactNbThreads
int
2
Number of threads to use for a compact having low priority (0: all available threads).
highPriorityCompactNbThreads
int
Number of threads to use for a compact having high priority (0: all available threads).
Nested elements:
Name
Type
Description
AutoCompactPolicy
com.exalead.mercury.mami.indexing.v10.AutoCompactPolicy*
Specifies the auto-compact policies.