You are looking at documentation for an older release. Not what you want? See the current release documentation.
With the external mode, Elasticsearch nodes are not embedded in eXo Platform server, eXo Platform connects to the external Elasticsearch node or cluster.
The external mode is the recommended mode for production environments and it is advisable to use it that way:
A standalone Elasticsearch node for standard eXo Platform load.
A cluster of Elasticsearch for high availability and/or heavy load.
To use the external mode, you need to uninstall the embedded mode using this command:
./addon uninstall exo-es-embedded
or simply disable it in exo.properties by setting to false the property exo.es.embedded.enabled:
exo.es.embedded.enabled=false
The following plugins must be installed on Elasticsearch instance:
We highly recommend to use Elasticsearch 5.6 version.
As for embedded mode, some parameters should be configured for the external mode through exo.properties file:
exo.es.search.server.url
: The URL of the node used for searching.
exo.es.search.server.username
: The username used for BASIC authentication on the Elasticseach node used for searching.
exo.es.search.server.password
: The password used for BASIC authentication on the Elasticseach node used for searching.
exo.es.index.server.url
: The URL of the node used for indexing.
exo.es.index.server.username
: The username used for the BASIC authentication on the Elasticsearch node used for indexing.
exo.es.index.server.password
: The password used for the BASIC authentication on the Elasticsearch node used for indexing.
You can find more details about the above parameters, default values and description in Properties reference table.