Skip to main content

How to Setup a Connection to an Elasticsearch Index

To setup 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 one 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 out Name in the Setup New Elasticsearch Index dialogue box.

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

  7. If you run PoolParty on-premise, you need to additionally:

    1. In the poolparty.conf file, set:

      • builtin=false to prevent the built-in Solr instance from being started

      • ES_START=true to start ElasticSearch when PoolParty starts

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

Note

If you have changed the configuration, you need to restart PoolParty for the changes to take effect.

You can see an example setup here:

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