Overview
Prior to IDOL version 12.4., the compaction of the index was done always as part of the M-Files weekly maintenance run on Sunday. Compaction was triggered from M-Files server. IDOL version 12.4 and later had weekly compaction done via a scheduled Windows Task. This created a situation, where both compactions were done one after the other. Obviously, the second compaction was unnecessary. The compaction triggered from M-Files was removed in M-Files version 22.0.x, but if you have an older version, you can disable compaction manually from the configuration. This document describes how to deactivate the compaction triggered from M-Files side.Prerequisites
On IDOL side, check from Windows Task Scheduler that you have tasks for the compaction.How to disable compaction from M-Files side
- Open M-Files Admin.
- Select the vault.
- Navigate to Advanced Vault Settings > Configuration > Search > Indexes > [corresponding index].
- Select Advanced tab.
- Add the following line to idolOptions section in the JSON:
"enableDreCompactDuringOptimizeVault": false
Example:
"distributedIndexingPort": 19301,
"enableDreCompactDuringOptimizeVault": false,
"multiRepositoryAssumed": true,
"multiRepositoryConfirmed": "Yes"
- Save
