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.
Go to the Semantic Middleware Configurator (SMC).
Find the Systems node in the Hierarchy Tree.
Expand the Indices node.
Right-click on Elasticsearch and select Create.
Fill out Name in the Setup New Elasticsearch Index dialogue box.
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.
If you run PoolParty on-premise, you need to additionally:
In the
poolparty.conf
file, set:builtin=false
to prevent the built-in Solr instance from being startedES_START=true
to start ElasticSearch when PoolParty starts
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: