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/Examples and how to

IDOL: How to enable synonym search

Last updated on 3 August 2023

Admin
Search

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.

image.png

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

       }

image.png

and click 'Save'.  Now you should see 'Use Synonym Search: Yes' in Configuration -tab.

image.png

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.

Still need help?