Overview
If you have IDOL as search engine, synonym search is not enabled by default.
Solution
Synonym search can be enabled with the following steps.
Step 1: Modify mfsynonyms.txt -files in every content engine, like:
C:\IDOL12\bin\PROD1-content-9000\content
C:\IDOL12\bin\PROD1-content-11000\content
C:\IDOL12\bin\PROD1-content-12000\content
etc.
[generalUTF8]
word1,word2
Step 2: Restart every content engine -services.
Step 3: In M-Files Admin tool, modify the IDOL index configuration.
(<vault> -> Configurations -> Advanced Vault settings -> Search -> Indexes -> <idol index> (by default C_B91D75EF-A924-4583-A7BA-2A8F3C5614C3))
- In advanced -tab, add following json to 'additionalOptions' -section:
"searches": {
"useSynonymSearch": true
}
and click 'Save'. Now you should see 'Use Synonym Search: Yes' in Configuration -tab.
Step 4: Rebuild index
Rebuild the search index and synonym search should work. You should now see the same results when using word1 or word2 as search string.
