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.