Platform Explorer / Nuxeo Platform LTS 2017 9.10

Extension point elasticSearchEmbeddedServer

Documentation

Extension point to setup an embedded Elasticsearch instance.

It creates a local node using the same JVM as Nuxeo.

This is a test configuration and must NOT be used in production, it is limited to one shard and no replica.

    <elasticSearchLocal clusterName="MyCluster" httpEnabled="true"
        indexStoreType="mmapfs" nodeName="MyNuxeo" pathData="/var/lib/nuxeo/elasticsearch/"/>

Please refer to the Elasticsearch node configuration

clusterName is the cluster.name

nodeName is the node.name, default to nuxeoNode

pathData is the path.data

indexStoreType is the index.store_type

httpEnabled is the node.enable_http

Contribution Descriptors

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-runtime-9.10.jar /Users/arnaud/Nuxeo/distrib/nuxeo-server-tomcat-9.10/nxserver/config/elasticsearch-config.xml
    <extension point="elasticSearchEmbeddedServer" target="org.nuxeo.elasticsearch.ElasticSearchComponent">
        <elasticSearchEmbeddedServer clusterName="nuxeoCluster" httpEnabled="true" networkHost="127.0.0.1" nodeName="nuxeoNode" pathData="/Users/arnaud/Nuxeo/distrib/nuxeo-server-tomcat-9.10/nxserver/data/elasticsearch" pathLogs="/Users/arnaud/Nuxeo/distrib/nuxeo-server-tomcat-9.10/log/elasticsearch"/>
      </extension>