The BRIX Full-Text Search solution allows you to configure integration for data transfer between BRIX and the OpenSearch service using the services included in the solution.
To ensure the solution is operational, install the OpenSearch service, then install the fulltextsearcher and textextractor solution services.
начало внимание
The customer independently performs server and network infrastructure administration for the BRIX Full-Text Search solution.
конец внимание
Install the OpenSearch service
Use a separate virtual machine to install the OpenSearch service. Follow these steps:
- Install Docker.
- Install Docker Compose and the OpenSearch services using your preferred method:
- Follow the instructions on the official Docker Compose and Opensearch websites.
- Create and run the docker-compose-opensearch.yml file with the script below.
Script for the docker-compose-opensearch.yml file
#version: '3.1' |
- The OpenSearch control panel will be accessible at http://service_ip_address:5601. To log in, use the admin username and the password you specified in the docker-compose.yml file:
environment:
- OPENSEARCH_INITIAL_ADMIN_PASSWORD=password
- Run the OpenSearch service using the following command:
compose up -d
Please note that ports 9200 and 5601 must be open for the OpenSearch service and control panel to function.
Full-text search limits and performance are limited by the capabilities of the client-side server hardware.
Install the solution’s services for integration with OpenSearch
To transfer data between BRIX and the OpenSearch service, install the textextractor and fulltextsearcher services:
- Download the Helm charts for installing the services. They are available at the following links:
- Install the textextractor service via the appropriate Helm chart by running the command:
helm install textextractor ./.helm -n default
- Install the fulltextsearcher service via the appropriate Helm chart by running the command:
helm upgrade --install fulltextsearcher ./.helm -n default
- Configure the fulltextsearcher service for operation. To do this:
- In the fulltextsearcher service settings, specify the IP address of the server where the textextractor service is installed. You can find the IP address by running the command:
kubectl get po -o wide | grep textextractor
- Add the above IP address and 8080 port to the fulltextsearcher service configuration file:
.helm/templates/configmap.yaml
ELMA365_ITEMS_TRANSFER_TEXT_EXTRACTOR_URL: "http://10.244.0.227:8080"
- In the .helm/values.yaml file, in the opensearch: block, specify the following values:
opensearch:
addresses: "http://XXX.XXX.XX.XX:XXXX" # add the Opensearch address from the first step
login: "admin"
password: "password"
textExtractorURL: "http://10.244.0.227:8080"
- Complete the installation of the fulltextsearcher service by running the command:
helm upgrade --install fulltextsearcher ./.helm -n default
Found a typo? Select it and press Ctrl+Enter to send us feedback