james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject svn commit: r1688137 - /james/mailbox/trunk/elasticsearch/src/main/java/org/apache/james/mailbox/elasticsearch/NodeProvider.java
Date Mon, 29 Jun 2015 08:38:09 GMT
Author: btellier
Date: Mon Jun 29 08:38:09 2015
New Revision: 1688137

URL: http://svn.apache.org/r1688137
Log:
MAILBOX-234 Dates extraction from headers

Modified:
    james/mailbox/trunk/elasticsearch/src/main/java/org/apache/james/mailbox/elasticsearch/NodeProvider.java

Modified: james/mailbox/trunk/elasticsearch/src/main/java/org/apache/james/mailbox/elasticsearch/NodeProvider.java
URL: http://svn.apache.org/viewvc/james/mailbox/trunk/elasticsearch/src/main/java/org/apache/james/mailbox/elasticsearch/NodeProvider.java?rev=1688137&r1=1688136&r2=1688137&view=diff
==============================================================================
--- james/mailbox/trunk/elasticsearch/src/main/java/org/apache/james/mailbox/elasticsearch/NodeProvider.java
(original)
+++ james/mailbox/trunk/elasticsearch/src/main/java/org/apache/james/mailbox/elasticsearch/NodeProvider.java
Mon Jun 29 08:38:09 2015
@@ -26,14 +26,12 @@ import org.elasticsearch.node.Node;
 public class NodeProvider {
 
     private static final String GLOBAL_NETWORK_HOST_SETTING = "network.host";
-    private static final String SCRIPT_DISABLE_DYNAMIC = "script.disable_dynamic";
     
     public static Node createNodeForClusterName(String clusterName, String masterHost) {
         return nodeBuilder()
                 .clusterName(clusterName)
                 .settings(ImmutableSettings.builder()
-                        .put(GLOBAL_NETWORK_HOST_SETTING, masterHost)
-                        .put(SCRIPT_DISABLE_DYNAMIC, true))
+                        .put(GLOBAL_NETWORK_HOST_SETTING, masterHost))
                 .client(true)
                 .node()
                 .start();



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message