Overview
This article describes the process to disable attachment indexing in Archiver.
Archiver indexes all attachments by default. This will allow searches to be affected by the content of indexed documents. In some cases, it may be required to disable the indexing of documents to reduce the indexing time.
Process
NOTE: This procedure requires to edit files manually. If edited incorrectly it can leave the server in a non-operational state. Please keep backups of any file which is edited throughout this article before saving any changes to them.
- Stop the GFI Archiver Search Service.
- Open the following file in Notepad: ..\GFI\Archiver\Search\Data\search.core.xml
- Find the line:
<attachments indexing="true">
- Change the section marked in bold, according to your requirements:
- true: attachment indexing is enabled
- false: attachment indexing is disabled
- Start the GFI Archiver Search Service.
NOTE: The following builds are not affected by the setting above, so either upgrade to a newer build or use the procedure below:
- GFI MailArchiver 2013 SR1 build 20130723
- GFI MailArchiver 2013 SR1 build 20130704
- GFI MailArchiver 2013 build 20130510
- Stop the GFI MailArchiver Search service.
- Open the following file in Notepad: ..\GFI\Archiver\Search\Data\search.core.xml
- Remove all entries within the sections
<whitelist>
<compressed>
<searchcore>
<indices/>
<indexing_options>
<attachments indexing="true">
<whitelist>
</whitelist>
<compressed>
</compressed>
</attachments>
</indexing_options>
</searchcore> - Save the file.
- Start the GFI MailArchiver Search service.
NOTES:
- When upgrading to a newer version of GFI Archiver, installation files mentioned in this procedure will be overwritten with default versions making the changes void and ineffective.
- It is therefore suggested to keep a record of this procedure and follow it once again directly after upgrading to keep this functionality intact.