You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by le...@apache.org on 2016/04/13 20:28:25 UTC

[2/5] nutch git commit: move to elastic2

move to elastic2


Project: http://git-wip-us.apache.org/repos/asf/nutch/repo
Commit: http://git-wip-us.apache.org/repos/asf/nutch/commit/d0d0e3a6
Tree: http://git-wip-us.apache.org/repos/asf/nutch/tree/d0d0e3a6
Diff: http://git-wip-us.apache.org/repos/asf/nutch/diff/d0d0e3a6

Branch: refs/heads/2.x
Commit: d0d0e3a6bd93c32c8abb6365d10020e47e043036
Parents: 7e43de6
Author: Pablo Torres <pa...@insight-centre.org>
Authored: Thu Mar 3 19:11:26 2016 +0000
Committer: Pablo Torres <pa...@insight-centre.org>
Committed: Thu Mar 3 19:11:26 2016 +0000

----------------------------------------------------------------------
 src/plugin/indexer-elastic2/howto_upgrade_es.txt                 | 4 ++--
 .../apache/nutch/indexwriter/elastic2/ElasticIndexWriter.java    | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nutch/blob/d0d0e3a6/src/plugin/indexer-elastic2/howto_upgrade_es.txt
----------------------------------------------------------------------
diff --git a/src/plugin/indexer-elastic2/howto_upgrade_es.txt b/src/plugin/indexer-elastic2/howto_upgrade_es.txt
index fd2d108..7290a1e 100644
--- a/src/plugin/indexer-elastic2/howto_upgrade_es.txt
+++ b/src/plugin/indexer-elastic2/howto_upgrade_es.txt
@@ -1,6 +1,6 @@
-1. Upgrade elasticsearch dependency in src/plugin/indexer-elastic/ivy.xml
+1. Upgrade elasticsearch dependency in src/plugin/indexer-elastic2/ivy.xml
 
-2. Upgrade the Elasticsearch specific dependencies in src/plugin/indexer-elastic/plugin.xml
+2. Upgrade the Elasticsearch specific dependencies in src/plugin/indexer-elastic2/plugin.xml
    To get the list of dependencies and their versions execute:
    $ ant -f ./build-ivy.xml
    $ ls lib | sed 's/^/      <library name="/g' | sed 's/$/"\/>/g'

http://git-wip-us.apache.org/repos/asf/nutch/blob/d0d0e3a6/src/plugin/indexer-elastic2/src/java/org/apache/nutch/indexwriter/elastic2/ElasticIndexWriter.java
----------------------------------------------------------------------
diff --git a/src/plugin/indexer-elastic2/src/java/org/apache/nutch/indexwriter/elastic2/ElasticIndexWriter.java b/src/plugin/indexer-elastic2/src/java/org/apache/nutch/indexwriter/elastic2/ElasticIndexWriter.java
index a2dc105..d12b4ee 100644
--- a/src/plugin/indexer-elastic2/src/java/org/apache/nutch/indexwriter/elastic2/ElasticIndexWriter.java
+++ b/src/plugin/indexer-elastic2/src/java/org/apache/nutch/indexwriter/elastic2/ElasticIndexWriter.java
@@ -97,7 +97,7 @@ public class ElasticIndexWriter implements IndexWriter {
 
     if (StringUtils.isNotBlank(clusterName))
       settingsBuilder.put("cluster.name", clusterName);
-
+    System.out.println(clusterName);
     // Set the cluster name and build the settings
     Settings settings = settingsBuilder.build();