Overview
If you have Smart Search as search engine and you have external repository in use (for example Network Folder Connector). You may end up to situation that external repository is not indexed and documents from external repository are not seen in search results in M-Files Desktop.
You might also see following kind of error message in Windows Event Viewer logs:
M-Files Online
Test Vault {1CCB80C3E-281F-47A9-858E-C663AB355D34}
Preparing search indexes failed.
Not implemented. (4)
Vault.cpp, 15098, Preparing search indexes failed. (0x80040120)
VaultIndexes.cpp, 924, Preparing search indexes failed. (0x80040120)
MCallInLoop.h, 564, Preparing search indexes failed. (0x80040120)
MCallInLoop.h, 521, Preparing search indexes failed. (0x80040120)
VaultIndexes.cpp, 1169, Preparing search indexes failed. (0x80040120)
VaultIndexes.cpp, 1133, Not implemented. (4) (0x80004001)
VaultIndexes.cpp, 1341, Not implemented. (4) (0x80004001)
VaultIndexes.cpp, 964, Not implemented. (4) (0x80004001)
ExtensionManager.cpp, 584, Not implemented. (4) (0x80004001)
IndexOptions.cpp, 154, Not implemented. (4) (0x80004001)
EndpointConfiguration.cpp, 101, Not implemented. (4) (0x80004001)
(M-Files 22.11.12033.9 2022-12-12T09:04:53.439Z)
Solution
Please check the configuration of external repository in M-Files Admin tool.
In 'General Settings' --> 'Search Indexing', there is 'Search Engine', this should not be changed and default value (DtSearch) should be used. Changing this is not supported, because the index configuration has been moved to 'Advanced Vault Settings' in M-Files Admin.
This is related to known issue, ID 165871, you can monitor the release notes for it.
Please, check also that you have enabled all of these: 'Metadata', 'Filedata' and 'Combined: Metadata and Filedata'. By default, all of those are enabled and should not be changed, otherwise indexing of external repository is not working.
