logo

Setting up Elastic Search

ElasticSearch indexation provider can be used only in the Standard and Enterprise system editions

1. To be able to use ElasticSearch, you have to install ELMA FullText Server. You can find the installation media of the ELMA FullText Server in your member area http://www.elma-bpm.com/member_area/, Download section, or in the attachment to this article.

2. Next, install Elastic Search to a separate server with SSD drives and 32 GB RAM minimum. To learn more about installing ELMA FullText Server see the respective Help page. To learn more about hardware requirements, visit the official Elastic website.

3. After the installation, the ELMA-FullText folder will be created in the selected directory.

4. For correct functioning of the full-text search, you must enable and set up indexation in the system. To enable indexation, go to Administration - System - Indexation and click Enable Indexation in the toolbar. After that, indexation will start. If there are many documents in the system, indexation may take a long time. Once this process is complete, the "System object indexation enabled" status will appear.  You can also disable indexation of document and contractors.

5. Next, you need to edit the following files:

  • In the configuration file elasticsearch.yml, located in ..\ELMA-FullText\server\config\, uncomment the line bootstrap.mlockall: true.
  • In the file elma-fulltext.bat, located in ..\ELMA-FullText\server\bin\, set a custom maximum memory, depending on the available hardware. In the figure below, it is set to 1GB.

  • In the file service.bat, located in ..\ELMA-FullText\server\bin\, also set a custom maximum memory, depending on the hardware.

6. After that, restart the Elastic Search server or reboot the server.

To learn more about tracking the server state, visit the official Elastic website.

You can also ask any questions related to Elastic Search on the Elastic forum.