Overview
Working with large files and having them searchable by content may be not working with the default settings.
Use case
Add a large file, for example file(s) of over 400 MB, into M-Files. The files are created in M-Files with no issues. After several days after adding the large document, can be searched (from quick search bar) with no focus (or focus scope of Metadata). But when try to search based on "File contents", no results returned. While, smaller PDFs (1- 3 MB files), able to do metadata or file content search returning the files as expected.
Solution
There is a limitation to maximum file size for indexer, that can be adjusted. By default, the limit set so that the maximum file size which would be indexed by M-Files indexer is XX MB.
To change the default behavior, update the following registry setting on M-Files server:
|
Registry Key: |
HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<mf version>\Server\MFServer\FullTextSearch |
|
Value Name: |
FileSizeLimitForIndexingInMegabytes |
|
Value Type: |
REG_DWORD (DWORD 32-bit Value) |
|
Value Data: |
500 |
To apply the changes, restart the M-Files Server and Indexer services, or the whole server computer.
It will still take a few minutes before being able to search for the file content since it will still take time to index it, depending on the size of the file.
Check M-Files performance after including this registry key as M-Files performance can be affected with this key.
Additional registry keys that may need to add/update:
|
Registry Key: |
HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Server\MFServer\VaultOptions\{vault-guid}\Indices\F_61061386-E847-4cd5-9E0B-C08D391755AD |
|
Value Name: |
Enabled |
|
Value Type: |
REG_DWORD (DWORD 32-bit Value) |
|
Value Data: |
1 |
|
Registry Key: |
[HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Server\MFServer\VaultOptions\{vault-guid}\Indices\M_DF8E37B7-D3CD-47bf-9464-FDF2DFF36DA3] |
|
Value Name: |
Enabled |
|
Value Type: |
REG_DWORD (DWORD 32-bit Value) |
|
Value Data: |
1 |
To apply the changes, restart the M-Files Server and Indexer services, or the whole server computer.
