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.
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 in Name in the Setup New Elasticsearch Index dialogue box.
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.Edit the
poolparty.conf
correspondinglyTo stop the built-in Solr you have to deactivate it by setting the
builtin
switch tofalse
If you want to locally run Elasticsearch make the following changes in the
poolparty.conf
file:builtin=false
to disable the built-in Solr instanceES_START=true
to start ElasticSearch when PoolParty starts
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: