Platform Explorer / Nuxeo Platform LTS 2015 7.10

Extension point elasticSearchRemote

Extension point used to configure access to a remote Elasticsearch cluster.

This setup a TransportClient, clusterName and addressList are mandatory.

    <elasticSearchRemote
        addressList="127.0.0.1:9300,myelasticsearch:9300"
        clientTransportIgnoreClusterName="false"
        clientTransportNodesSamplerInterval="5s"
        clientTransportPingTimeout="5s" clientTransportSniff="false" clusterName="elasticsearch"/>

Please refer to the Elasticsearch documentation for the following options:

clusterName the cluster name to join

addressList a list of comma separated transport address, note that the default elasticsearch TCP port is 9300 and not 9200 (which is the HTTP port).

clientTransportSniff see client.transport.sniff option

clientTransportIgnoreClusterName see client.transport.ignore_cluster_name

clientTransportPingTimeout see client.transport.ping_timeout

clientTransportNodesSamplerInterval see client.transport.nodes_sampler_interval

@see http://www.elasticsearch.org/guide/en/elasticsearch/client/java-api/current/client.html

Contribution Descriptor

Contributions

No known contributions.