Skip to main content

How to Set up a Connection to an Elasticsearch Index

Since Solr supported is deprecated starting from PoolParty 2024 Release 2, this section guides you through setting up a connection to an external Elasticsearch index service in the Semantic Middleware Configurator:

Caution

We highly recommend setting up minimal security for Elasticsearch before connecting to PoolParty. For more information, refer to the Elasticsearch documentation.

Note

Make sure that you do not have any other connection to a search index configured here, as only a single index configuration is allowed. For more information on how to remove a configuration, refer to Delete an Existing Search Index Configuration.

  1. Go to the Semantic Middleware Configurator (SMC).

  2. Find the Systems node in the Hierarchy Tree.

  3. Expand the Indices node.

  4. Right-click on Elasticsearch and select Create.

    51737842.png
  5. Fill in Name in the Setup New Elasticsearch Index dialogue box.

  6. Set the URL and the port. You should use an HTTP port. The default Elasticsearch port is 9200. We used the http://localhost:9200 URL in our example. If you access the index with user credentials, add them to the Keystore Path and Keystore Password. In our example, we entered the user credentials for the 'superadmin' user.

  7. Edit the  poolparty.conf correspondingly

    1. To stop the built-in Solr you have to deactivate it by setting the builtin switch to false

      If you want to locally run Elasticsearch make the following changes in the poolparty.conf file:

      • builtin=false to disable the built-in Solr instance

      • ES_START=true to start ElasticSearch when PoolParty starts

    2. Restart the PoolParty server for changes to take effect.

Note

Remember that you need to restart PoolParty for any changes to take effect.

You can see an example setup here:

Elasticsearch_image2022-9-19_19-23-11.png