Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Troubleshooting/FAQ/General questions

What do the individual properties in the indexing logs mean

Last updated on 20 February 2021

Admin
Search

Question

We have been asked the following questions few times:

"We rebuilt the full text search index, and we would like to know what the individual details in the log mean, for example “Files indexed”, “Docs indexed” etc. What does the "Time" indicate? Is it visible that how long did it take to rebuild the whole index?"

Answer

The 'Files indexed:' and 'Docs indexed:' shows the amount within the batch size. The 'Time:' refers also to the duration of the indexing of the latest batch.
'Words in index:' , 'Docs in index:' etc. refer to the amounts that can be found from the whole index - whether it is the file data index or metadata index.

About the batch size: Default batch size for file data is 250 000. If you set the value to e.g. 50 000 with the registry setting below, then indexlog.finished1.txt is updated every time when 50000 objects have been indexed. Default batch size for metadata is 1 000 000.
HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<MF version>\Server\MFServer\VaultOptions\<vault GUID>\Indices\<filedata index name>
HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<MF version>\Server\MFServer\VaultOptions\<vault GUID>\Indices\<metadata index name>
Value name: IndexJobBatchSize (DWORD)
This is vault specific and requires restarting the indexing service or having the vault offline for a short time.

The duration of the indexing can be seen from the 'Time:' row if the batch limit is not met. If the indexing requires multiple batches, one possibility is to enable in-depth indexer logging with registry settings in
HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<MF version>\Server\MFIndexer\Logging  [1].

To know whether the indexing has finished for e.g. file data or not, you can check if there is .tmp -files in the index-folder: \<vault-name>\Indexes\FileData? If, yes then the indexing is still ongoing for file data. Those .tmp-files are removed and indexlog.finished1.txt -file should be in that folder, when the indexing is completed with information "Indexing completed". To get more detailed information about the status, check the referenced article [2].

Note: When you rebuild the index, the index contains only the newest version of all indexable objects. Once time goes on, new versions are created, and they are indexed. The old versions, and destroyed objects as well, are not removed from the index.

Related articles:

[1] How to collect indexer logs: https://m-files.force.com/s/article/How-to-collect-indexer-logs

[2] Checking the progress of dtSearch index rebuild: https://m-files.force.com/s/article/Checking-the-progress-of-dtSearch-index-rebuild

Still need help?

On this page