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 4 November 2022

Admin
Search

Overview

If you notice that searches are not working and you get error message like this

SearchSQLHelper.cpp, 11534, Executing the search failed. (0x80040418)

(M-Files 22.9.11816.9 2022-10-18T14:41:44.384Z)

This might happen, if IDOL daily content engine is constantly restarting.

Solution

Check the application.log -file from daily content engine. By default, it can be found folder like this:

\IDOL12\logs\prod-content-9000

If you see following kind of lines in the application.log, we need to regenerate reference index.

20/10/2022 08:54:38 [1] 00-Always: Loading reference index.

20/10/2022 08:54:38 [1] 99-Always: Unable to load reference index: Not Implemented.

To perform the regeneration of reference index in daily content engine (9000):

  1. In M-Files server, shut down M-Files Indexing services, so it does not push new material into IDOL.
  2. In IDOL server, stop the MFIDOL-prod-Content-9000 services. Make sure its content.exe goes down. (Add 'Command line' column to the task manager's Details tab, so you can differentiate from several content.exe processes.)
  3. Modify content.cfg related to this engine ( \IDOL12\bin\prod-content-9000\content). Add following lines at the end of [Server] configuration section:
    RegenerateRefIndex=True

    Example:

    [Server]
    /// Port=IMPORTANT: Must match the IDOL Server ACI Port setting in M-Files (default is 9000)
    Port=9000
    /// IndexPort=IMPORTANT: Must match the IDOL Server Indexing Port setting in M-Files (default is 9001)
    IndexPort=9001
    Threads=4
    MaxInputString=-1
    XSLTemplates=FALSE
    ....
    AllowSecurityOverride=true
    FlushLockFile=\IDOLFlushLock\flushlock.txt
    MaxDocumentCountLower=900000
    MaxDocumentCountUpper=1000000
    RegenerateRefIndex=True


    Start MFIDOL-prod-Content-9000 -services. Monitor its application.log. There should be something like this:

    20/10/2022 12:36:55 [1] 00-Always: Generating new reference index
    20/10/2022 12:36:55 [1] 00-Always: Creating new reference index: processed 22% of documents (elapsed: 0.00s)
    20/10/2022 12:36:55 [1] 00-Always: Creating new reference index: processed 33% of documents (elapsed: 0.00s)


     
  4. If after the start, the engine stays up and running, stop it, remove RegenerateRefIndex=True from the content.cfg and start again.
  5. Validate MFIDOL-prod-Content-9000. Run following URL in the IDOL server's web browser. You have to run the validation for each type: DiskIndex, NodeTable, Geospatial, Numeric, RefIndex, Secindex, Unstemmed, so seven times overall. Syntax:



    http://127.0.0.1:[Daily index port]/DREVALIDATE?&type=[index type to validate]

    Examples:
    http://127.0.0.1:9001/DREVALIDATE?&type=DiskIndex
    http://127.0.0.1:9001/DREVALIDATE?&type=NodeTable
    ...

     
  6. Check the result of the validation by running MFIDOLConsole command getstatus against daily engine (ACI port, 9000). 


    MFIDOLConsole cfg=config.txt a=getstatus IDOLServerACIPort=9000 > gs9000.xml


    See following article for more information:
    https://m-files.force.com/s/article/IDOL-MFAutonomyConsole

    In the end of the resulting .xml should be section like this:

    <validation>
    <result duration="0" timestamp="1640077654" type="diskindex">Success</result>
    <result duration="0" timestamp="1640077671" type="nodetable">Success</result>
    <result duration="0" timestamp="1640077692" type="refindex">Success</result>
    <result duration="0" timestamp="1640077712" type="unstemmed">Success</result>
    <result duration="0" timestamp="1640077703" type="secindex">Success, nothing to do.</result>
    <result duration="0" timestamp="1640077686" type="numeric">Success</result>
    <result duration="0" timestamp="1640077678" type="geospatial">Success</result>
    </validation>

     
  7. If the validation was successful, run the same getstatus against DAH ( by default: port 19000).


    MFIDOLConsole cfg=config.txt a=getstatus IDOLServerACIPort=19000 > gs19000.xml

    In the end of resulting .xml there should be:

    -<engines>
    -<engine>
    <number>0</number>
    <status>ONLINE</status>


    Which means that DAH (the component orchestrating searches) can see daily engine (engine: 0) 

     
  8. In M-Files server, start M-Files Indexing service.

Still need help?

On this page