You are here

Elasticsearch configuration

Elasticsearch is used in Alfresco Process Services as a data store for generating analytics and reports. Elasticsearch is an open source data store for JSON documents. Its main features include fast full text search and analytics.

You can configure Elasticsearch in the application using the following methods:

  • Embedded: The Elasticsearch server is embedded within Process Services. The embedded instances can be configured to autodiscover other nodes. This is disabled by default.

  • Client: The application creates a client, which connects to an Elasticsearch cluster. This approach is similar to connecting to a relational database.

  • REST: The application creates a Java Low Level REST client, which allows you to configure Process Services to index event data into a remote Elasticsearch service. The REST client internally uses the Apache HTTP Async Client to send HTTP requests. This allows communication with an Elasticsearch cluster through HTTP. For more details regarding the REST client, see Java Low Level REST Client.
    Note: REST operations made using the native transport protocol are not supported. The Elasticsearch service exposes only the REST API and not the transport protocol. Operations must therefore be run across an HTTP connection.
Note: By default, an Elasticsearch client will always be created. In the Client method, this is all that will be instantiated. In the Embedded method, an Elasticsearch client will be created that connects to a cluster, which also includes the local node. In Elasticsearch terminology, they are referred to as client and data nodes.

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.