To install the OpenSearch service, fulltextsearcher and textextractor services in KinD using a script, follow these steps:
- Fill in the full-text search configuration file.
- Apply the specified parameters.
начало внимание
The customer independently performs server and network infrastructure administration for the BRIX Full-Text Search solution.
конец внимание
Fill in the full-text search configuration file
In the config-elma365.txt configuration file, specify the values for the full-text search parameters. If the parameters are missing, add them manually at the end of the file:
- Enable installation of the solution services and the OpenSearch service:
- ELMA365_FULLTEXTSEARCHER=true.
- ELMA365_TEXTEXTRACTOR=true.
- ELMA365_OPENSEARCH_ADDON_INSTALL=true.
Please note that in the production environment, OpenSearch is installed on a separate virtual machine (VM).
- Set the service connection parameters:
- ELMA365_OPENSEARCH_ADDRESSES=http://<Opensearch_server_address>:9200. The connection address to the external OpenSearch service.
- ELMA365_OPENSEARCH_LOGIN=<Opensearch_login>. The Opensearch database access credentials specified during service installation.
- ELMA365_OPENSEARCH_PASSWORD=<Opensearch_password>. The OpenSearch database password specified during service installation.
- ELMA365_ITEMS_TRANSFER_TEXT_EXTRACTOR_URL=http://textextractor:3000. The connection address to the textextractor service.
- ELMA365_ITEMS_TRANSFER_TASK_WORKERS=1. The number of data streams sent simultaneously from BRIX to OpenSearch. The default value is 1. You can increase this value to speed up the transfer of large amounts of data.
- ELMA365_ITEMS_TRANSFER_ITEMS_WORKERS=1. The number of tasks for processing changes to BRIX app items that are running simultaneously.
- ELMA365_ITEMS_TRANSFER_ITEMS_EVENTS_TRANSFER_PER_ITERATION=400. The number of events processed per data transfer cycle.
Apply the specified parameters for full-text search
To apply the changes made in the parameter list:
- Update the BRIX application by running the elma365-installer-docker.sh installation script using the --upgrade key:
- To update online:
sudo ./elma365-installer-docker.sh --upgrade
- To update offline:
sudo ./elma365-installer-docker.sh --offline --upgrade
- After running the script, the current version of the installed BRIX is detected and the user is asked to update it. To do this, enter the character Y. If you enter a different character, the application update will be stopped.
- In the next step of the script installation, determine whether you want to create a backup before updating BRIX. Enter one of the following options:
- B (Backup) to create a backup.
- C (Continue) to continue creating a backup.
- E (Exit) to stop the application update.
The app will be backed up and then updated. Wait for the update to complete. If successful, you will see a notification. The BRIX settings update in KinD is complete.
Found a typo? Select it and press Ctrl+Enter to send us feedback