Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback

Last updated on 28 September 2022

Admin
Search

Overview

If you use long search term, which has over 20 characters, you might get inconsistent search results:

image.png

In the picture two results are shown, although only one matches with the search term.

Solution

This happens, because of IDOL configuration. Maximum term size is 20 by default and in the picture ' 0000000000000000000001234' contains over 20 characters, so everything after 20 characters are ignored.

Configuration can be changed with following steps. Please note, that this will increase the amount of indexed terms and in large vault this may cause performance issue. Rebuilding the index is also needed, it will automatically started after following steps.

1. Stop the M-Files Indexing service.

2. Stop all IDOL components services.

3. Add the following change into all engine's (frontend and all backend engines) content.cfg files to [Server] section. ( By default cfg-files are located folders like this: \IDOL12\bin\prod-content-9000\content, \IDOL12\bin\prod-content-11000\content etc.)

[Server]

Termsize=30

4. Start all IDOL components services.

5. Run DREINITIAL command against DIH and Daily index ports in the frontend server's browser. Correct port numbers can be checked from index configuration in M-Files Admin.

NOTE! DREINITIAL -command will empty the contents of all index databases and there is no Undo for that. This will affect to all vaults in the server, which are using IDOL as search engine.

http://127.0.0.1:[Daily indexing port]/DREINITIAL?Priority=95

http://127.0.0.1:[DIH indexing port]/DREINITIAL?Priority=95

Example:

http://127.0.0.1:9001/DREINITIAL?Priority=95

http://127.0.0.1:19001/DREINITIAL?Priority=95

6. Start the M-Files Indexing service. Check that MFIndexer.exe processes go up. M-Files will notice that there are no indexes and it will start to re-index automatically.

After these steps searching '0000000000000000000001234' will give correct result.

Still need help?

On this page